I hereby claim:
- I am FredrikWendt on github.
- I am wendt (https://keybase.io/wendt) on keybase.
- I have a public key whose fingerprint is 8B75 ED00 EC85 5DE4 0C6E 86EB 8215 6248 9B1E 4234
To claim this, I am signing this object:
package se.wendt.statoil.mastercard; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.concurrent.CountDownLatch; | |
import java.util.concurrent.TimeUnit; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; |
package se.wendt.statoil.mastercard; | |
import java.util.ArrayList; | |
import java.util.concurrent.CountDownLatch; | |
import redis.clients.jedis.Jedis; | |
import redis.clients.jedis.JedisPubSub; | |
public class JedisTest { |
public class Consumer implements UserAPIConsumer { | |
@Override | |
public void doit(UserAPI userAPI) { | |
userAPI.withCurrentOrNextPeriod(new BillingPeriodContext() { | |
@Override | |
public void executedIfPeriodExists(BillingPeriod period) { | |
System.out.println("yes: " + period); | |
} | |
@Override | |
public void executedOtherwise() { |
package fluent; | |
public class ObjectWikiExample { | |
public void someMethod(ObjectWikiDatabaseConnection databaseConnection) { | |
List<Books> books = FromDatabase(dbConn).select(Book.class).with("cover", equal("red")).with("author", like("%Wendt")).fetchAll(); | |
for (Book book : books) { | |
System.out.println(book); | |
} | |
} |
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
cd | |
sudo apt-get update | |
sudo apt-get upgrade |
// higher order "method" (class) | |
public abstract class UseSafely<T> { | |
public abstract T with(AccountConnection connection); | |
public T runWith(AccountConnection connection) { | |
synchronized (connection) { | |
try { | |
connection.open(); | |
return with(connection); |
var Child = function(name) { | |
this.nextChild = null; | |
this.name = name; | |
} | |
var DisneyClub = function() { | |
this.toppen = null; | |
this.shift = function(newTop) { | |
newTop.nextChild = this.toppen; |
// ==UserScript== | |
// @name Adapt ScrumGuides | |
// @namespace se.wendt.scrumguides | |
// @include http://scrumguides.org/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var a = function () { | |
var getURLParam = function(name) { | |
var search = window.location.search; |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" | |
__version__ = "0.1" | |
__all__ = ["SimpleHTTPRequestHandler"] |