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
pvorb /
Last active Dec 19, 2015
Draft for a perfect Compile-to-JavaScript language

Ideas for a Compile-to-JavaScript language

  • val for constant values (maybe const?)
View Akka Questions
Hello Akka community,
I am currently writting my bachelor thesis "Comparison of Concurrency Frameworks for the JVM"
at the university of ulm in Germany. Since one qualitative property of an framework is also its
community and support I decided to check that by myself by asking this questions. This Gist repo
is thought to gather your ideas and oppinions about Akka relating to the questions below in oder
to improve my comparison. Feel free to answer as controversial as you want :). Just add the points
you miss. Thank you very much.
1. Why do you prefer Akka over other frameworks such as Gpars?
pvorb /
Created Apr 9, 2013
Accessible object literals in Java
public class Global {
public static Undefined undefined = Undefined.getInstance();
pvorb /
Last active Dec 16, 2015
Equivalent to object literals in Java
public class ObjLiteralsTest {
public void main(String[] args) {
Object user = new Object() {
int id = 1;
String name = "pvorb";
// and cannot be accessed,
// making the whole construct useless though

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).


One-to-Many relationship

In some web applications, we need to define a one-to-many relationship between two entities. For example, let's take github.

Example: One-to-Many relationship exists between user and repository. User pksunkara have 2 repositories octonode and hub

The entities are defined as the following:

var resourceful = require('resourceful');
View 2^2048
2^2048 =
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 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

View test.js
var test = require('test');
You can’t perform that action at this time.