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
;; Remove menu bar | |
(menu-bar-mode -1) | |
;; Line highlight | |
(global-hl-line-mode t) | |
(custom-set-faces '(highlight ((t (:weight bold))))) | |
;; Line number | |
(global-linum-mode t) | |
(setq linum-format "%d ") |
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
bind pubm -|- "*youtube.*watch*v=*" youtubesurl | |
proc youtubesurl {nick host hand chan text} { | |
set youtubelogo "\002\00301,00You\00300,04Tube\002\017" | |
set textf "\002\017" | |
set youtubecheck [regexp -all -nocase {(v=[\d\w-]{11})} $text youtubeid] | |
if {$youtubeid != ""} { | |
set youtubesite www.youtube.com | |
set youtubeurl "/watch?$youtubeid" | |
if {[catch {set youtubesock [socket -async $youtubesite 80]} sockerr]} { |
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 | |
# TODO: | |
# - Handle antifreeze detection | |
# - Handle transfer of backup on external server | |
####################### CONFIG ####################### | |
MYSQLHOST="127.0.0.1" | |
MYSQLUSER="root" | |
MYSQLPASS="" | |
MYSQLDBAUTH="auth" | |
MYSQLDBCHAR="characters" |
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/sh | |
git filter-branch -f --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_AUTHOR_NAME" = "[email protected]>" ] |
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
<?php | |
/* | |
* Search into website societe.com if a SIRET exists or not | |
*/ | |
function SIRETExists($checkSIRET) | |
{ | |
$checkRCS = substr($checkSIRET, 0, 9); | |
$retURL = @file_get_contents("http://www.societe.com/cgi-bin/recherche?rncs=".$checkRCS); | |
if (empty($retURL)) |
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
-- Script Name: Slap | |
-- Version: 1.6.2 | |
-- Description: Slap script executes a /me action that will highlight and humiliate the subject | |
-- Author: Nikolas 'Okeanos' Grottendieck | |
on textualcmd(parameter, destinationChannel) | |
-- setup | |
-- linebreak character | |
set nl to ASCII character 10 |
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
1/ | |
Install : https://github.com/davromaniak/scriptomaniak/blob/master/pbuilderrc | |
ARCH="amd64" DIST="jessie" pbuilder create --othermirror "deb http://mirrors.xbmc.org/test-builds/apt/debian stable/" --extrapackages "wget libfuse2 libgcrypt11 udev autopoint" | |
2/ | |
ARCH="amd64" DIST="jessie" pbuilder --login --save-after-exec --debootstrap qemu-debootstrap |
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
diff --git a/tools/Linux/packaging/mk-debian-package.sh b/tools/Linux/packaging/mk-debian-package.sh | |
index 5fd2efc..d4f5f5d 100755 | |
--- a/tools/Linux/packaging/mk-debian-package.sh | |
+++ b/tools/Linux/packaging/mk-debian-package.sh | |
@@ -151,9 +151,9 @@ function buildDebianPackages { | |
} | |
function uploadPkg { | |
- PKG="${PBUILDER_BASE}/${dist}-${arch}/result/${DEST/-/_}-${TAGREV}_${arch}.changes" | |
+ PKG="${PBUILDER_BASE}/${dist}/${arch}/result/${DEST/-/_}-${TAGREV}_${arch}.changes" |
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
<?php | |
// Put your Betaserie account informations | |
define("API_KEY", ""); | |
define("LOGIN", ""); | |
define("PASSWORD", ""); | |
// END OF CONFIGURATION |
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
{ | |
"volumes": null, | |
"id": "/mariadb/node", | |
"cmd": null, | |
"args": [ | |
"--binlog-format=row", | |
"--wsrep_on", | |
"--wsrep_cluster_name", | |
"fathosting_wsrep_cluster", | |
"--wsrep_provider", |
OlderNewer