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/perl | |
# AESCrypt GUI for GNU/Linux | |
# DWTFYWT (c) syxanash | |
use strict; | |
use warnings; | |
use IPC::Open3; | |
use Symbol qw(gensym); |
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/perl | |
# (C) syxanash 2011 - syxanash[ at ] gmail.com | |
use strict; | |
use warnings; | |
use WWW::Mechanize; | |
use Getopt::Long; | |
use Tk; |
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/perl | |
use strict; | |
use warnings; | |
use LWP::UserAgent; | |
use Getopt::Long; | |
use File::Slurp; | |
use Term::ANSIColor; | |
use Env; |
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/perl | |
# oh my very first JAPH :-D | |
# dedicated to one of my good | |
# old friend plucky | |
# (C) syxanash 2012 | |
$l=do{local$/;<DATA>};$l=~ | |
s/\#//g ;@u=split (' ',$l) | |
;@k=('a'..'z',' ');foreach |
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
## (c) 2011 Syxanash <[email protected]> | |
## | |
$the_cow = <<EOC; | |
$thoughts | |
$thoughts _._ | |
$thoughts ____/___\\____ | |
$thoughts .'|o o|'. | |
$thoughts .'.| U |.'. | |
' \\ - / ' | |
/ |=| \\ |
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 ruby | |
require 'logger' | |
def get_gateway(interface) | |
got_errors = true | |
default_gateway = %x[netstat -rn | grep -Eo 'default.*([0-9]{1,3}\.){3}[0-9]{1,3}.*#{interface}'] | |
gateway_ip = %x[echo '#{default_gateway}' | awk '{printf $2}'] | |
gateway_mac = %x[arp -an | grep -w #{gateway_ip} | awk '{print $4}'] |
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
import java.util.ArrayList; | |
import java.util.Random; | |
/* | |
I was bored I tried to implement a Conway's Game of Life | |
for the first time in my life. | |
consider the following diagram | |
grid[i - 1][j - 1] . grid[i - 1][j] . grid[i - 1][j + 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
## (c) 2011 Syxanash <[email protected]> | |
## | |
$the_cow = <<EOC; | |
$thoughts ____ | |
$thoughts / \\ | |
$thoughts /mmmmmm\\ --------------------------- | |
$thoughts d| L L |b | |
'.\\ o/.'.. | |
||| ___| |___ ``. -------------------- | |
(~)/ / ) \\ / ( \\ ``. |
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
require 'arp_scan' | |
# the following variables may need to be edited | |
dash_mac = '00:00:00:00:00:00' | |
interface = 'en0' | |
already_checked = false; | |
loop do | |
#puts "scanning network..." |
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
require 'rest-client' | |
require 'nokogiri' | |
require 'genius' | |
require 'similar_text' | |
require 'optparse' | |
GENIUS_CLIENT_TOKEN = 'YOUR API TOKEN GOES HERE!!!'.freeze | |
class LyricsNotFound < StandardError; end |
OlderNewer