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
package main | |
import "fmt" | |
type A struct { | |
b int | |
} | |
func main() { | |
theAs := []A{} |
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
// twdl | |
// | |
// A Deno script for downloading images you like on Twitter. | |
// | |
import { parse } from "https://deno.land/std@0.104.0/flags/mod.ts"; | |
import { copy, readerFromStreamReader } from "https://deno.land/std@0.104.0/io/mod.ts"; | |
const { name = null, count = 200, out = "out", fmt = "", ...args } = parse(Deno.args); | |
if (!name) { |
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/python3 | |
# Leo Krashanoff | |
# (c) 2021 | |
# Subject to contents of MIT License | |
# | |
# Originally written for maguro: https://github.com/krashanoff/maguro | |
from urllib.parse import parse_qs, unquote | |
from requests import get |