Skip to content

Instantly share code, notes, and snippets.

@apeschar
apeschar / kino.css
Created May 19, 2011 14:23
Stylesheet voor de Studio Hilversum Kino player
/*
Plaats !important achter regels die veranderd worden:
display: none; ===> display: none !important;
*/
.kino .kino-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
@apeschar
apeschar / kino.html
Created May 19, 2011 14:27
Referentie HTML voor de Stylesheet
<div class="kino">
<div class="kino-overlay"></div>
<div class="kino-window">
<div class="kino-header">
<h1 class="kino-title"></h1>
<div class="kino-top-controls">
<a href="#" class="kino-mute">GELUID</a>
<a href="#" class="kino-close">X</a>
</div>
</div>
@apeschar
apeschar / controls.diff
Created August 15, 2011 07:44
Patch for Flowplayer controls r1673
Index: src/actionscript/org/flowplayer/controls/config/Config.as
===================================================================
--- src/actionscript/org/flowplayer/controls/config/Config.as (revision 1673)
+++ src/actionscript/org/flowplayer/controls/config/Config.as (working copy)
@@ -177,6 +177,8 @@
config.setHeightRatio(_style['timeBgHeightRatio']);
config.setSeparator(_style['timeSeparator'] || "/");
config.setTimeColor(_style['timeColor']);
+ config.setShowDuration(_style['showDuration'] === undefined ? true : _style['showDuration']);
+ config.setShowRemainingTime(_style['showRemainingTime'] || false);
<?php
function captaintan_wcwl_update_waitlist_success_message_text($text) {
return "De tekst die je wilt zien.";
}
add_filter('wcwl_update_waitlist_success_message_text', 'captaintan_wcwl_update_waitlist_success_message_text');
<?php
// Implementation of Conway's game of life in PHP
// Incomplete and buggy ;)
$board = "
-------------------
-------------------
-------------------
-------------------

Keybase proof

I hereby claim:

  • I am apeschar on github.
  • I am albertp (https://keybase.io/albertp) on keybase.
  • I have a public key whose fingerprint is 8022 5695 D993 CBE0 F57E 5DB2 D347 28F2 F58C 3490

To claim this, I am signing this object:

albert@ishtar ~ % ab -m POST -n 40 -c 4 'https://ht.kibohost.com/'
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ht.kibohost.com (be patient).....done
Server Software: nginx/1.12.0
Server Hostname: ht.kibohost.com
#!/usr/bin/env bash
set -euo pipefail
check_bin() {
if [[ ! -f $BIN/$1 ]]; then
echo "$1 not found in $BIN" >&2
exit 1
fi
}
#!/usr/bin/env bash
set -euo pipefail
check_bin() {
if [[ ! -f $BIN/$1 ]]; then
echo "$1 not found in $BIN" >&2
exit 1
fi
}