🤷♂️
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 sys, os | |
import webbrowser | |
from bs4 import BeautifulSoup | |
import urllib | |
### Config | |
URL = 'http://www.brooklinema.gov/index.php?option=com_content&view=article&id=208&Itemid=783' | |
### Functions |
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 | |
from dropbox import client, rest, session | |
import webbrowser | |
import keychain | |
import sys | |
import os | |
### Config | |
config = json.load(open('config.json', 'r')) |
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 keychain | |
import os, sys | |
path, script = os.path.split(sys.argv[0]) | |
name, ext = os.path.splitext(script) | |
print "### %s ### " % name | |
SERVICE = 'dropbox' | |
keychain.delete_password(SERVICE, 'key') | |
keychain.delete_password(SERVICE, 'secret') |
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 | |
from dropbox import client, rest, session | |
import webbrowser | |
import keychain | |
import sys | |
import os | |
### Config | |
config = json.load(open('config.json', 'r')) |
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 os, sys | |
path, script = os.path.split(sys.argv[0]) | |
name, ext = os.path.splitext(script) | |
print "### %s ### " % name | |
config = json.load(open('config.json', 'r')) | |
print "Common configuration settings:" |
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
// Photoshop Script to Create iPhone Icons from iTunesArtwork | |
// | |
// WARNING!!! In the rare case that there are name collisions, this script will | |
// overwrite (delete perminently) files in the same folder in which the selected | |
// iTunesArtwork file is located. Therefore, to be safe, before running the | |
// script, it's best to make sure the selected iTuensArtwork file is the only | |
// file in its containing folder. | |
// | |
// Copyright (c) 2010 Matt Di Pasquale | |
// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.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
// javascript:javascript:%20function%20emailURL()%20{var%20r%20=%20%[email protected]%22;var%20d%20=%20document;var%20x%20=%20%22mailto:%22%20+%20r%20+%20%22?subject=%22%20+%20d.title%20+%20%22&body=%22%20+%20d.location;window.location.href%20=%20x;}emailURL();void(0) | |
javascript: function emailURL() { | |
var r = "[email protected]"; | |
var d = document; | |
var x = "mailto:" + r + "?subject=" + d.title + "&body=" + d.location; | |
window.location.href = x; | |
} | |
emailURL(); | |
void(0) |
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
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
NSString *CellIdentifier = @"Cell"; | |
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; | |
if (cell == nil) { | |
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; | |
} | |
// Set the font and text based on the index path |
NewerOlder