Skip to content

Instantly share code, notes, and snippets.

# I was extremely tired when writing this, please excuse the terrible code.
import requests
i = 0
results = []
green_indices = set()
green = set()
yellow = set()
white = set()
while (i < 0x10):
if hex(i)[2:] not in white:
This file has been truncated, but you can view the full file.
// WARNING! This file contains some subset of JS that is not supported by type inference.
// You can try checking 'Transpile to ES5' checkbox if you want the types to be inferred
'use strict';
(window.webpackJsonp = window.webpackJsonp || []).push([["Subreddit", "Explore~Frontpage~ModListing~ModQueuePages~Multireddit~News~OriginalContent~ProfileComments~ProfileO~7253adbf", "ModListing~ModQueuePages~Multireddit~OriginalContent~ProfileComments~ProfileOverview~ProfilePosts~Pr~df9142ca", "GovernanceLeaderboard"], {
"./src/app/helpers/describeApiError/index.ts" : function(sometotal, value, view) {
function handler({
apiError : imdb,
isLoggedOut : frameIsWindow,
language : parentSelector
}) {
This file has been truncated, but you can view the full file.
// WARNING! This file contains some subset of JS that is not supported by type inference.
// You can try checking 'Transpile to ES5' checkbox if you want the types to be inferred
'use strict';
(window.webpackJsonp = window.webpackJsonp || []).push([["Reddit"], {
"./src/app/components/Portal/index.tsx" : function(sometotal, value, $) {
$.d(value, "a", function() {
return ConfusingAuthError;
});
var errors = $("./node_modules/react/index.js");
var self = $("./node_modules/react-dom/index.js");
@DashLt
DashLt / create_service.sh
Last active October 27, 2022 05:57
Quickly make 100 service accounts and generate keys for them
#!/bin/bash
# requires gcloud command line tools; go to https://cloud.google.com/sdk/docs/quickstarts to get them
# max 100 service accounts per project
# run gcloud init --console-only first and select a project
KEYS_DIR=keys
for name in service{1..100}; do echo $name; done | parallel --citation -j100 gcloud iam service-accounts create {}
for name in $(gcloud iam service-accounts list --format='value(email)'); do echo $name; done | parallel --citation -j100 gcloud iam service-accounts keys create $KEYS_DIR/{}.json --iam-account={}
gcloud iam service-accounts list --format='value(email)'

Keybase proof

I hereby claim:

  • I am dashlt on github.
  • I am shitposter (https://keybase.io/shitposter) on keybase.
  • I have a public key ASAuGcb__TpIL29wXSDrjpncjAGqXK86Ue69MwjUWyUVFAo

To claim this, I am signing this object: