Skip to content

Instantly share code, notes, and snippets.

View luebken's full-sized avatar

Matthias Lübken luebken

View GitHub Profile
@import <Foundation/CPObject.j>
@implementation AppController : CPObject
{
@outlet CPWindow theWindow;
@outlet CPTableView table;
}
- (void)applicationDidFinishLaunching:(CPNotification)aNotification { }
@import <AppKit/CPView.j>
@implementation TextFieldColumnView : CPView
{
CPTextField field;
}
- (id)initWithFrame:(CGRect)rect andTable:(id)table {
@import <AppKit/CPView.j>
@implementation TextFieldColumnView : CPControl
{
CPTextField field;
}
- (id)initWithFrame:(CGRect)rect andTable:(CPTableView)table {
self = [super initWithFrame:rect];
/*!
* Ext JS Connect
* Copyright(c) 2010 Sencha Inc.
* MIT Licensed
*/
/**
* Module dependencies.
*/
var helloWorld = function (callback) {
setTimeout(function() { callback("Hallo Welt") }, 100);
}
var vows = require('vows'),
assert = require('assert');
vows
.describe('Hello World')
.addBatch({
var assert = require('assert'),
EventEmitter = require('events').EventEmitter,
sys = require('sys'),
vows = require('vows');
var e = Object.create(EventEmitter.prototype);
vows.describe("Vows").addBatch({
"Creation": {
topic: e,
var assert = require('assert'),
EventEmitter = require('events').EventEmitter,
sys = require('sys'),
vows = require('vows');
vows.describe("Vows").addBatch({
"Creation": {
topic: function () {
var e = Object.create(EventEmitter.prototype);
process.nextTick(function () {
require('should');
exports.testSomething = function(test){
test.ok(true, "this assertion should pass");
test.done();
};
/*
exports.testSomethingElse = function(test){
test.ok(false, "this assertion should fail");
test.done();
@luebken
luebken / trello_points_to_google.js
Created February 23, 2012 17:06
grab points from trello and puts them into a google spreadsheet
// trello variables
var api_key = "<your_api_key>";
var api_token = "<your_api_token>";
var board_id = "<your_board_id>";
var url = "https://api.trello.com/1/";
// google variables
var spreadsheet = "<your_spreadsheet_id>";
var key_and_token = "key="+api_key+"&token="+api_token;

Keybase proof

I hereby claim:

  • I am luebken on github.
  • I am luebken (https://keybase.io/luebken) on keybase.
  • I have a public key whose fingerprint is 0473 A6C9 99CF 0B78 FD9B 807A 5E83 7C4D 39B9 953A

To claim this, I am signing this object: