Skip to content

Instantly share code, notes, and snippets.

View seeschloss's full-sized avatar

SeeSchloß seeschloss

View GitHub Profile
-- Sets stress to an arbitrary value
--By Putnam; http://www.bay12forums.com/smf/index.php?topic=139553.msg5820486#msg5820486
--Modified by /u/sesszet
--@module = true
local help = [====[
set-stress
=============
Sets stress to 0 or -value <value>; the normal range is 0 to 500,000 with very stable or
very stressed dwarves taking on negative or greater values respectively.
bla
post_url: "https://[prout.free.fr]/post.php?user=deeplop&token=aa81cbe516a1f"
backend_url: "https://linuxfr.org/board/index.xml"
cookie: <vide>
@seeschloss
seeschloss / README.md
Created January 27, 2016 20:24 — forked from mbostock/.block
Van der Grinten IV
#!/bin/bash
DOMAINS="example.com www.example.com example.fr"
EMAIL="admin@example.com"
SCRIPT=$(realpath "$0")
DIR=$(dirname "$SCRIPT")
CERTS="$DIR/certs"
WWW="$DIR/www"
#!/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"
#!/usr/bin/env bash
FILE="$(mktemp)"
trap "rm $FILE; exit" EXIT
DEBUG=0
if test "$1" = "-d"; then
DEBUG=1
shift 1
fi
@seeschloss
seeschloss / README.md
Last active August 29, 2015 14:17 — forked from metmajer/README.md

Zoomable Sunburst with Labels

#!/bin/bash
##################################################################
# Licensed under GNU GPL v3 #
# regis.leroy@gmail.com #
# #
# 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 #
(function(){
var canvas = document.getElementById('hexmap');
var hexHeight,
hexRadius,
hexRectangleHeight,
hexRectangleWidth,
hexagonAngle = 0.523598776, // 30 degrees in radians
sideLength = 10,
boardWidth = 100,