- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from hashlib import md5 | |
from urllib.parse import urlsplit, urlencode, unquote_plus | |
headers = {"User-Agent": "Wolfram Android App"} | |
APPID = "3H4296-5YPAGQUJK7" # Mobile app AppId | |
SERVER = "api.wolframalpha.com" | |
SIG_SALT = "vFdeaRwBTVqdc5CL" # Mobile app salt | |
s = requests.Session() |
Due to unknown reasons, apps you had previously purchased can no longer be downloaded from the App Store or iTunes. However, it turns out these applications can still be accessed using iMazing's app downloading feature. This is because iMazing downloads apps using a different endpoint from what iTunes uses.
This app must be purchased on your Apple ID. You cannot just download any app ever made. Apple only lets you download apps you had bought or downloaded in the past.
- iMazing (Windows or Mac)
- Plist editor (ProperTree is free and cross platform, requires Python)
scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (window.location.origin !== "https://www.instagram.com") { | |
window.alert( | |
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.", | |
); | |
window.location.href = "https://www.instagram.com"; | |
console.clear(); | |
} | |
const fetchOptions = { | |
credentials: "include", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dolphin Gamecube/Wii emulator / Xbox One Controller profile | |
# Gamecube Controller | |
# Location -> C:\User\<your user>\Documents\Dolphin Emulator\Config\Profiles\GCPad\Xbox Controller (GCPad).ini | |
[Profile] | |
Device = XInput/0/Gamepad | |
Buttons/A = `Button A` | |
Buttons/B = `Button B` | |
Buttons/X = `Button X` | |
Buttons/Y = `Button Y` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copied from typescript playground - https://www.typescriptlang.org/play/ | |
class Vector { | |
constructor(public x: number, public y: number, public z: number) { } | |
static times(k: number, v: Vector) { | |
return new Vector(k * v.x, k * v.y, k * v.z); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from contextlib import asynccontextmanager | |
from datetime import datetime | |
from fastapi import FastAPI, Request | |
import fastapi | |
from fastapi.datastructures import State | |
from fastapi.responses import JSONResponse | |
import redis.asyncio as redis | |
class Redis: | |
redis_client: redis.Redis = None |
NewerOlder