Skip to content

Instantly share code, notes, and snippets.

View twilight-sparkle-irl's full-sized avatar
:shipit:
:shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit:

twilight sparkle twilight-sparkle-irl

:shipit:
:shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit:
View GitHub Profile
@twilight-sparkle-irl
twilight-sparkle-irl / smb3.htm
Created January 31, 2019 22:42
a broken smb3 castle scene maker thingy
<!DOCTYPE html>
<!--
credit to bootsy (@NO_BOOT_DEVICE)
-->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>smb3.htm</title>
<style type="text/css">
:root,body {
background-color: black;
@twilight-sparkle-irl
twilight-sparkle-irl / jazzpunk.md
Last active January 22, 2019 19:15
jazzpunk console commands

Jazzpunk Console Commands

  • exit / quit
    Exit the console.

  • iddqd / godmode
    Turn on/off godmode.

  • athiestmode
    Turn off godmode.

@twilight-sparkle-irl
twilight-sparkle-irl / FakeScreen.ps1
Created November 6, 2018 16:43
make a fake smartscreen/update-like popup
$Title = "Windows needs your help"
$Content = @"
All we need is your credit card number, the three digits on the back, and the expiration month and day! But be quick!
Sphinx of black quartz, judge my brown fox over this lazy dog!
Testing testing testing
"@
$ButtonText = "Accept"
# -- code begins below, scroll down till you see "ACCEPT CODE" to edit what happens when you accept
@twilight-sparkle-irl
twilight-sparkle-irl / InvokeWDT.ps1
Created November 2, 2018 03:24
invoke-windowsdefendertoast
Function Invoke-WindowsDefenderToast {
Param (
[Parameter(Mandatory=$True)]
[string]$Message,
[Parameter()]
[string]$Title="Virus &amp; threat protection"
)
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime]
[xml]$ToastTemplate = @"
<toast launch="app-defined-string">
@twilight-sparkle-irl
twilight-sparkle-irl / example.com.conf
Created October 31, 2018 16:04
nginx map location based on cookie (for when you want to test a site but give a static page to everyone else)
# everyone, by default, will go to @underconstruction
# however, if you set cookienamehere=cookievaluehere, you get sent to @testbed instead
# by default, @under_construction shows static files from /var/www/under_construction
# by default, @testbed proxypasses to http://127.0.0.1:3000
# change those to do whatever youw ant
# if you want
# you can change $cookie_cookienamehere to $remote_addr and replace the "~cookievaluehere" with your ip
# that'll make it so that it's based on ip instead of cookie
@twilight-sparkle-irl
twilight-sparkle-irl / potions.txt
Created October 19, 2017 20:31
a...list of potion names?
Malevolent
Rudimentary body potion
Oculus Potion
Ever
Hermadeye Glo Poils
Rano Potion
Grand Potion
Solution Antidote
Befuddlemishing Potion Potion
Girding Potion
@twilight-sparkle-irl
twilight-sparkle-irl / webcrack.discord.min.js
Last active February 10, 2019 17:18
Updated version of webcrack.js for Discord
// webcrack, a script that allows you to break webpack.js's sandbox and randomization easily
// now updated for discord! (again)
// made by @[email protected]
// licensed under the MIT license
// window.wc is the webcrack object
// wc.get gives you the module attached to the id you give it.
// literally just what webpack functions use. not much to it
// this is the basic part of all this, everything else is just to allow you to updateproof your code
@twilight-sparkle-irl
twilight-sparkle-irl / decisions.user.js
Created March 30, 2017 16:30
Allows you to change TweetDeck decider options
// This can be run by both pasting it into the Javascript console
// and by using it as a userscript.
// == CONFIG ==
// You can view more TD.deciders by running
// TD.decider.getAll() in the JS console.
window.decider_override = {
"hearts_and_likes2": true, // revert likes to favorites
"dm_rounded_avatars": false, // make avatars in dms nonround
"simplified_replies": false // remove "Replying to" replacing mentions
@twilight-sparkle-irl
twilight-sparkle-irl / tddecide.user.js
Last active January 13, 2017 15:11
Change TD.decider decisions.
// ==UserScript==
// @name Fix Tweetdeck
// @namespace NO_BOOT_DEVICE/decideformyself
// @description Allows you to edit decider decisions.
// @include https://tweetdeck.twitter.com/*
// @include http://tweetdeck.twitter.com/*
// @version 1
// @grant none
// ==/UserScript==
@twilight-sparkle-irl
twilight-sparkle-irl / webcrack.js
Last active September 19, 2024 14:29
webcrack: mess with webpacked (webpackJsonp) applications
// webcrack, a script that allows you to break webpack.js's sandbox and randomization easily
// made by @yourcompanionAI
// licensed under the trust that you will credit me for my work visibly and other than that you can go have fun with this
// window.wc is the webcrack object
// wc.get gives you the module attached to the id you give it.
// literally just what webpack functions use. not much to it
// this is the basic part of all this, everything else is just to allow you to updateproof your code
// both find functions return modules in this format: