Skip to content

Instantly share code, notes, and snippets.

Malte Ubl cramforce

Block or report user

Report or block cramforce

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 gist:621814
var campaign = (function () {
// Build a string of all campaigns, adgroups, and keywords.
// Add the first 4 natural search results for each keyword.
function summary() {
// Maltes Account
AdWordsApp.setCustomerId(76158113, 6557889129);
var campaigns = AdWordsApp.getCampaigns();
var data = [];
campaigns.forEach(function (c) {
data.push(c.getName() + " " + c.isEnabled());
View eventlog.js
(function() {
var events = ["load", "error"];
events.forEach(function(type) {
document.addEventListener(type, function(e) {
console.log('[Event] ' + type, e.target);
}, true);
});
})();
View gist:985461
Hi,
Malte emailed me about giving a presentation about node.js but I haven't heard from him in a while. So I'm submitting this request to be a speaker, just in case :)
I'd really like to give a talk about my project node.js http://tinyclouds.org/node/
ry
View gist:1044797
function set() {
var origTimeout = window.setTimeout;
window.setTimeout = function(cb, time) {
if (time == null || time == 0 && typeof cb === 'function') {
var active = true;
var mc = new MessageChannel();
mc.port1.onmessage = function() {
if (active) {
cb();
}
View de.json
{
"locale": "de",
"text": {
"#authors": [
{
"name": "Malte Ubl",
"screen-name": "cramforce"
}
],
"tweet": {
View gist:1228770
javascript:(function(){var style=document.createElement('style');style.textContent='.popupContent{display:none}';document.body.appendChild(style);})()
@cramforce
cramforce / lyrics.txt
Created Oct 3, 2011
I Will Code and JavaScript Will Listen
View lyrics.txt
Artist: https://twitter.com/mandylauderdale
I wouldn't be so alone
If my Github followers lived in my home
Alex Russell would send a pull request
But I'd be too busy
Return to San Francisco by nine
That guy Brendan Eich, did he see my sign
He makes me smile all the time
His lines of code would compliment mine
@cramforce
cramforce / javascript_will_listen.txt
Created Oct 9, 2011 — forked from joemccann/javascript_will_listen.md
JavaScript Will Listen - By Bella Morningstar
View javascript_will_listen.txt
Artist: https://twitter.com/mandylauderdale
I wouldn't be so alone
If my Github followers lived in my home
Alex Russell would send a pull request
But I'd be too busy
Return to San Francisco by nine
That guy Brendan Eich, did he see my sign
He makes me smile all the time
His lines of code would compliment mine
View floodit-solver.js
(function() {
var MAX_ROUNDS = 25;
var MAX_RECURSION_DEPTH = 4;
var cheatCount = 0;
(function cheat() {
function asArray(arraylike) {
return Array.prototype.slice.call(arraylike);
}
function gameField() {
View gist:1424936
var e = {}, f = require.m || function() {
};
if(!f("dojo-has-api")) {
var g = "undefined" != typeof window && "undefined" != typeof location && "undefined" != typeof document && window.location == location && window.document == document, h = this, i = g && document, k = i && i.createElement("DiV"), l = {}, f = function(a) {
return l[a] = "function" == typeof l[a] ? l[a](h, i, k) : l[a]
};
f.b = l;
f.add = function(a, b, c, d) {
("undefined" == typeof l[a] || d) && (l[a] = b);
return c && f(a)
You can’t perform that action at this time.