I hereby claim:
- I am satreix on github.
- I am satreix (https://keybase.io/satreix) on keybase.
- I have a public key whose fingerprint is 599B 4858 E7D4 388D 747A 6994 445D AC65 BD74 F67C
To claim this, I am signing this object:
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres -p 5432:5432 |
I hereby claim:
To claim this, I am signing this object:
MONO=mono | |
fact_package="fact.ff" | |
git clone [email protected]:shugo/fact.git | |
cd fact | |
make deploy | |
cd bin/Deploy | |
${MONO} ./FactExe.exe system install --create-package this -o ${fact_package} | |
${MONO} ./FactExe.exe system install --package ${fact_package} |
#!/bin/sh | |
ret=1 | |
SUMS="md5sums.txt" | |
OLD_SUMS=".latest_arch" | |
rm -rf $SUMS | |
wget http://archlinux.polymorf.fr/iso/latest/$SUMS 2> /dev/null | |
if [ ! -f $OLD_SUMS ]; then |
sleep_screen() { | |
# Mute audio | |
osascript -e 'set volume output muted true' | |
#/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend | |
pmset displaysleepnow | |
} |
Install the dependencies for the archiso
package:
(root): pacman -S make squashfs-tools libisoburn dosfstools patch lynx devtools git
I recommend archiso
getting them from git, there is a package in the repositories, however, at this time of writing, it will not work with the instructions below.
So, grab the most recent version from git and install it:
(user): git clone git://projects.archlinux.org/archiso.git && cd archiso
/* Taken from https://github.com/lafosca/travis-tv-mode and added a few fixes. */ | |
#top, | |
#main, | |
#right, | |
#search_box, | |
.last_build, | |
.duration_label, | |
.duration, | |
.indicator, |
def validInsee(insee, cle): | |
# http://fr.wikipedia.org/wiki/Numero_de_Securite_sociale#Unicit.C3.A9 | |
# gestion numeros corses | |
insee = insee.replace('A', 0) | |
insee = insee.replace('B', 0) | |
reste = int(insee) % 97 | |
return ((97 - reste) == int(cle)) |
#!/bin/bash | |
user='username' | |
serv='servername' | |
echo "Connecting to $serv ..." | |
sshuttle --dns --daemon -r $user@$serv 0/0 | |
ssh_cmd_return=$? |
! Colors | |
#define S_yellow #f0e030 | |
#define S_orange #fd971f | |
#define S_red #ff322f | |
#define S_magenta #d33682 | |
#define S_violet #6c71c4 | |
#define S_blue #268bd2 | |
#define S_cyan #2aa198 | |
#define S_green #a6e22e |