This userscript is an improvment proposition for http://userscripts.org/scripts/show/139503
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
(function(){ | |
// TODO | |
})(); |
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
(function(){ | |
var current_question = 1; | |
var questions = document.getElementById( 'questions' ); | |
var question1 = document.getElementById( 'question1' ); | |
var question2 = document.getElementById( 'question2' ); | |
var answer = document.getElementById( 'answer' ); | |
document.converter.onsubmit = function(){ | |
if ( current_question == 1 ) { | |
var origin = document.converter.value.value; | |
if ( document.converter.unit.value == 'm' ) { |
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
(function(){ | |
var is_old_view = false; | |
var current_css_href = "./themes/SilverScreen2/css/common.css"; | |
var old_css_href = "./themes/SilverScreen2/css/common_old.css"; | |
var link = document.querySelector( '[href="' + current_css_href + '"]' ); | |
if ( link ) { | |
var popin = new bm_popin( 3068137 ); | |
var switch_view = function() { | |
is_old_view = ! is_old_view ; | |
if ( is_old_view ) { |
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
// ==UserScript== | |
// @name FluidBonjourMadame | |
// @description Add Keyboard controls to BonjourMadame | |
// @id me.zilliox.FluidBonjourMadame | |
// @homepageURL http://userscripts.org/scripts/show/138650 | |
// @supportURL http://userscripts.org/scripts/discuss/138650 | |
// @updateURL http://userscripts.org/scripts/source/138650.meta.js | |
// @author tzi | |
// @namespace http://zilliox.me | |
// @include http://www.bonjourmadame.fr/* |
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 | |
function subval_sort( $array, $subkey ) { | |
$compare = function( $a, $b ) use ( $subkey ) { | |
return strcasecmp( $a[ $subkey ], $b[ $subkey ] ); | |
} | |
uasort( $array, $compare ); | |
return $array; | |
} |
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
show_svn() { | |
if [ -d "$1.svn" ] | |
then | |
echo "$1.svn" | |
fi | |
for file in `ls -p $1 2>/dev/null | grep "/$"` | |
do· | |
show_svn "$1$file" | |
done | |
} |
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 | |
# UTILS | |
usage() { | |
echo "" | |
echo "SUPER FLATTEN" | |
echo "-------------" | |
echo "This script clean your eZ Publish database by removing unused entries" |
Bonjour.
Je constate que vous stockez sûrement mon mot de passe personnel et secret en clair sur vos serveurs. Je constate aussi que vous vous permettez de le diffuser par mail, quitte à risquer de le dévoiler à une tierce personne.
Sauf erreur de ma part, le choix technique que vous avez réalisé n'est pas juste envers les utilisateurs qui vous font confiance. Votre système d'identification est basé sur le fait que la seule personne qui connaît la forme lisible d'un mot de passe est son propriétaire. Or, vous stockez ce mot de passe en clair. Si une faille de sécurité est détectée sur vos serveurs, vous ne pourrez pas savoir si un mot de passe a perdu son intégrité.
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 | |
function usage( $argv ) { | |
echo PHP_EOL . | |
'Pidoa' . PHP_EOL . | |
'------------' . PHP_EOL . | |
'This script allow you to rename tv shows easily' . PHP_EOL . | |
PHP_EOL . | |
'Usage: php ' . $argv[ 0 ] . ' <folder_path> <pattern>' . PHP_EOL . | |
'Example: php ' . $argv[ 0 ] . ' ./ "Babylon 5 S%Sx%E %V"' . PHP_EOL . |