Skip to content

Instantly share code, notes, and snippets.

View pahund's full-sized avatar

Patrick Hund pahund

View GitHub Profile
@pahund
pahund / dabblet.css
Created April 24, 2012 10:19 — forked from LeaVerou/dabblet.css
Sticker
/* Sticker */
.sticker {
position: relative;
width: 3.5em;
height: 3.5em;
padding: 1em .5em 0;
margin: 100px;
background: deeppink;
color: white;
@pahund
pahund / dabblet.css
Created April 24, 2012 12:54
slide out tabs
/**
* slide out tabs
*/
li {
float: left;
width: 100px;
height: 10px;
list-style: none;
display: block;
@pahund
pahund / dabblet.css
Created April 24, 2012 13:08
CSS animation - glowing black box
/**
* CSS animation - glowing black box
*/
@keyframes rainbow {
from, to { box-shadow: 0 0 15px 0 red }
16% { box-shadow: 0 0 15px 0 yellow }
32% { box-shadow: 0 0 15px 0 green }
48% { box-shadow: 0 0 15px 0 aqua }
64% { box-shadow: 0 0 15px 0 blue }
80% { box-shadow: 0 0 15px 0 fuchsia }
@pahund
pahund / dabblet.css
Created April 24, 2012 13:11
Rotating smiley
/**
* Rotating smiley
*/
@keyframes outer {
100% { transform: rotate(360deg) }
}
@keyframes inner {
100% { transform: rotate(-360deg) }
@pahund
pahund / dabblet.css
Created May 3, 2012 16:15
U.T.A. - Unified Test Architecture (Dummy)
/**
* U.T.A. - Unified Test Architecture (Dummy)
*/
body {
font-family: sans-serif;
font-size: 80%;
margin: 0;
background-image: linear-gradient(top, slategray 70px, silver 150px);
background-repeat: no-repeat;
background-color: silver;
@pahund
pahund / dabblet.css
Created June 14, 2012 16:46
Kanban History
/**
* Kanban History
*/
#kanbanHistory {
padding: 10px;
border-radius: 10px;
box-shadow: 5px 5px 10px 0 black;
background: linear-gradient(#114070 25px, #3C78B5 30px, white 35px);
}
@pahund
pahund / de.mobile.rapidboard.combinedlimits.user.js
Last active March 1, 2016 09:54
A Greasemonkey plugin that allows you to define combined WIP limits for columns on your Jira Agile board (f.k.a. RapidBoard). To group columns, the first word of the column name is used.
// ==UserScript==
// @name Jira Rapid Board combined limits
// @namespace Jira
// @include https://jira.corp.mobile.de/jira/secure/RapidBoard.jspa*
// @version 4
// @grant none
// ==/UserScript==
(function jiraRapidBoardCombinedLimits($) {
function refreshLimits() {
{
"id": "DE/P/OB/H",
"lang": "de",
"client": {
"ip": "::ffff:127.0.0.1",
"url": "http://localhost:3000?pmtest=1437728069",
"header": {
"cookie": "axd=100216471054020008; whiteLabelBehavior=\"Visit from returning Visitor - Mobile\"; mobileNpsSurvey=off; recent=28502; _m_u=f0339679-c505-46fa-8fa8-cc126efc6f24; featureVariant.hydra.1=test; mobile.LOCALE=de",
"accept-language": "en-US,en;q=0.8,de;q=0.6,ru;q=0.4,es;q=0.2",
"accept-encoding": "gzip, deflate, sdch",
@pahund
pahund / gc-stats-build-error
Created September 22, 2015 07:42
Error message shown when trying to build gc-stats 0.0.5 with NodeJS 4.1.0
> gc-stats@0.0.5 install /Users/pahund/git/public-home-germany-node/node_modules/mde-node-metrics/node_modules/gc-stats
> node-gyp rebuild
CXX(target) Release/obj.target/gcstats/src/gcstats.o
In file included from ../src/gcstats.cc:3:
../node_modules/nan/nan.h:324:27: error: redefinition of 'NanEnsureHandleOrPersistent'
NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {
^
../node_modules/nan/nan.h:319:17: note: previous definition is here
v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
@pahund
pahund / wallaby.js
Created October 19, 2015 13:54
Wallaby test configuration with env.params.env – there seems to be a problem with comma-separated env variables
const babel = require("babel");
module.exports = function () {
return {
files: [
"app/**/*.js"
],
tests: [
"test/app/**/*-test.js"