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
<?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
#!/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
#!/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
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
;; 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 ") |
NewerOlder