This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alignment middle_right | |
background no | |
border_width 0 | |
border_margin 10 | |
cpu_avg_samples 2 | |
default_color white | |
default_outline_color black | |
default_shade_color white | |
draw_borders no | |
draw_graph_borders no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alignment middle_left | |
background no | |
border_width 0 | |
border_margin 10 | |
cpu_avg_samples 2 | |
default_color white | |
default_outline_color black | |
default_shade_color white | |
draw_borders no | |
draw_graph_borders no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# wma2mp3.sh | |
# Ricardo Tun <me@ricardotun.net> | |
# | |
# Depends: lame, ffmpeg | |
# Use: ./wma2mp3.sh path_to_wma_files | |
# If directory is not specified, the current working directory will be used to find wma files. | |
wma2mp3() { | |
if [ ! -e *.wma ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Background] | |
Color=18,18,18 | |
Transparency=false | |
[BackgroundIntense] | |
Color=18,18,18 | |
Transparency=false | |
[Color0] | |
Color=27,29,30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1='\[\033[36m\]\u \[\033[30m\]@ \[\033[37m\]\h\[\033[36m\]:\[\033[30m\][\[\033[33m\]\w\[\033[30m\]]\n\[\033[33m\]$ \[\033[00m\] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gconftool-2 --set /apps/gnome-terminal/profiles/Default/foreground_color --type string "#708183" | |
gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_color --type string "#001E26" | |
gconftool-2 --set /apps/gnome-terminal/profiles/Default/bold_color --type string "#81908F" | |
gconftool-2 --set /apps/gnome-terminal/profiles/Default/palette --type string "#002731:#D01B24:#728905:#A57705:#2075C7:#C61B6E:#259185:#E9E2CB:#001E26:#BD3612:#465A61:#52676F:#708183:#5856B9:#81908F:#FCF4DC" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @start_date DATETIME, @end_date DATETIME | |
SET @start_date = '2014-01-01' | |
SET @end_date = '2014-12-31' | |
WHILE @start_date <= @end_date | |
BEGIN | |
--PRINT @start_date | |
IF datepart(weekday, @start_date) = 1 | |
INSERT INTO tblAvailability(avDate, avNumber) VALUES(@start_date, 0) | |
ELSE | |
INSERT INTO tblAvailability(avDate, avNumber) VALUES(@start_date, 120) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import string | |
import random | |
def random_string(size=6): | |
chars = (string.ascii_uppercase + string.ascii_lowercase + string.digits) | |
return ''.join(random.choice(chars) for x in range(size)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT ROUTINE_NAME, ROUTINE_DEFINITION, CREATED, LAST_ALTERED | |
FROM information_schema.routines | |
WHERE ROUTINE_TYPE = 'PROCEDURE' | |
ORDER BY ROUTINE_NAME ASC |
OlderNewer