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 { register } = require("./update-lang-python"); | |
const fixers = [[]]; | |
await register(fixers); | |
console.log(fixers); |
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
brew install coreutils | |
sudo ln -sf /opt/homebrew/bin/gcp /usr/local/bin/cp |
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
004307.com | |
0123movie.net | |
057.ua | |
079301eaff0975107716716fd1cb0dcd.com | |
0af2a962b0102942d9a7df351b20be55.com | |
0betweb.com | |
0c.gay | |
0ebz217dw04q.com | |
0magnet.co | |
0rd.net |
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
# Importing necessary libraries | |
import random | |
# Function to compute the modular exponentiation (a^b mod p) | |
def mod_exp(a, b, p): | |
return pow(a, b, p) | |
def diffie_hellman(p, g): | |
# Alice chooses a private key | |
a = random.randint(1, p - 1) |
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
wget --content-disposition --trust-server-names -i urls.txt |
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
namesDelimitedByNewline.split("\n").sort((a, b) => a.split(" ")[1].localeCompare(b.split(" ")[1])).join("\n") |
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 fs from "fs"; | |
// for every file in the directory, make a folder with the same name and move the file into it, renaming it to index.md | |
const dir = "./src/lib/contents/changelog"; | |
fs.readdirSync(dir).forEach((file) => { | |
const fileDir = `${dir}/${file}`; | |
const newDir = `${dir}/${file.split(".")[0]}`; | |
fs.mkdirSync(newDir); |
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 fs = require("fs/promises"); | |
const execSync = require("child_process").execSync; | |
const toDownload = 100; | |
const downloadFolder = "downloaded"; | |
const getExtensions = async () => { | |
const openVsxResponse = await fetch( | |
`https://open-vsx.org/api/-/search?size=${toDownload}&sortBy=downloadCount&sortOrder=desc` | |
); |
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 { readFile } from "fs/promises"; | |
import { unified } from "unified/lib/index.js"; | |
import remarkParse from "remark-parse"; | |
const file = await readFile("files/file.md", "utf8"); | |
const data = unified().use(remarkParse).parse(file); | |
const releaseNotesStart = data.children.find( |
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
{ | |
"malicious": [ | |
"ms-python.python" | |
], | |
"deprecated": {}, | |
"migrateToPreRelease": {} | |
} |
NewerOlder