Skip to content

Instantly share code, notes, and snippets.

View druu's full-sized avatar

David Wosnitza druu

  • Wuppertal, Germany
View GitHub Profile
body {
font-family: sans-serif;
}
table {
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
}
td {
border-bottom: 1px solid #ccc;
@druu
druu / popcorn.js
Created June 19, 2014 13:49
Wavepot: Popcorn Example (with first draft of sequencer)
/*!
*
* popcorn - let's do this!
* ------------------------
*/
var Arrangement = {
lead: {
notes: [
@druu
druu / ImgurHook.php
Created September 2, 2014 10:34
Imgur Image extractor
<?php
class ImgurHook extends Hook {
protected $dependencies = array('phpQuery');
protected static $re_frontpage_posts = '~class="post".+?src="//([^"]+?)" title="([^<"]+?)[<"]~misu';
protected static $re_single_post = array(
'image' => '~<img src="//([^"]+?)" alt~misu',
'title' => "~id='image-title'>(.+?)</h2>~misu"
);
# Output Setup
output HDMI-A-1 pos 0,0 res 1920x1080
output HDMI-A-2 pos 1920,0 res 1920x1080
output VGA-1 pos 3840,0 res 1920x1080
workspace "1: emacs" output HDMI-A-1
workspace "2: web" output HDMI-A-2
workspace "3: xcom" output VGA-1

Keybase proof

I hereby claim:

  • I am druu on github.
  • I am druu (https://keybase.io/druu) on keybase.
  • I have a public key whose fingerprint is EF7B 2FE7 8E3D 3D58 3032 50A3 517C 6DDC D655 93D3

To claim this, I am signing this object: