I hereby claim:
- I am botatooo on github.
- I am botatoo (https://keybase.io/botatoo) on keybase.
- I have a public key ASCiklTScJj-exn-sx1JPNzyH0EJltkk7FGyWSlPCPP9ngo
To claim this, I am signing this object:
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
$openasar_uri = "https://github.com/GooseMod/OpenAsar/releases/download/nightly/app.asar" | |
$discord = (Read-Host "Discord release (stable|ptb|canary|development): ").ToLower() -replace " ","" | |
$discord_name = "Discord" + (Get-Culture).TextInfo.ToTitleCase($discord) | |
function Stop-Discord { | |
$processes = Get-Process -Name $discord_name | |
if ($processes.Count -gt 0) { | |
$processes | Stop-Process | |
} |
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
userId = int(input("Enter your Discord user ID: ")) | |
print("---") | |
inBinary = format(userId, "b") | |
inReverse = inBinary[::-1] | |
timestampPart = inReverse[22:64] | |
backInBase10 = int(timestampPart, 2) | |
plusDiscordEpoch = backInBase10 + 1420070400000 | |
inSeconds = round(plusDiscordEpoch / 1000) |
I hereby claim:
- I am botatooo on github.
- I am botatoo (https://keybase.io/botatoo) on keybase.
- I have a public key ASDbBJtVOKnbZBXolSfaTEF9eMCj1zDrVStjKm-3a1Njjgo
To claim this, I am signing this object:
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
#!/usr/bin/env python | |
import sys | |
import json | |
import requests | |
import urllib.request | |
from urllib.error import HTTPError, URLError | |
from datetime import datetime | |
ALSO_CLEAR_DEAD_IMGUR_LINKS = True |
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
(() => { | |
const liveTime = document.querySelector('.live-time'); | |
const style = document.createElement("style"); | |
style.id = 'on-video-time-style'; | |
style.textContent = `#on-video-time { | |
position: absolute; | |
padding: .5rem; | |
top: 0; | |
right: .3rem; |
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 os | |
import json | |
import torch | |
import transformers | |
assert ( | |
"LlamaTokenizer" in transformers._import_structure["models.llama"] | |
), "LLaMA is now in HuggingFace's main branch.\nPlease reinstall it: pip uninstall transformers && pip install git+https://github.com/huggingface/transformers.git" |
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
// ==UserScript== | |
// @name Don't Edit Documents from Teams | |
// @version 1 | |
// @include https://*.sharepoint.com/* | |
// @grant none | |
// ==/UserScript== | |
const searchParams = new URLSearchParams(location.search) | |
if (searchParams.get("wdOrigin") === "TEAMS-ELECTRON.teamsSdk.openFilePreview" && searchParams.get("action") === "edit") { |
OlderNewer