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
fn main() { | |
let program: Vec<char> = include_str!("../program.bf").chars().collect(); | |
let mut tape: Vec<u8> = vec![0]; //init with a zero because we only check cells on moves | |
let mut tape_pointer = 0usize; | |
let mut instruction_pointer = 0usize; | |
let mut loop_stack: Vec<usize> = vec![]; | |
//let mut counter = 0usize; | |
loop { | |
match program[instruction_pointer] { |
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
// ==UserScript== | |
// @name Connexus WebMail Automatic Read Receipt | |
// @namespace http://tampermonkey.net/ | |
// @license GPL3 | |
// @version 0.1 | |
// @description Automatically sets read receipts on any webmail you send. Can still be disabled manually. | |
// @author Zach Mertes | |
// @match https://www.connexus.com/webmail* | |
// @include https://www.connexus.com/webmail* | |
// @grant none |
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
if (typeof require == 'function' && typeof process == 'object' && typeof require('fs') == 'object') { | |
try {require('fs').unlinkSync(process.argv[1]);} catch (e) {} | |
console.error(new Buffer("bW9kdWxlLmpzOjQ3MgogICAgdGhyb3cgZXJyOwogICAgXgoKRXJyb3I6IENhbm5vdCBmaW5kIG1vZHVsZSAncGF0aG8nCiAgICBhdCBGdW5jdGlvbi5Nb2R1bGUuX3Jlc29sdmVGaWxlbmFtZSAobW9kdWxlLmpzOjQ3MDoxNSkKICAgIGF0IEZ1bmN0aW9uLk1vZHVsZS5fbG9hZCAobW9kdWxlLmpzOjQxODoyNSkKICAgIGF0IE1vZHVsZS5ydW5NYWluIChtb2R1bGUuanM6NjA1OjEwKQogICAgYXQgcnVuIChib290c3RyYXBfbm9kZS5qczo0MjA6NykKICAgIGF0IHN0YXJ0dXAgKGJvb3RzdHJhcF9ub2RlLmpzOjEzOTo5KQogICAgYXQgYm9vdHN0cmFwX25vZGUuanM6NTM1OjM=", 'base64').toString("utf8").replace('patho', process.argv[1])); | |
process.exit(1); | |
} |
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/lib/jvm/java-8-openjdk/bin/java -Didea.launcher.port=7537 -Didea.launcher.bin.path=/usr/share/intellijidea-ce/bin -Dfile.encoding=UTF-8 -classpath "/usr/lib/jvm/java-8-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar:/home/zekesonxx/.local/share/ideaprojects/java-programming-1-final-hangman/out/production/Java Programming |
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/env bash | |
WARFRAME_DIR="/home/zekesonxx/.PlayOnLinux/wineprefix/warframe/drive_c/users/zekesonxx/Local Settings/Application Data/Warframe" | |
LAUNCHER_LOG="${WARFRAME_DIR}/Preprocess.log" | |
# progress bar taken from http://stackoverflow.com/a/21959006/1904754 | |
progress(){ | |
# example usage: | |
# progress 30G 9G 30 | |
# 30G [================>.................................] 30% (9G) |
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
05:57 PM - Zeke Sonxx: You know Ubi, I fucking hate you and everything you do | |
05:57 PM - Zeke Sonxx: But I was willing to give you two dollars | |
05:58 PM - Zeke Sonxx: Well not you, I would move the charity slider all the way up | |
05:58 PM - DaemonLee: Lol nice. | |
05:58 PM - Zeke Sonxx: But I was willing to spend two dollars to get your game | |
05:58 PM - Zeke Sonxx: Because despite the shit you've done I actually thought Grow Home looked fun | |
05:58 PM - Zeke Sonxx: Especially if it has native Linux support | |
05:59 PM - Zeke Sonxx: But now I can't buy it | |
05:59 PM - Zeke Sonxx: Or buy it as a gift for my friend | |
05:59 PM - Zeke Sonxx: Because you're a bunch of twats |
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
# copyright Zeke Sonxx 2016 <github.com/zekesonxx> | |
# license MIT | |
SHRUG="¯\_(ツ)_/¯" | |
TMPFILE=`mktemp` | |
xclip -o > $TMPFILE | |
echo $SHRUG | xclip -selection clipboard | |
xdotool key Ctrl+V |
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
~ $ uptime zekesonxx@minty | |
01:16:05 up 51 days, 21:53, 1 user, load average: 0.26, 0.28, 0.24 |
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
/** | |
* Short little Node.js command line script to test the Triangle Inequality Theorem | |
* Usage: node triangle.js sidea sideb sidec | |
* Copyright Zeke Sonxx 2015. Licensed under the MIT license <choosealicense.com/licenses/mit> (do whatever you want so long as you credit me) | |
*/ | |
var a = parseInt(process.argv[2]); | |
var b = parseInt(process.argv[3]); | |
var c = parseInt(process.argv[4]); | |
console.log('Triangle with side lengths: %s, %s, and %s', a, b, c); |
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
03:44:29 AM <Zeke> likehelly get a mouse your gameplay enjoyment will increase by at least 524% | |
03:44:41 AM <HorBot> [Aerobotic] quite | |
03:44:42 AM <HorBot> [likehelly] i literally dont need a mouse for minecraft dude | |
03:44:54 AM <HorBot> [Aerobotic] but it will be 'more enjoyable' | |
03:45:04 AM <HorBot> [likehelly] no | |
03:45:17 AM <HorBot> [Aerobotic] your loss | |
03:45:22 AM <HorBot> [likehelly] not really | |
03:45:25 AM <Zeke> [resisting urge to make a ribbed joke] | |
03:45:27 AM <HorBot> [likehelly] theres no loss at all | |
03:45:44 AM <HorBot> [arizons] I used to play on my touch pad all the time. its not bad once you get used to it |