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
var body = document.body.parentElement.innerHTML | |
var start = body.length | |
var dico = new Map() | |
var weight = null | |
var orders = null | |
//Grec Dictionnary | |
//var g = ["«","»","“","”","ʹ","͵","·",";","Α","Β","Γ","Δ","Ε","Ϛ","Ϝ","Ζ","Η","Θ","Ι","Κ","Λ","Μ","Ν","Ξ","Ο","Π","Ϟ","Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω","Ϡ","α","β","ϐ","γ","δ","ε","ϛ","ϝ","ζ","η","θ","ι","κ","λ","μ","ν","ξ","ο","π","ϟ","ρ","σ","ς","τ","υ","φ","χ","ψ","ω","ϡ"] | |
//Latin Dictionnary (better) |
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
import socket | |
import subprocess | |
import os | |
# Exemple de pattern ip | |
patternA = "10.99.99." | |
patternB = "10.0.0." | |
# Information Proxy utilisé dans le pattern ip B |
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
<Directory /> | |
#http://forum.ovh.com/showthread.php?t=19263 | |
<Files .htaccess> | |
order allow,deny | |
deny from all | |
</Files> | |
####################################################################################### | |
Options -Indexes | |
####################################################################################### |
Here the cron regex :
(((\*)|(([0-9]|[0-5][0-9]))|(((\*|([0-9]|[0-5][0-9]))\/([0-9]|[0-5][0-9])))|(([0-9]|[0-5][0-9])(,([0-9]|[0-5][0-9]))*)|(([0-9]|[0-5][0-9])-([0-9]|[0-5][0-9])(\/([0-9]|[0-5][0-9]))?)) ((\*)|(([0-9]|[0-1][0-9]|2[0-3]))|(((\*|([0-9]|[0-1][0-9]|2[0-3]))\/([0-9]|[0-1][0-9]|2[0-3])))|(([0-9]|[0-1][0-9]|2[0-3])(,([0-9]|[0-1][0-9]|2[0-3]))*)|(([0-9]|[0-1][0-9]|2[0-3])-([0-9]|[0-1][0-9]|2[0-3])(\/([0-9]|[0-1][0-9]|2[0-3]))?)) ((\*)|(([0-9]|[0-1][0-9]|3[0-1]))|(((\*|([0-9]|[0-1][0-9]|3[0-1]))\/([0-9]|[0-1][0-9]|3[0-1])))|(([0-9]|[0-1][0-9]|3[0-1])(,([0-9]|[0-1][0-9]|3[0-1]))*)|(([0-9]|[0-1][0-9]|3[0-1])-([0-9]|[0-1][0-9]|3[0-1])(\/([0-9]|[0-1][0-9]|3[0-1]))?)) ((\*)|(([0-9]|0[0-9]|1[0-2]))|(((\*|([0-9]|0[0-9]|1[0-2]))\/([0-9]|0[0-9]|1[0-2])))|(([0-9]|0[0-9]|1[0-2])(,([0-9]|0[0-9]|1[0-2]))*)|(([0-9]|0[0-9]|1[0-2])-([0-9]|0[0-9]|1[0-2])(\/([0-9]|0[0-9]|1[0-2]))?)) ((\*)|(([0-7]))|(((\*|([0-7]))\/([0-7])))|(([0-7])(,([0-7]))*)|(([0-7])-([0-7])(\/([0-7]))?)))|(@reboot|@yearly|@annually|@
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
package be.furie.example; | |
import java.util.regex.Pattern; | |
public class testNumber { | |
private static final Pattern PATTERN_INTEGER = Pattern.compile("[0-9]+"); | |
private static final int NUM_ELT = 1000000; |
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 | |
# GitHubGist MediaWiki extension v.1 | |
# Author: Danezis Kevin | |
# based on the work of Shohei Yokoyama (Shizuoka Univ. Japan) | |
# | |
#-Install | |
# 1. Save this code as $MediaWikiRoot/extensions/Gist/Gist.php | |
# 2. Append "require_once "$IP/extensions/Gist/Gist.php";" to LocalSetting.php | |
# | |
#-Usage |
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
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<title>Help me</title> | |
<style> | |
body{ | |
background-color: #000; | |
} | |
#wrapper{ |
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 | |
###################################################################################### | |
##### Sauvegarde fichier du NAS vers le serveur dédié avec lftp | |
###################################################################################### | |
## Remarque sur lftp | |
## + Le -e de mirror efface les fichiers qui n'existent plus. | |
###################################################################################### | |
## Paramètre en entrée | |
## 1 : le répertoire à sauvegarder | |
## 2 : le répertoire distant sur le FTP |
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 | |
###################################################################################### | |
##### Sauvegarde fichier d'un site web distant par FTP avec lftp | |
###################################################################################### | |
## Remarque sur lftp | |
## + Le -e de mirror efface les fichiers qui n'existent plus. | |
###################################################################################### | |
## Paramètre en entrée | |
## 1 : -e ou rien | |
## pour effacer tous les fichiers du local qui n'existent plus sur le FTP |