Zoomable Sunburst with Labels
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
diff --git a/asset.module b/asset.module | |
index a39f07f..6eaa645 100644 | |
--- a/asset.module | |
+++ b/asset.module | |
@@ -320,28 +320,30 @@ function asset_menu() { | |
'file' => 'includes/asset.admin.inc', | |
); | |
- $items['admin/assets/get'] = array( | |
+ $items['admin/assets/tag/%/%/%'] = array( |
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 | |
$object = new stdClass(); | |
$object->{'property'} = 'value 1'; | |
$object->{'42'} = 'value 2'; | |
$array = (array)$object; | |
var_dump($array); |
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
MySQL [plop]> create table test (str varchar(255), str2 text); | |
Query OK, 0 rows affected (0.18 sec) | |
MySQL [plop]> insert into test (str, str2) values ('plop', 'plop2'); | |
Query OK, 1 row affected (0.00 sec) | |
MySQL [plop]> select * from test; | |
+------+-------+ | |
| str | str2 | | |
+------+-------+ |
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(){ | |
var canvas = document.getElementById('hexmap'); | |
var hexHeight, | |
hexRadius, | |
hexRectangleHeight, | |
hexRectangleWidth, | |
hexagonAngle = 0.523598776, // 30 degrees in radians | |
sideLength = 10, | |
boardWidth = 100, |
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
#!/bin/bash | |
################################################################## | |
# Licensed under GNU GPL v3 # | |
# [email protected] # | |
# # | |
# DNS replacement scrpit in SQL dumps containing (also) PHP # | |
# serialized strings. # | |
# This script use bash and perl' perl is used to increment # | |
# serialized string length while performing DNS replacement # | |
# It also use sed for other basic DNS replacements # |
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
#!/usr/bin/env bash | |
FILE="$(mktemp)" | |
trap "rm $FILE; exit" EXIT | |
DEBUG=0 | |
if test "$1" = "-d"; then | |
DEBUG=1 | |
shift 1 | |
fi |
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
#!/bin/bash | |
PYBORG="/home/seeschloss/bin/deeborg --file=/home/seeschloss/deeplop-dlfp.db" | |
COOKIE="linuxfr.org_session=" | |
DEBUG=0 | |
BOTNAME="deeplop" | |
STATEFILE="$HOME/.deeplop.state" |
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
#!/bin/bash | |
DOMAINS="example.com www.example.com example.fr" | |
EMAIL="[email protected]" | |
SCRIPT=$(realpath "$0") | |
DIR=$(dirname "$SCRIPT") | |
CERTS="$DIR/certs" | |
WWW="$DIR/www" |
The Van der Grinten IV projection is available as d3.geo.vanDerGrinten4
in the geo.projection D3 plugin.
OlderNewer