Skip to content

Instantly share code, notes, and snippets.

Paul Vorbach pvorb

Block or report user

Report or block pvorb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.php
* This file grabs requested html files.
* @author Paul Vorbach <>
* @license MIT License
* @version 0.1.0
* @package org.genitis.yuki
pvorb / vimrc
Created Dec 15, 2010
sample vimrc file
View vimrc
set nocompatible
syntax on
filetype plugin indent on
set autochdir
set backspace=indent,eol,start
set clipboard+=unnamed
set backupdir=~/.vim/backup
set directory=~/.vim/tmp
set fileformats=unix
pvorb /
Created Jul 28, 2011
Backup script
# Sichert die Dateien auf host
if [ -d $DIR ]; then
cd $DIR
mkdir $DIR
cd $DIR
pvorb / split-germany.js
Created Aug 19, 2011
Split germany.osm into 20 handy chunks with Osmosis and Node.js
View split-germany.js
var n = 55.304138,
e = 15.380859,
s = 47.040182,
w = 4.394531;
var width = e - w,
height = n - s;
console.log("Width: " + width);
console.log("Height: " + height);
View mfc42ul_3.6.44.idc
This file has been truncated, but you can view the full file.
// +-------------------------------------------------------------------------+
// | This file has been generated by The Interactive Disassembler (IDA) |
// | Copyright (c) 2011 Hex-Rays, <> |
// | License info: 11-1111-1111-11 |
// | Bernd Zerlegt, The Internet |
// +-------------------------------------------------------------------------+
pvorb / time.js
Created Mar 21, 2012
Log the time on every second
View time.js
setInterval(function () {
console.log(getTime(new Date()));
}, 1000);
function pad(n) {
return n < 10 ? '0'+n : n;
function getTime(dt) {
return pad(dt.getHours())+':'+pad(dt.getMinutes())+':'+pad(dt.getSeconds());
View test.js
var test = require('test');
View gist:4151443

Almost one year ago I wrote an article that dealt with an emerging WebKit CSS technique, the CSS filter effects, and the question if we could not have/emulate them in other browsers, too. Turned out we could.

Today I want to talk about another WebKit-only technique and show you how you might be able to use it across all of the browsers: This is about...

CSS masks

CSS masks were added to the WebKit engine by Apple quite a while ago, namely back in April 2008. Masks offer the ability to control the opacity/transparency of elements on a per-pixel basis, similar to how the alpha/transparency-channel of "24-bit"-PNGs or 32-bit-TIFFs work.

These images consist of the usual R(ed) G(reen) and B(lue) channels that define the colors of each pixel. But on top there is a fourth channel, the alpha channel, that defines every pixel's opacity through luminance: White meaning opaque, black meaning transparent, and countless grey-values defining the semi-transparent inbet

pvorb / sbt-doc.log
Created Nov 28, 2012
sbt doc fails with java annotation
View sbt-doc.log
[info] Loading global plugins from C:\Users\Paul\.sbt\plugins
[info] Set current project to cataract (in build file:/C:/Dev/Scala/cataract/)
[info] Loading global plugins from C:\Users\Paul\.sbt\plugins
[debug] Running task... Cancelable: false, check cycles: false
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
View 2^2048
2^2048 =
You can’t perform that action at this time.