-
Simple made easy by Rick Hickey Author of Clojure
-
Why OO Sucks Erlang by Joe Armstrong Author of Erlang
-
execution in kingdom of nouns by Steve Yegge
-
Perception and Action by Stuart Halloway
-
Pure, functional JavaScript by Christian Johansen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r1.ams03s07.c.youtube.com 74.125.15.6 | |
r2.ams03s07.c.youtube.com 74.125.15.7 | |
r3.ams03s07.c.youtube.com 74.125.15.8 | |
r4.ams03s07.c.youtube.com 74.125.15.9 | |
r5.ams03s07.c.youtube.com 74.125.15.10 | |
r6.ams03s07.c.youtube.com 74.125.15.11 | |
r7.ams03s07.c.youtube.com 74.125.15.12 | |
r8.ams03s07.c.youtube.com 74.125.15.13 | |
r9.ams03s07.c.youtube.com 74.125.15.14 | |
r10.ams03s07.c.youtube.com 74.125.15.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "cjson" | |
local dt = require "date_time" | |
--[[ | |
From trink in IRC - thanks! | |
Example use: | |
[HttpListenInput] | |
address = "0.0.0.0:8325" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Helpers | |
*/ | |
function clone(obj) { | |
var copy = {}, | |
prop; | |
for (prop in obj) { | |
if (hasOwn(obj, prop)) { | |
copy[prop] = obj[prop]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#-.- coding=utf8 -.- | |
import unittest | |
from selenium import webdriver | |
import os | |
from selenium.webdriver.common.proxy import Proxy | |
class Selenium2OnSauce(unittest.TestCase): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch --merged origin/master | grep -v '\* master' | xargs -l1 git branch -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.gis.db import models | |
from django.contrib.auth.models import UserManager, AbstractUser | |
class UserManager(UserManager, models.GeoManager): | |
pass | |
class User(AbstractUser): | |
objects = UserManager() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update submodules automatically after checkout | |
---------------------------------------------- | |
Put the file post-checkout in .git/hooks/ | |
Make it executable | |
(chmod u+x .git/hooks/post-checkout) | |
Never update your submodules manually again (unless something goes horribly wrong)! |
Here are instructions on how to flash your Geeksphone.
- First of all you'll need to have adb and fastboot, these are included in the Android SDK
- If your phone can be turned on, enable 'Remote debugging' (in Settings -> Device Information -> More information -> Debugging)
- Now see if your device is listed when you type
adb devices
in the terminal - If so: run
adb reboot bootloader
- Now see if your device is listed when you type
- If your phone is bricked, load into bootloader by pressing power and volume up
- Verify that the phone is listed when running
fastboot devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ========================================================= | |
# celerybeat - Starts the Celery periodic task scheduler. | |
# ========================================================= | |
# | |
# :Usage: /etc/init.d/celerybeat {start|stop|force-reload|restart|try-restart|status} | |
# :Configuration file: /etc/default/celerybeat or /etc/default/celeryd | |
# | |
# See http://docs.celeryproject.org/en/latest/tutorials/daemonizing.html#generic-init-scripts |