View index.html
<!DOCTYPE html>
<html>
<head>
<title>Hello Node Webkit</title>
</head>
<body>
<div id="my"></div>
<script>
var ctx = document.getElementById('my');
var image = new Image();
View csr.php
<?php
$keyConfig = [
'private_key_type' => OPENSSL_KEYTYPE_RSA,
'private_key_bits' => 2048,
];
$key = openssl_pkey_new($keyConfig);
$sanDomains = [
'mydomain.tld',
View curl_ipv6.php
<?php
# Requires PHP 5.5
$ch = curl_init("https://sqs.eu-central-1.amazonaws.com/");
curl_setopt($ch, CURLOPT_HEADER, 0);
#curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);
if($errno = curl_errno($ch)) {
View rules
#!/usr/bin/make -f
#export DH_VERBOSE=1
CFLAGS ?= $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS ?= $(shell dpkg-buildflags --get LDFLAGS)
WITH_SPDY := $(shell printf "Source: nginx\nBuild-Depends: libssl-dev (>= 1.0.1)\n" | \
dpkg-checkbuilddeps - >/dev/null 2>&1 && \
echo "--with-http_spdy_module")
%:
View cd_a_file.sh
# Never cd a file and get the warning it's no a directory
# Important to unset the variable for ZSH prompt
function cd() {
FORWARD_ARGS=()
for ARG in "$@"
do
case "$ARG" in
-L) FORWARD_ARGS+=("-L")
;;
-P) FORWARD_ARGS+=("-P")
View bug.php
<?php
$content = <<<'EOF'
Line 1
Line 2
Line 3
Line 4
EOF;
$tmpCsvFile = new SplTempFileObject();
View 01_xpath_test_suite.txt
/
//@*
//*
/..
.
./*
..
../..
''
'+'
View keybase.md

Keybase proof

I hereby claim:

  • I am dol on github.
  • I am dol (https://keybase.io/dol) on keybase.
  • I have a public key whose fingerprint is DABD 5E2C A413 8B4F B514 021B 539A DA06 ADEE FD14

To claim this, I am signing this object:

View README.rst

Custom puppet version preinstall for vagrant

Add the following line to you 'Vagrantfile':

config.vm.provision :shell do |s|
  s.path = "preinstall.sh"
  s.args = "3.1.1-1puppetlabs1"