- Twitter (free) - hasn't been updated in forever, but it's still a great way to interact with Twitter. https://itunes.apple.com/us/app/twitter/id409789998?mt=12
- CloudApp (free) - really easy way to share pictures and other stuff. Just drag the picture to the menu bar icon. https://itunes.apple.com/us/app/cloud/id417602904?mt=12
- The Unarchiver (free) - easiest way to unzip stuff Mac doesn't unzip automatically. https://itunes.apple.com/us/app/the-unarchiver/id425424353?mt=12
- iA Writer (50% off right now - $5) - A wonderfully minimal writing interface with an expertly crafted large-letter font and the option to go into an even more minimal focus mode. https://itunes.apple.com/us/app/ia-writer/id439623248?mt=12
- Evernote (free) - Keep track of all the things forever. I scan all of my important physical mail into this and have access to it on my phone wherever I am. You have to buy the premium service to secure it with a password, though. https://itunes.apple.com/
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 random | |
def main(): | |
start = n = round(random.random() * 100000) | |
i = 0 | |
while not n == 1: | |
i += 1 | |
if n % 2: | |
# The remainder isn't zero, so this evaluates to True |
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 types | |
from django.conf import settings | |
from urllib import urlencode | |
from django.core.cache.backends.base import BaseCache | |
from django.utils.encoding import smart_str | |
#future-proofing against any Django upstream additions of new cache methods. | |
# If we didn't do this, we'd silently use the base class's methods, which wouldn't | |
# use the prefix as required. | |
_expected_methods = set(['__contains__', '__init__', 'add', 'close', |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.danga.memcached</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/memcached</string> | |
<string>-u</string> |
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
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"> | |
<os:ShortName>Django.me</os:ShortName> | |
<os:Description>Search Django.me</os:Description> | |
<os:InputEncoding>UTF-8</os:InputEncoding> | |
<os:Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABWklEQVQ4jaWTvUtCYRSH+5/M24dFQ+q1D2kI2hrTawmB1NISgS4WRktDRYZEU1DQB1RDVBAFTQ1BwYXQGoog0pup1/d9WtQgM2924CzvOe8D55zfr2k6HsXmczaU0/EoTfWa7H43dr+7Zv1XQNtoD1JKhBAomkq+kMc0TRzBfmuA9rFeJCClRNFUhBQA1gDdoUHcE0OUQ9FUOoJeOoPe2iPYNTeL23GeX1/4HoqmkjYyZLIGjmDfz4CFzSUAzKLJ1ukeq/sbFIWoAIQoj1ADoD/eA7Cyu155yxXyX4B6O3gz0gBMLUcaA9yldAB2zg+rAC0BD0LK3wHhxHxlacmnB671G2TpU9f4QKXWOtpT+4wza3PcpXSKoghANvfBbVJnODIGgJF9t6bEZr+LloCnJGcXR1cnAJxdX1iXss3nRNFUDi6PARBSoMUm/wYoeyKciDEyG6o203/t/An332rBvCVygAAAAABJRU5ErkJggg==</os:Image> | |
<SearchForm>http://django.me/</SearchForm> | |
<os:Url type="text/html" method="GET" template="http://django.me/{searchTerms}"></os:Url> | |
</SearchPlugin> |
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
Brickmasonry tender | |
Remodeler's assistant | |
Grocery cart attendant | |
Checkout clerk | |
Department store associate | |
Department manager | |
Delivery truck loader | |
Paint counter clerk/mixer | |
Bank teller | |
Financial ops service rep |
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 | |
""" | |
Requires apachelog. `pip install apachelog` | |
""" | |
from __future__ import with_statement | |
import apachelog | |
import csv | |
import re | |
import sys | |
from optparse import OptionParser |
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 | |
cd $WORKSPACE | |
#Get our virtual env setup | |
virtualenv -q ve | |
source ./ve/bin/activate | |
export DJANGO_SETTINGS_MODULE=myproject.conf.jenkins.settings | |
pip install -q --log=$WORKSPACE/pip.log --exists-action=w -r requirements.pip |
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 datetime import datetime | |
from io import BytesIO | |
try: | |
from PIL import Image as PILImage | |
except ImportError: | |
try: | |
import Image as PILImage | |
except ImportError: | |
raise ImportError("The Python Imaging Library was not found.") |
OlderNewer