Skip to content

Instantly share code, notes, and snippets.

View srijan's full-sized avatar

Srijan Choudhary srijan

View GitHub Profile
@srijan
srijan / exports.sh
Created August 12, 2013 19:14
Exports related to libreoffice development
export CCACHE_DIR=/mnt/archextra/libreoffice/ccache
export CCACHE_COMPRESS=1
export ICECC_VERSION=/mnt/archextra/libreoffice/i386.tar.gz
@srijan
srijan / astar.erl
Created August 2, 2013 18:48
An implementation of A* in Erlang
-module(astar).
-type cnode() :: {integer(), integer()}.
-define(MINX, 0).
-define(MINY, 0).
-define(MAXX, 10).
-define(MAXY, 10).
-export([
@srijan
srijan / deploy.php
Created March 24, 2013 21:09
Deploy webhook
<?php
date_default_timezone_set('UTC');
class Deploy {
/**
* A callback function to call after the deploy has finished.
*
* @var callback
music_directory "/home/srijan/Music"
playlist_directory "/home/srijan/.mpd/playlists"
db_file "/home/srijan/.mpd/database"
log_file "/home/srijan/.mpd/log"
pid_file "/home/srijan/.mpd/pid"
state_file "/home/srijan/.mpd/state"
user "srijan"
group "users"
save_absolute_paths_in_playlists "yes"
follow_outside_symlinks "yes"
@srijan
srijan / .vimrc
Created May 16, 2012 12:18
My G/Vim Config File
filetype off
let mapleader = ","
" call pathogen#infect()
" Use pathogen.vim to manage and load plugins
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
syntax on