Skip to content

Instantly share code, notes, and snippets.

@xorcat
xorcat / l7
Last active October 14, 2019 08:36
#!/usr/bin/perl
# credit not to me, but I've lost the original source :(
@xlat = ( 0x64, 0x73, 0x66, 0x64, 0x3b, 0x6b, 0x66, 0x6f, 0x41,
0x2c, 0x2e, 0x69, 0x79, 0x65, 0x77, 0x72, 0x6b, 0x6c,
0x64, 0x4a, 0x4b, 0x44, 0x48, 0x53 , 0x55, 0x42 );
chomp ($epass = $ARGV[0]);

Keybase proof

I hereby claim:

  • I am xorcat on github.
  • I am xorcat (https://keybase.io/xorcat) on keybase.
  • I have a public key ASAPeFfQxky9ahJMwSrSPp3T-imLvxev_brdTG7Dj09XcQo

To claim this, I am signing this object:

@xorcat
xorcat / Zipline - Portfolio.markdown
Created November 24, 2015 12:08
Zipline - Portfolio
@xorcat
xorcat / reverse-a-string.js
Created November 19, 2015 10:32
freeCodeCamp - Bonfire - Reverse a String
// Bonfire: Reverse a String
// Author: @sycrat
// Challenge: http://www.freecodecamp.com/challenges/bonfire-reverse-a-string?solution=function%20reverseString(str)%20%7B%0A%20%20var%20stringArray%20%3D%20%5B%5D%3B%0A%20%20%0A%20%20return%20str%3B%0A%7D%0A%0AreverseString(%22hello%22)%3B%0A
// Learn to Code at Free Code Camp (www.freecodecamp.com)
// reverse the characters in a string
function reverseString(str) {
// initialise variables
var stringArray = [];
var reversed = "";
@xorcat
xorcat / meet-bonfire.js
Last active November 19, 2015 10:24
freeCodeCamp - Bonfire - Meet Bonfire
// Bonfire: Meet Bonfire
// Author: @sycrat
// Challenge: http://www.freecodecamp.com/challenges/bonfire-meet-bonfire?solution=function%20meetBonfire(argument)%20%7B%0A%20%20%2F%2F%20Good%20luck!%0A%20%20console.log(%22you%20can%20read%20this%20function%27s%20argument%20in%20the%20developer%20tools%22%2C%20argument)%3B%0A%0A%20%20return%20true%3B%0A%7D%0A%0A%0A%0AmeetBonfire(%22You%20can%20do%20this!%22)%3B%0A
// Learn to Code at Free Code Camp (www.freecodecamp.com)
function meetBonfire(argument) {
// Good luck!
console.log("you can read this function's argument in the developer tools", argument);
return true;