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/php | |
<?php | |
// Oh, um. | |
// This code is pretty bad. I will add comments and put it into a repo later maybe... | |
// It needs to probably be fixed up too, this is pretty ugly so far | |
// I just wanted to proof-of-concept it. | |
// | |
// This uses somewhat undocumented API pokes to get video details and download them | |
// You can only download your own recordings. May not work with VODs, who knows! |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Generated by: TmTheme-Editor --> | |
<!-- ============================================ --> | |
<!-- app: http://tmtheme-editor.herokuapp.com --> | |
<!-- code: https://github.com/aziz/tmTheme-Editor --> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Monokai Spacegray Custom</string> |
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
<?php | |
// See https://twitter.com/xkeepah/status/738508123489468416 | |
// Encode file. First arg = file, second arg = PNG to use as a mask for artfart | |
$image = encodeFile("Gimmick! (Japan).nes", "gimmick-title.png"); | |
imagepng($image, "/tmp/test.png"); | |
// Filename to decode from PNG. art fart alpha not used | |
$data = decodeFile("/tmp/test.png"); |
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
<?php | |
// This file was butchered from the Disgaea PC savefile tools | |
// https://github.com/Xkeeper0/disgaea-pc-tools/ | |
if (!isset($argv[1])) { | |
die("Usage: php ". $argv[0] ." <file to decompress>\n"); | |
} | |
if (!file_exists($argv[1])) { | |
die("file not found: ". $argv[1] ."\n"); |
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
/* mastodon't, a pack of css tweaks to make mastodon slightly less bad */ | |
* { | |
/* Disable some ugly animations (e.g., lightbox) */ | |
transform: none; | |
transition: none; | |
} | |
textarea:active, input:active, button:active, *:focus { | |
/* Make the textbox and buttons indicate being highlighted in some way */ |
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
<?php | |
/* | |
JonTT's Puggsy prototype video decoder | |
Hastily written at one in the morning | |
Get the video | |
$ youtube-dl https://www.youtube.com/watch?v=2ZdXmhwcbhQ | |
Give it a more reasonable 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
/* | |
this is some user css you can add to stylebot or whatever your user-css-allowing extension is, | |
or your mastodon instance itself if you want | |
sample image of most changes: | |
general ui: https://icosahedron.website/@Xkeeper/100765176052010274 | |
media uploader: https://icosahedron.website/@Xkeeper/100765236260841467 | |
pinned posts: https://icosahedron.website/@Xkeeper/100787770095983939 | |
-------------------------------------------------------------------------------------- |
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
/* | |
this attempts to make New Gmail™ less shitty by adding some subtle backgrounds, | |
outlines, and other applications of actual fucking contrast. | |
sorry about the fact that you're most likely going to have to | |
figure out what all these mean because lol class names | |
maybe next time i'll write | |
html > body > div > div > div > div > div > div > div > span > div > span > table > tbody > tr > td > div > div > div > div > span |
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
/* | |
Designed for https://text.npr.org/ to make it readable in a desktop browser, | |
while keeping it no-frills and accessible | |
Xkeeper, 2018 | |
(The website uses exclusively <p> for everything instead of semantic elements, | |
so this is really ugly. A native solution could also use media queries to | |
present a mobile-optimized experience as well...) | |
*/ |
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
'scopeName': 'source.assembly.6502.asm6' | |
'fileTypes': [ | |
'asm' | |
] | |
'name': '6502 Assembly (asm6)' | |
'patterns': [ | |
{ | |
'match': ';.*\\n?' | |
'name': 'comment.line.semicolon' | |
} |
OlderNewer