Skip to content

Instantly share code, notes, and snippets.

@SuperSpyTX
SuperSpyTX / gist:4220350
Created December 5, 2012 23:07
Yeah...whatever
public class Manager {
private Map<String, Boolean> yourmap = new HashMap<String, Boolean>();
// Some dummy function.
public void addToMap(String str, Boolean bool) {
yourmap.put(str, bool);
}
}
@SuperSpyTX
SuperSpyTX / keybase.md
Created June 30, 2014 04:40
keybase.md

Keybase proof

I hereby claim:

  • I am SuperSpyTX on github.
  • I am sspx (https://keybase.io/sspx) on keybase.
  • I have a public key whose fingerprint is 3A99 9253 A457 AE5B 9071 70B3 8643 31A6 B4B7 534F

To claim this, I am signing this object:

@SuperSpyTX
SuperSpyTX / Something.java
Created February 18, 2015 02:29
Malicious-JScript decompiled
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.InputStreamReader;
@SuperSpyTX
SuperSpyTX / .aREADME.md
Last active January 13, 2018 23:39
42 Piscine: .gitignore
@SuperSpyTX
SuperSpyTX / tester
Last active April 27, 2017 08:03
BSQ Trainer BETA
#!/bin/sh
echo "BSQ Trainer v0.1 - by jkrause"
rm -f t1 t2 test2
echo "" > t1
echo "" > t2
CMD=""
while [[ ! $(diff t1 t2) ]];
do
python trainer.py $1 > test2
./bsq_ref test2 > t1
@SuperSpyTX
SuperSpyTX / README.md
Last active July 17, 2017 03:50
Take your homebrew applications with you on any lab computer

Have this code handy in your PATH or somewhere (you can save this as brewinstall):

#!/bin/bash
if [ ! -e '$HOME/goinfre' ] ; then
    mkdir /goinfre/$(whoami)
fi
if [ ! -d '$HOME/goinfre/brew/bin' ] ; then
    git clone https://github.com/Homebrew/homebrew.git ~/goinfre/brew
    brew update
fi
@SuperSpyTX
SuperSpyTX / Makefile.m4
Created July 6, 2017 22:21
Makefile Template
#* ************************************************************************** */
#* */
#* ::: :::::::: */
#* Makefile :+: :+: :+: */
#* +:+ +:+ +:+ */
#* By: jkrause <jkrause@student.42.us.org> +#+ +:+ +#+ */
#* +#+#+#+#+#+ +#+ */
#* Created: 2017/04/18 03:42:42 by jkrause #+# #+# */
#* Updated: 2017/06/11 02:45:14 by jkrause ### ########.fr *#
#* */
@SuperSpyTX
SuperSpyTX / 19_shapes_2
Created July 6, 2017 23:43
Fillit tests
.###
...#
....
....
.###
..#.
....
....
@SuperSpyTX
SuperSpyTX / Makefile.m4
Last active July 31, 2017 21:20
New Makefile Automation
#* ************************************************************************** */
#* */
#* ::: :::::::: */
#* Makefile :+: :+: :+: */
#* +:+ +:+ +:+ */
#* By: jkrause <jkrause@student.42.us.org> +#+ +:+ +#+ */
#* +#+#+#+#+#+ +#+ */
#* Created: 2017/04/18 03:42:42 by jkrause #+# #+# */
#* Updated: 2017/06/11 02:45:14 by jkrause ### ########.fr */
#* */
@SuperSpyTX
SuperSpyTX / trace.txt
Created August 26, 2017 14:54
Libft Trace
= Host-specific information ====================================================
$> hostname; uname -msr
e1z2r9p40.42.us.org
Darwin 15.6.0 x86_64
$> date
Sat Aug 26 04:19:27 PDT 2017
$> gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin15.6.0