From | To | Expression |
---|
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 Tweet | |
import simplejson | |
import urllib2 | |
def read_tweets(user, num_tweets): | |
tweets = [] | |
url = "http://api.twitter.com/1/statuses/user_timeline.json?\ | |
screen_name=%s&count=%s&include_rts=true" % (user, num_tweets) | |
file = urllib2.urlopen(url) |
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
/* Flotr2 line chart with data points and labels */ | |
(function basic_bars(container, horizontal) { | |
var | |
horizontal = (horizontal ? true : false), // Show horizontal bars | |
d1 = [[0, 18.9],[1, 20.2],[2, 18.1],[3, 20.4],[4, 16.7], [5, 14.6]], // data series | |
point; // Data point variable declaration | |
// Draw the graph | |
Flotr.draw( |
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
""" | |
Title: Batch Image File Renaming | |
Author: Kat Chuang @katychuang | |
Copied from http://stackoverflow.com/questions/9835243/python-rename-multiple-image-files | |
""" | |
import os | |
# Create a list of files from the current directory who's last 4 characters | |
# as lowercase are either '.jpg' |
NYC PyLadies
Agenda for the evening:
- (Few mins) Introductions around the group and possibly breaking into smaller groups, of 6-8 each.
- (15-20mins) Attendees will install python (see links below in download links file)
Tentative Agenda for the evening:
- Introductions around the group
- Segment 1: Installations. Break into smaller groups based on OS.
- Segment 2: Projects. Select one of 3 tracks
Please bring:
- wifi enabled laptop
#Intro to Git/Github
NYC Pyladies Event Page
Intro to Git/Github
October 23, 2013 7-9pm RSVP
##Agenda
- General Announcements
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
OlderNewer