Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / .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 / 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 / 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 / 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',