Skip to content

Instantly share code, notes, and snippets.

@tfogo
tfogo / liwpp.js
Last active December 25, 2015 09:59 — forked from SeraphimSerapis/liwpp.js
'use strict';
var request = require('request');
var querystring = require('querystring');
/*
* CLIENT DETAILS
*/
var CLIENT_ID = "CLIENT_ID_HERE";
@tfogo
tfogo / .xmobarrc
Created August 23, 2013 05:16
This is my xmobar config.
Config { font = "xft:inconsolata:size=10:antialias=true"
, bgColor = "#002b36"
, fgColor = "#657b83"
, position = TopW L 90
, lowerOnStart = True
, commands = [ Run Network "wlan0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Date "<fc=#93a1a1>%a %b %_d %Y %H:%M</fc>" "date" 10
, Run DiskIO [("/", "IO: <total>"), ("sda4", "<total>")] [] 10
@tfogo
tfogo / .xmonadstartup
Created August 23, 2013 05:11
This is the script executed by xmonad.hs when xmonad starts up.
#!/bin/bash
gnome-settings-daemon &
feh --bg-fill ~/Pictures/wallpaper-1950578.jpg
xcompmgr -n &
trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --alpha 0 --tint 0x002b36 --height 19 &
nm-applet --sm-disable &
eval $(gnome-keyring-daemon --start)
export GNOME_KEYRING_SOCKET
export GNOME_KEYRING_PID
@tfogo
tfogo / .gitignore
Last active December 21, 2015 12:38
Android .gitignore based on Github's useful gitignore repo (https://github.com/github/gitignore). This file does not ignore .project or .classpath files.
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
@tfogo
tfogo / .global_gitignore
Last active December 21, 2015 12:38
My global gitignore file. Based on files in Github's gitignore repo (https://github.com/github/gitignore) It ignores common files from eclipse and emacs. Unlike Github's file, it does not ignore .project, .classpath, or .settings/.
# FOR ECLIPSE
*.pydevproject
.metadata
bin/**
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
@tfogo
tfogo / xmonad.hs
Last active December 21, 2015 05:49
This is my xmonad config file.
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
import Control.Concurrent
import XMonad.Hooks.ManageHelpers
import XMonad.Layout.NoBorders