Skip to content

Instantly share code, notes, and snippets.

View shduff's full-sized avatar

shaunalynn shduff

View GitHub Profile
@shduff
shduff / [DGMD S-15] people page card.markdown
Last active August 29, 2015 14:24
[DGMD S-15] people page card

[DGMD S-15] people page card

Change this card to include a picture and information about yourself. When you are done, export it as a gist to your Github account and we will incorporate your card into the class website at dgmds15.github.io/people

A Pen by shaunalynn on CodePen.

License.

@shduff
shduff / YXeVWL.markdown
Last active August 29, 2015 14:24
YXeVWL
@shduff
shduff / twilt.py
Created May 2, 2012 21:39
a script so you can tweet your wilts!
import twitter
import time
import smtplib
### accessing twitter
my_twitter_handle = 'TWITTER_HANDLE'
api = twitter.Api(consumer_key='vEf9l4GJuj3uKkdFIusMZg',
consumer_secret='Ehgx0rXeIfdGmCFioou5L2h150pWStXXunAvH8zxZM',
access_token_key='17968824-gBnCQdGVPuiKhtzJXtUow9HwKV3vyu7Ok3vY1nd8',
# do you expect anyone but yuppies?!
A week or two ago, I received this message from a friend who's been in
the loop of sprout's activities for awhile:
**put the actual quote here!
My first instinct was to reply, "Well, no."
The streetbeest is a project aimed at revealing the educational
capacity of artistic work and public spectacle.
Inspired by (and named after) the work of Dutch kinetic sculptor Theo
Jansen <http://strandbeest.org>, the first incarnation of the
streetbeest was a 12 foot tall mechanical sculpture built from wood
and PVC pipe. At over 15 feet wide, it took up nearly 2 full lanes as
it paraded down Massachusetts Avenue in the 2010 HONK! Festival
<http://honkfest.org> in Somerville, MA. It was built by more than 4
A while back, Julian Gomes came up with the idea for a chaotic,
mechanical synth. Unlike a traditional synthesizer, this instrument
would be driven entirely mechanically with no electronic components.
Also unlike your usual synth, it would require multiple people to
operate. In order to play the thing, you would need different people
controlling the different aspects of the sound, from key to tempo to
chord progression and note duration. At this point, that project is
getting under way on its own in the form of a program run by Julian
called <a href="">Mechanical & Kinetic Sculpture :: Making Moving
@shduff
shduff / poly.py
Created September 23, 2010 17:49
TO POLY SIDE ANGLE
REPEAT FOREVER
FORWARD SIDE
RIGHT ANGLE
@shduff
shduff / square1
Created September 21, 2010 11:57
while True:
forward(100)
right(90)
def divide_list(divisor_list,number):
"""
This function takes a list (divisor_list) and tests each
number in the list to see if it divides evenly into some
number (number). If the list elements don't divide
evenly (i.e. if number%divisor>0) it stops the loop from
running more and returns False. Otherwise, it goes through
and tests each element in the list and returns True.
"""
does_divide=True
# sum of all multiples of 3 and 5 between 0 and 1000, problem 1
l=[]
for i in range(0,1000):
if i%3==0 or i%5==0:
l.append(i)
total=0