-
Download Command Line Tools for your OS X version from: https://developer.apple.com/downloads/
-
Install Homebrew, it's a third party package manager for OS X: http://brew.sh/
-
System preferences
- Set key repeat fast and delay minimum from system preferences
- Set screen auto dimming off
-
Disable rubber band scrolling
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/python | |
# -*- coding: UTF-8 -*- | |
from unicodedata import category | |
class Text(object): | |
def __init__(self, text): |
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
""" | |
Haskell-style infinite "list" testing. | |
""" | |
def infinite_range(step): | |
i = 0 | |
while True: | |
yield i | |
i += step |
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
import json | |
import time | |
import urllib2 | |
from decimal import Decimal | |
import smtplib | |
# Amount of percentage highest bitcoin bid order can change in time_window | |
# If this is exceeded, alert is called |
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 pprint import pprint | |
from boto import ec2 | |
def main(): | |
ec2conn = ec2.connection.EC2Connection(region=ec2.get_region('eu-west-1')) | |
reservations = ec2conn.get_all_instances() | |
instances = [i for r in reservations for i in r.instances] | |
for i in instances: | |
pprint(i.__dict__) |
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
""" | |
1. Install Mongo | |
2. pip install eve | |
3. python blog-backend-api.py | |
""" | |
# Mongo setup | |
MONGO_PORT = 27017 | |
MONGO_USERNAME = 'test-blog' | |
MONGO_PASSWORD = 'test-blog' |
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
SELECT * from Opiskelija, Suoritus, Suorite WHERE SUORITUS.Opiskelija = Opiskelija.Opnum AND Suoritus.Suorite = Suorite.SuoriteID AND Opnum='XXXXXX'; |
- http://haaveinc.com/software/piikki
- http://www.helloreceipts.com/#sthash.nlU9iXj8.dpbs
- http://www.receiptmate.net/
- http://www.imore.com/best-app-keep-track-receipts-your-iphone
- https://www.shoeboxed.com/
- https://itunes.apple.com/us/app/expensify-expense-reports/id471713959?mt=8
- https://play.google.com/store/apps/details?id=wb.receipts
- http://www.igeeksblog.com/best-iphone-receipt-tracking-apps/
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/python | |
# -*- coding: UTF-8 -*- | |
# | |
# Written by Kimmo Brunfeldt | |
# IRClog stats generator. | |
import re | |
import sys | |
import time | |
import logger |
OlderNewer