Skip to content

Instantly share code, notes, and snippets.

@xjackk
xjackk / .emacs
Last active October 28, 2019 22:12
.emacs (booz allen computer verz)
;;; package --- Jack's emacs config
;;; Commentary:
;; "change will come"
;; 8/14/14 ~
;;; Code:
;; Start Melpa!
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
@xjackk
xjackk / .emacs
Last active July 13, 2017 10:31
.emacs config file
;; Jack's emacs config
;; 8/14/14 ~
;; "change will come"
;;; Code:
; testing theme
;;(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/caroline-theme/")
;;(add-to-list 'load-path "~/.emacs.d/themes/caroline-theme/")
;;(load-theme 'caroline t)
@xjackk
xjackk / zshrc
Last active May 8, 2017 13:32
.zshrc
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="af-magic"
# Uncomment the following line to use case-sensitive completion.
@xjackk
xjackk / cats.coffee
Created February 19, 2016 08:51
Random Cat Picture
getCats = ->
$.get 'http://thecatapi.com/api/images/get?format=xml&size=med&results_per_page=20', (data) ->
xmlimages = $(data).find 'image'
randomimage = xmlimages[Math.floor(Math.random() * xmlimages.length)]
imageurl = $(randomimage).find("url").text()
@xjackk
xjackk / bttransit.pl
Last active January 28, 2016 20:18
Blacksburg Transit Times
#!/usr/bin/perl
##
## Author: jrk (jaaacckz1@gmail.com)
##
## For my fellow Virginia Tech geeks.
## Get the bus, on time.
##
## Disclaimer : If you get a 400 / POST error, the route you are trying to use does not actually exist.
##
@xjackk
xjackk / xkcd.pl
Last active December 21, 2015 00:16
xkcd!
#!/usr/bin/perl
use warnings;
use strict;
use Switch;
use Modern::Perl '2014';
use LWP::Simple;
use JSON;
use Data::Dumper;
@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;
@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 / 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 / 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;