Skip to content

Instantly share code, notes, and snippets.

View noirscape's full-sized avatar
🎸
I think I can I think I can I think I can I think I can I think I can

noirscape noirscape

🎸
I think I can I think I can I think I can I think I can I think I can
View GitHub Profile
@noirscape
noirscape / boot_cfw_win32.bat
Created September 23, 2018 21:22
SwitchGuide scripts
@echo off
echo Booting Hekate with HBL...
echo ------------------------------
bin\TegraRcmSmash_Win32.exe bin\payload.bin
echo ------------------------------
timeout 5
@noirscape
noirscape / szuru_upload.py
Last active June 9, 2020 15:50
Upload folder
import os
import shutil
import requests
import argparse
import base64
from typing import List
def parse_arguments(debug_args=None):
parser = argparse.ArgumentParser(description="Upload a folder of images and videos to a szurubooru instance.")
szuru_api_group = parser.add_argument_group('szuru api settings')
@noirscape
noirscape / twitter-auto-orig.user.js
Last active December 26, 2018 02:04
Userscript for automatically going to orig
// ==UserScript==
// @name Twitter auto :orig URL
// @version 1
// @include https://pbs.twimg.com/media/*
// @grant none
// ==/UserScript==
if (!window.location.href.endsWith(":orig")) {
var pathname = window.location.pathname // Used later on, so setting it here
if (pathname.includes(":")) { // checking pathname -> https://
# DON'T BE A DICK PUBLIC LICENSE
#
# > Version 1.1, December 2016
# > Copyright (C) [year] [fullname]
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document.
#
# > DON'T BE A DICK PUBLIC LICENSE
# > TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@noirscape
noirscape / api_doc.yml
Last active May 19, 2020 18:12
Custom masstagger idea
swagger: "2.0"
info:
description: "Open source reddit masstagging server API inspired by masstagger."
version: "1.0.0"
title: "masstagged"
license:
name: "AGPLv3.0"
url: "http://www.gnu.org/licenses/agpl-3.0.html"
host: "myhost.com"
basePath: "/api"