This file contains hidden or 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
// Fonction anonyme | |
(function (){ | |
var border_image = function(win) { | |
// On essaye de récupérer le document à partir de la fenêtre | |
var doc | |
try { | |
doc = win.document; | |
} catch(e) {} |
This file contains hidden or 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 AlphabounceEnhancer | |
// @namespace http://zilliox.me | |
// @description Improve the Alphabounce interface by adding the direction of the missions, the planets and the asteroids. This script also add a bloc-note. | |
// @include *.alphabounce.com/ | |
// @include *.alphabounce.com/?* | |
// ==/UserScript== | |
(function () { | |
var $; |
This file contains hidden or 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
# USAGE | |
usage() | |
{ | |
echo "usage: $0 [ -v ] <storage> <destination>" | |
echo "" | |
echo " -v : Increase the verbose" | |
echo "" | |
exit | |
} |
This file contains hidden or 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
<html> | |
<head> | |
<title>Parse SGF to JSON in Javascript</title> | |
<script type="text/javascript" src="sgf.js"></script> | |
<script type="text/javascript"> | |
window.onload = function() { | |
document.getElementById( 'form_sgf' ).onsubmit = function() { | |
parse_sgf( document.getElementById( 'textarea_sgf' ).value ); | |
return false; | |
} |
This file contains hidden or 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 | |
$app_list_strings['my_select_options']['value_1'] = 'Label 1'; | |
$app_list_strings['my_select_options']['value_2'] = 'Label 2'; | |
$app_list_strings['my_select_options']['value_3'] = 'Label 3'; | |
?> |
This file contains hidden or 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 | |
$viewdefs[ $module_name ][ 'EditView' ] = array( | |
// CONTENT | |
'panels' => array( | |
// PANEL | |
'lbl_panel_1' => array( | |
// ROW |
This file contains hidden or 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 | |
$config = array ( | |
'assignable' => true, | |
'acl' => true, | |
'has_tab' => true, | |
'studio' => true, | |
'audit' => true, | |
'templates' => |
This file contains hidden or 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 () { | |
if ( typeof( bm_popin ) == 'undefined' ) { | |
alert( 'Please update your Bookmarklet here: http://zilliox.me/bm' ); | |
} else { | |
// Instanciate a generic bookmarklet popin | |
var popin = new bm_popin( 1534085 ); | |
popin.title( 'What JS ?' ); | |
var no_framework = true; | |
// jQuery : http://jquery.com/ |
This file contains hidden or 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> | |
<head> | |
<meta charset="utf-8"> | |
<title>PrintPreview - A bookmarklet to preview the print version of a web page</title> | |
<meta name="viewport" content="initial-scale=1.0"> | |
<link rel="stylesheet" href="style.css" > | |
</head> | |
<body> | |
<h1>PrintPreview</h1> |
OlderNewer