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 / 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"
# 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 / 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://
@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 / 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 / navysealsnh.md
Created September 20, 2018 11:24
This was never funny

What the fuck did you just fucking say about me, you little bitch? I’ll have you know I graduated top of my class in the Nintendo Homebrew, and I’ve been involved in numerous secret raids on Jack Sorrel, and I have over 300 confirmed bricks. I am trained in arm9loaderhax and I’m the top bricker in the entire Homebrew community. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of helpers across Nintendo Homebrew and your 3DS is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You’re fucking bricked, kid. I can be anywhere, anytime, and I can brick you in over seven hundred ways, and that’s just with my bare hands. Not only am I extensively trained in unarmed b

Keybase proof

I hereby claim:

  • I am noirscape on github.
  • I am ev1l0rd (https://keybase.io/ev1l0rd) on keybase.
  • I have a public key whose fingerprint is C2C5 3C94 97E4 58DE 6240 839C 59BC A589 B35B 0E59

To claim this, I am signing this object:

# Discriminator getter
# Gets a list of all discriminators that are the same as yours.
# Change to one of these to reroll your discriminator.
# NOTICE: NO WARRANTY, I AM NOT RESPONSIBLE FOR TRIGGER HAPPY STAFF BANNING YOU.
# SCRIPT IS GIVEN WITHOUT ANY SUPPORT.
#
# Use it on a regular bot. It _technically_ also works on a selfbot, but Selfbots are against the TOS.
import discord
from discord.ext import commands
@noirscape
noirscape / bot.py
Last active December 30, 2017 22:48
A minimalist discord bot framework
import yaml
from discord.ext import commands
'''A simple bot framework.
Simply configure the options in config.yaml and start the bot with `python3 main.py`
Make sure to run requirements.txt first!
The bot does -not- have any commands by default. You will either need to add them manually or use the included cog loader.
Licensed under the WTFPL (although credit is preferred if you use this as a base)'''
config = yaml.safe_load(open('config.yaml'))
@noirscape
noirscape / app.js
Last active November 9, 2017 16:24
const Discord = require("discord.js");
const client = new Discord.Client();
const config = require("./config.json");
client.on("ready", () => {
console.log("Now Playing Setter is on duty! The Now Playing Status that is set is: " + config.NowPlayingStatus);
client.user.setGame(config.NowPlayingStatus)
});
client.login(config.token);