Don't want to read? Jump to the tl;dr.
Please Respond by Saturday (3/29)
![Let’s get down to business][mulan-business].
class Hook < Podio::Hook | |
end |
class Commentable(object): | |
#anything that inherits from this can be commentable | |
@property | |
def comment_type(self): | |
return self.comment_type | |
@property | |
def comment_url(self) | |
return "/comment/%(comment_type)s/%(id)s" % vars |
import requests, os | |
import multiprocessing | |
from PIL import Image | |
from StringIO import StringIO | |
from BeautifulSoup import BeautifulSoup | |
class VogueGallery(object): | |
def __init__(self, url): | |
self.base_url = 'HTTP://vogue.co.uk' | |
self.page = requests.get(url).content |
import XMonad | |
import XMonad.Config.Gnome | |
import XMonad.Util.EZConfig | |
import XMonad.Actions.CycleWS | |
import XMonad.Actions.GridSelect | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Hooks.UrgencyHook | |
import XMonad.Layout.NoBorders | |
import XMonad.Layout.ThreeColumns | |
import XMonad.Layout.Reflect |
import csv | |
import string | |
import sys | |
import re | |
RE_DATE = re.compile("([a-zA-Z]+) (\d+)$") | |
RE_INTERN = re.compile("(.+) \((.+)\)") | |
def parse_intern(line): | |
name, data = RE_INTERN.match(line).group(1,2) |
# Based on the example properties given at http://logging.apache.org/log4j/1.2/manual.html | |
# Set root logger level to DEBUG and its only appender to A1. | |
log4j.rootLogger=DEBUG,A1,file | |
# A1 is set to be a ConsoleAppender. | |
log4j.appender.A1=org.apache.log4j.ConsoleAppender | |
log4j.appender.file=org.apache.log4j.FileAppender | |
# A1 uses PatternLayout. | |
log4j.appender.A1.layout=org.apache.log4j.PatternLayout |
function! Viadict(word, thesaurus) | |
if !exists('g:viadict_window') | |
let g:viadict_window = bufnr('viadict_window', 1) | |
endif | |
if bufnr('%') != g:viadict_window | |
execute "below sb " . g:viadict_window | |
endif |
(require 'package) | |
(add-to-list 'package-archives | |
'("marmalade" . | |
"http://marmalade-repo.org/packages/")) | |
(package-initialize) | |
(defvar my-packages '(clojure-mode | |
clojure-test-mode | |
paredit)) |
Don't want to read? Jump to the tl;dr.
Please Respond by Saturday (3/29)
![Let’s get down to business][mulan-business].
title | author |
---|---|
Working with Apiary |
Nick Barnwell <[email protected]> |
From its inception the [OneNote API][dondc] team has been committed to delivering developers a modern, first-class developer experience. Ardent admirers of [Stripe][stripe], [Twilio][twilio], and [Akamai's][akamai-apiary] intuitive APIs and documentation we were keen to provide a similar experience when we launched our [completely redesigned developer portal][dondc]. Thus began