git init
or
print 'RTS Simulator.' | |
# Import random numbers. | |
try: | |
# this should be the normal path if Python has access to the standard library. | |
import random | |
except: | |
# This is a fallback for IronPython when running wihtout access to the standard library | |
import _random as random |
var myVersion = "0.43"; | |
//last build 4/17/2014; 1:03:26 PM | |
var http = require ("http"); | |
var AWS = require ("aws-sdk"); | |
var s3 = new AWS.S3 (); | |
var urlpack = require ("url"); | |
var xmlrpc = require ("xmlrpc"); |
#!/usr/bin/python | |
import os | |
import errno | |
import sqlite3 | |
import sys | |
from time import time | |
from cPickle import loads, dumps | |
import logging |
- banal-signup (user management) | |
- banal-payments (cash money) | |
- banal-betalist (beta list hype tools) |
-------------------------------------------------------------------------------- | |
-- Unsupported Spaces extension. Uses private APIs but works okay. | |
-- (http://github.com/asmagill/hammerspoon_asm.undocumented) | |
spaces = require("hs._asm.undocumented.spaces") | |
-- Get output of a bash command | |
function os.capture(cmd) | |
local f = assert(io.popen(cmd, 'r')) | |
local s = assert(f:read('*a')) | |
f:close() |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
require "rubygems" | |
require "bundler" | |
require_relative "lib/importer" | |
Bundler.setup | |
desc "Import from Trello board" | |
task :import do | |
Importer.new(File.dirname(__FILE__)).import ENV["ISSUE"] | |
end |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
pip install networkx distance pattern | |
In Flipboard's article[1], they kindly divulge their interpretation | |
of the summarization technique called LexRank[2]. |