Skip to content

Instantly share code, notes, and snippets.

View AndreasPizsa's full-sized avatar
⌨️

Andreas Pizsa AndreasPizsa

⌨️
View GitHub Profile
window.snazzymaps = {
version : "1.0",
license : "MIT",
title : "Light Gray",
description :"Subtle gray colors for modern flat websites."
url : "http://snazzymaps.com/style/132/light-gray"
author: {
name : "ColorByt",
url : "http://themeforest.net/user/ColorByt"
},
@AndreasPizsa
AndreasPizsa / gist:9f80bea0011518caf340
Created September 20, 2014 13:01
Using the iron_mq node library with Promises
iron_mq = require 'iron_mq'
Promises = require 'bluebird'
Promises.promisifyAll iron_mq.Client.prototype; # here be magick
# Example
imq = new iron_mq.Client
project_id: 'dsdadasdasdas'
token: 'lqwe7skjancc'
queue = imq.queue 'myQueue'

Keybase proof

I hereby claim:

  • I am AndreasPizsa on github.
  • I am andreaspizsa (https://keybase.io/andreaspizsa) on keybase.
  • I have a public key whose fingerprint is DAA4 42EC 7494 3222 5363 B924 5C65 3514 BE27 5643

To claim this, I am signing this object:

@AndreasPizsa
AndreasPizsa / works.ts
Created November 16, 2015 13:50
TS2 - lodash _.forEach
if (item.relations) {
item.relations.forEach((relation) => {
//
// ...
//
});
}

extra+ extra+ · rewarding relationships http://extraplus.at

What we do

extra+ connects the world’s leading consumer brands with millions of gamers everywhere. From Apple, Adidas or The Body Shop to Microsoft, Otto and Zalando - they all work with us to reward their loyal customers with free virtual currency for their favorite game.

Who we are

We are an international team of experienced, results-driven professionals with diverse backgrounds who value working with honest, smart, creative, goal oriented, experienced and highly motivated team players.

@AndreasPizsa
AndreasPizsa / gist:8222428
Last active January 2, 2016 00:19
ember.js + Bootstrap: HOWTO make Tabs show correctly and make the .active tab initially visible.

Pardon the CoffeeScript.

In your code:

App.BootstrapInitComponent = Ember.Component.extend
	initTabs : (()->
		$('.nav-tabs .active').tab('show')
	).on 'didInsertElement'

<html>
<head></head>
<body>
<h1>Hello, {{name}}</h1>
</body>
</html>
<h1>
Huhu, {{ name }}!
</h1>
<p>Diese Nachricht wurde wurde <b>automatisch</b> erstellt - alles, auch das PDF mit der Muster-Rechnung :)</p>
<p><span style="color: red">Was</span> <span style="color: green">sagst</span> Du <span style="color:blue">dazu</span>? :)</p>
package com.goodgamestest;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.qmetric.spark.authentication.AuthenticationDetails;
import com.qmetric.spark.authentication.BasicAuthenticationFilter;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
{
"": {
"// you'll need images for all the `playerItems` below" : "",
"// just append the item id to `assetsBaseUrl`": "",
"assetsBaseUrl": "https://via.placeholder.com/150?",
"// URL for the language file.":"",
"languageUrl": "https://bigfarm-html5.goodgamestudios.com/languages/latest/de.json"
},
"payoutTypes": [{