Skip to content

Instantly share code, notes, and snippets.

@xjackk
xjackk / sevendays.pl
Created August 25, 2015 21:08
Top usernames
#!/usr/bin/perl
# Scrape top usernames last week
use warnings;
use strict;
use Encode;
use URI;
use Web::Scraper;
@xjackk
xjackk / gruntfile.coffee
Last active August 29, 2015 13:57
Compile Coffee, LESS, Clean and Build your environment.
module.exports = (grunt) ->
grunt.initConfig
coffee:
compile_client:
expand: true,
flatten: false,
cwd: 'src/client',
src: ['**/*.coffee'],
dest: 'build/js',
@xjackk
xjackk / gulpfile.coffee
Created April 3, 2014 19:42
gulpfile coffee, less, compile, watch + clean&build
gulp = require 'gulp'
runSequence = require 'run-sequence'
gutil = require 'gulp-util'
coffee = require 'gulp-coffee'
coffeelint = require 'gulp-coffeelint'
less = require 'gulp-less'
clean = require 'gulp-clean'
uglify = require 'gulp-uglify'
concat = require 'gulp-concat'
minifyCSS = require 'gulp-minify-css'
@xjackk
xjackk / config
Created May 13, 2014 02:22
ncmpcpp config file
mpd_music_dir = "/home/xjackk/Music/"
mpd_connection_timeout = "5"
mpd_crossfade_time = "5"
playlist_disable_highlight_delay = "0"
playlist_display_mode = "columns"
browser_display_mode = "columns"
incremental_seeking = "yes"
autocenter_mode = "yes"
header_visibility = "yes"
statusbar_visibility = "yes"
@xjackk
xjackk / tmux.conf
Created March 10, 2015 16:24
tmux.conf
# jack tmux conf
set status-utf8 on
set utf8 on
# unbind C-b and go emacs style with C-x
unbind C-b
set -g prefix C-x
bind C-x send-prefix
set-option -g default-terminal "screen-256color" #"xterm-256color" # "screen-256color"
@xjackk
xjackk / about.md
Last active August 29, 2015 14:17
The Diary of Anne Frank

The Diary of Anne Frank

I am going to be doing some light reading this weekend. I wrote a script that generates a markdown copy of "The Diary of Anne Frank", a classic.

Install

To install the book simply run.

perl install.pl
@xjackk
xjackk / cartoonnetwork.pl
Created August 24, 2015 19:49
Cartoon Network TV Listings
#!/usr/bin/perl -w
# List Cartoon Networking TV Listings.
# Because I am bored, and watch cartoons..
use strict;
use URI;
use LWP::Simple;
use Web::Scraper;
use Data::Dumper;
use Encode;
@xjackk
xjackk / teamliquid.pl
Last active November 2, 2015 00:29
teamliquid top stream scraper
#!/usr/bin/perl
# TL stream scraper !
use strict;
use URI;
use LWP::Simple;
use Web::Scraper;
use Data::Dumper;
use Encode;
@xjackk
xjackk / comedycentral.pl
Created November 4, 2015 00:58
Comedy Central TV Listings
#!/usr/bin/perl -w
# Comedy central listings
use strict;
use URI;
use LWP::Simple;
use Web::Scraper;
use Data::Dumper;
use Encode;
@xjackk
xjackk / boomerang.pl
Last active December 11, 2015 04:28
boomerang tv listings
#!/usr/bin/perl -w
# List Boomerang tv listings
use strict;
use URI;
use LWP::Simple;
use Web::Scraper;
use Data::Dumper;
use Encode;