Skip to content

Instantly share code, notes, and snippets.

View bpizzi's full-sized avatar

Baptiste Pizzighini bpizzi

View GitHub Profile
@bpizzi
bpizzi / bpizzi-xmobarrc
Created January 3, 2012 17:12
bpizzi .xmobarrc
Config { font = "xft:DejaVu Sans-8"
, bgColor = "#222222"
, fgColor = "grey"
, position = Top
, lowerOnStart = True
, commands = [ Run Weather "LFLY" ["-t","<station>: <tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 36000
, Run Network "eth1" ["-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>%"] 5
, Run Swap ["-t", "Swap: <used>"] 5
@bpizzi
bpizzi / bpizzi-xdefaults
Created January 3, 2012 17:10
bpizzi .Xdefaults
urxvt*foreground: #f2f2f2
urxvt*background: #101010
! Normal
! color0 black
! color1 red
! color2 green
! color3 yellow
! color4 blue
! color5 purple
@bpizzi
bpizzi / bpizzi-xmonad.hs
Created January 3, 2012 17:08
bpizzi xmonad.hs
--
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar
@bpizzi
bpizzi / bpizzi-ohmyzsh-theme
Created January 3, 2012 17:06
bpizzi ohmyzsh theme
# BPIZZI - created from CRUNCH, itself created from Steve Eley's cat waxing.
# Initially hacked from the Dallas theme. Thanks, Dallas Reedy.
#
# This theme assumes you do most of your oh-my-zsh'ed "colorful" work at a single machine,
# and eschews the standard space-consuming user and hostname info. Instead, only the
# things that vary in my own workflow are shown:
#
# * The time (not the date)
# * The RVM version and gemset (omitting the 'ruby' name if it's MRI)
# * The current directory
@bpizzi
bpizzi / gist:669191
Created November 9, 2010 15:00
Nginx site conf for symfony 1.4
We couldn’t find that file to show.
#!/bin/bash
#Root!
if [ $(id -u) != "0" ]; then
echo "Erreur: vous devez être root, lancez sudo sh $0"
exit 1
fi
#Installation php fpm 5.3
SLFILE="/etc/apt/sources.list"
@bpizzi
bpizzi / gist:569802
Created September 8, 2010 08:09
Nginx default site configuration
We couldn’t find that file to show.
@bpizzi
bpizzi / gist:569797
Created September 8, 2010 07:57
Nginx configuration
We couldn’t find that file to show.