I hereby claim:
- I am notjosh on github.
- I am notjosh (https://keybase.io/notjosh) on keybase.
- I have a public key whose fingerprint is 39A3 94AE F58C E5B2 BA80 E667 4F7C B5F4 47EA CA40
To claim this, I am signing this object:
[18:54:09] <TEKPT> how can i define a class variable to be = x ? | |
[18:54:18] <TEKPT> { | |
[18:54:22] <TEKPT> int k = 5; | |
[18:54:23] <TEKPT> } | |
[18:54:26] <TEKPT> does not wantz |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'fileutils' | |
$PROJECT = Dir.pwd.split(File::SEPARATOR)[-1] | |
$HOME = "#{Dir.home}/.lolcommits/#{$PROJECT}" | |
$OUT_PATH = "#{Dir.pwd}/lolcommits" | |
map = `git log --pretty=format:"%H %ad" --date=iso | tail -r | sed 's/ [\+\-][0-9][0-9][0-9][0-9]$//' | sed 's/[:\-]//g' | awk '{print substr ($1, 0, 11), $2"-"$3}'`.split("\n") |
(474, 'chunks found') | |
first timestamp: 81457259 | |
0: 0x29 | |
60: 0x29 | |
120: 0x29 | |
180: 0x29 | |
240: 0x29 | |
300: 0x29 | |
360: 0x29 | |
420: 0x29 |
CmdUtils.CreateCommand({ | |
name: 'tabs', | |
description: 'Count the number of tabs and windows you have open', | |
icon: 'https://addons.mozilla.org/img/app-icons/firefox.png', | |
author: { name: 'Joshua May', email: 'notjosh@gmail.com'}, | |
homepage: 'http://notjosh.com/', | |
execute: function() | |
{ | |
var wm = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator); | |
var counts = this._count(wm); |
CmdUtils.CreateCommand({ | |
name: 'tabs', | |
description: 'Count the number of tabs and windows you have open', | |
icon: 'http://www.spreadfirefox.com/files/spreadfirefox_RCS_favicon.png', | |
author: { name: 'Joshua May', email: 'notjosh@gmail.com'}, | |
homepage: 'http://notjosh.com/', | |
execute: function() | |
{ | |
var wm = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator); | |
var counts = this._count(wm); |
shows the number of tabs (and windows) via the `tabs` command in ubuquity |
#include <iostream> | |
#include <ctime> | |
using namespace std; | |
// here's the class. a constructor, the subtraction operator and the date property | |
class qDate | |
{ | |
public: | |
explicit qDate(time_t aDate); |
compo@compos-Mac-mini ~ » npm list | |
/Users/compo | |
└─┬ node.io@0.3.3 | |
├── coffee-script@1.1.1 | |
├── htmlparser@1.7.3 | |
└─┬ jquery@1.6.2 | |
└─┬ jsdom@0.2.0 | |
└── request@1.9.8 | |
compo@compos-Mac-mini ~ » npm list -g | |
/usr/local/lib |
var nodeio = require('node.io'); | |
exports.job = new nodeio.Job({max: 1, retries: 1, auto_retry: false, jsdom: true }, { | |
/* init: function () { | |
//The initial input is page 1 of search results | |
this.input = ["http://www.nuffieldtheatre.co.uk/events/category/C81/"]; | |
},*/ | |
input: ["http://www.nuffieldtheatre.co.uk/events/category/C81/"], | |
run: function (search_page) { |