I hereby claim:
- I am hardware on github.
- I am hardware (https://keybase.io/hardware) on keybase.
- I have a public key whose fingerprint is 9225 EFB7 88EB 7666 4349 DA30 FDF3 D728 D616 9BF1
To claim this, I am signing this object:
# | |
# Postfix master process configuration file. For details on the format | |
# of the file, see the master(5) manual page (command: "man 5 master"). | |
# | |
# Do not forget to execute "postfix reload" after editing this file. | |
# | |
# ========================================================================== | |
# service type private unpriv chroot wakeup maxproc command + args | |
# (yes) (yes) (yes) (never) (100) | |
# ========================================================================== |
#!/bin/bash | |
# Variables couleurs | |
CSI="\033[" | |
CEND="${CSI}0m" | |
CGREEN="${CSI}1;32m" | |
# PID du processus | |
PID=$(netstat -tlnp | awk '/:8000 */ {split($NF,a,"/"); print a[1]}') |
#!/bin/sh | |
# | |
# init.d script for prelude-manager with LSB support. | |
# | |
# Copyright (c) 2008 Pierre Chifflier <pollux@debian.org> | |
# | |
# This is free software; you may redistribute it and/or modify | |
# it under the terms of the GNU General Public License as | |
# published by the Free Software Foundation; either version 2, | |
# or (at your option) any later version. |
#!/bin/sh -e | |
### BEGIN INIT INFO | |
# Provides: prelude-lml | |
# Required-Start: $syslog $remote_fs | |
# Required-Stop: $syslog $remote_fs | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start prelude-lml sensor |
#!/bin/sh | |
# | |
# init.d script for prelude-correlator with LSB support. | |
# | |
# Copyright (c) 2008 Pierre Chifflier <pollux@debian.org> | |
# | |
# This is free software; you may redistribute it and/or modify | |
# it under the terms of the GNU General Public License as | |
# published by the Free Software Foundation; either version 2, | |
# or (at your option) any later version. |
CSI="\033[" | |
CEND="${CSI}0m" | |
CRED="${CSI}1;31m" | |
CCYAN="${CSI}1;36m" | |
ipban() { | |
ACTION=$1 | |
IP=$2 |
#!/bin/bash | |
CSI="\033[" | |
CEND="${CSI}0m" | |
CGREEN="${CSI}1;32m" | |
CRED="${CSI}1;31m" | |
RTORRENT_PID=$(netstat -tlnp | awk '/:45000 */ {split($NF,a,"/"); print a[1]}') | |
# Vérification du fonctionnement de RTorrent |
I hereby claim:
To claim this, I am signing this object:
CREATE OR REPLACE FUNCTION CHARINDEX(text, text, integer) RETURNS integer AS $$ | |
SELECT CASE WHEN strpos(substr($2, $3+1), $1) = 0 THEN 0 | |
ELSE strpos(substr($2, $3+1), $1) + $3 END; | |
$$ LANGUAGE SQL IMMUTABLE RETURNS NULL ON NULL INPUT; | |
SELECT DISTINCT substring(mail,charindex('@',mail,1)+1,length(mail)) FROM table; |
#!/bin/bash | |
# Récupération de l'adresse IP WAN | |
WANIP=$(dig +short myip.opendns.com @resolver1.opendns.com) | |
if [ "$IP" = "" ]; then | |
WANIP=$(wget -qO- ipv4.icanhazip.com) | |
fi | |
read -p "> Veuillez saisir le nom d'hôte : " HOSTNAME |