Skip to content

Instantly share code, notes, and snippets.

View pvorb's full-sized avatar
🏠
Working from home

Paul Vorbach pvorb

🏠
Working from home
View GitHub Profile

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

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');
@pvorb
pvorb / awesome-php.md
Last active December 15, 2015 05:29 — forked from ziadoz/awesome-php.md

Awesome PHP Libraries

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

@pvorb
pvorb / Akka Questions
Last active December 19, 2015 22:59 — forked from TommiK/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
pvorb / notes.md
Created December 18, 2014 01:43 — forked from gangstead/notes.md

Typesafe webinar notes: Spray & Akka HTTP

Presenter - Mathias Doenitz

Spray.io

  • embeddable http stack built on Akka actors
  • Just an HTTP integration layer, not for building full web apps
  • Server & client side
@pvorb
pvorb / java-todo.md
Last active April 6, 2019 21:46 — forked from spilth/java-todo.md
Java Developer To Do List

This is a collection of tasks/exercises/experience I want to have accomplished as a Java Developer. I'm leaving the tasks undone so that others can easily copy this list and track their own progress.

If you have suggested additions, please leave a comment below.

  • Create a Maven project using the command-line
  • Test Driven Development using a testing framework
    • JUnit
    • Hamcrest Matchers
  • Behavior Drive Development using a framework
  • Cucumber