Skip to content

Instantly share code, notes, and snippets.

💭
🐱‍🐉

Aaron Powell aaronpowell

💭
🐱‍🐉
Block or report user

Report or block aaronpowell

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 PubSub.ts
module PubSub {
interface ISubscription {
(...args: any[]): void;
}
interface IDictionary {
[name: string] : ISubscription[];
}
var registry : IDictionary = {
View agenda.js
import * as cheerio from 'cheerio'
export const fetchAgenda = async () => {
const response = await fetch('https://ndcsydney.com/agenda')
const body = await response.text()
const talks = []
const $ = cheerio.load(body)
$('section.day').map((i, el) => {
// prettier-ignore
@aaronpowell
aaronpowell / .gitconfig
Last active Oct 7, 2015 — forked from shiftkey/merge-local-branches.ps1
Script to cleanup merged branches locally
View .gitconfig
[alias]
cb = "!f() { git branch --merged | grep -v "master" | while read i; do git branch -d $i; done; }; f"
@aaronpowell
aaronpowell / CustomerController.cs
Created May 17, 2011 — forked from PaulStovell/CustomerController.cs
JavaScript Editing - How would you improve this?
View CustomerController.cs
public class CustomerController : Controller
{
public CustomerRepository Repository = new CustomerRepository();
public ActionResult Index()
{
return View();
}
public JsonResult List()
View DictionaryTests.cs
public class Foo : IEquatable<Foo>
{
readonly int bar;
public Foo(int bar)
{
this.bar = bar;
}
public override bool Equals(object obj)
You can’t perform that action at this time.