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 | |
xhost +local:root | |
setxkbmap -layout fr oss | |
xkbcomp -w 0 -R/usr/share/X11/xkb/ ~/.pi-keymap $DISPLAY | |
xrdb -load ~/.Xdefaults | |
export ALTERNATE_EDITOR="emacs" EDITOR="emacsclient" VISUAL="emacsclient " | |
export TEXTEDIT="$EDITOR" |
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 | |
## Run gitwatch as a daemon | |
# $1 is the repository to monitor | |
# $2 is the stop/start command | |
# Exemple gitwatchd.sh /etc/ start | |
################################## |
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 | |
I=0; | |
p='' | |
aff() | |
{ | |
clear | |
echo -e $1 | |
echo -e "\n\n $I rotation$p" | |
p='s' |
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 | |
L=18 | |
I=0 | |
A=50 | |
U='cm' | |
aff() | |
{ | |
clear |
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
# put this file under /usr/share/X11/xorg.conf.d/50-marblemouse.conf | |
# Large button left : normal click | |
# Both large buttons : middle click | |
# Large button right : right-click | |
# Small button left : browser back | |
# Small button left+ball : scroll (verticaly or horizontally) | |
# Small button right : browser forward | |
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
-- psql prompt can be customized | |
\set PROMPT1 '%[%033[1;33m%]%M:%>%[%033[1;32m%] %n@%/%R%[%033[0m%]%# ' | |
\set PROMPT2 :PROMPT1 | |
\set PROMPT3 '>> ' | |
-- Missing LIMIT fetch count is set to 1000 | |
\set FETCH_COUNT 1000 | |
-- Set pager to off | |
\pset pager off |