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 documentcloud import DocumentCloud | |
""" | |
Delete each document in the specified project | |
""" | |
# define your variables | |
username = "USERNAME_HERE" | |
password = "PASSWORD_HERE" |
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 //// | |
// Set the vars | |
// be sure to minify the code: http://www.willpeavy.com/minifier | |
var cssContentOne = 'CSS HERE'; | |
var htmlContentOne = 'HTML HERE'; | |
var htmlContentTwo = 'HTML HERE'; |
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
page ='<div id="top_bin"><div id="top_content" class="width960"><div class="udacity float-left"><a href="http://www.xkcd.com">' | |
start_link = page.find('<a href=') | |
start_quote = page.find('"', start_link) | |
end_quote = page.find('"', start_quote+1) | |
url = page[start_quote+1:end_quote] |
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
// ARDUINO INPUT INCREMNENTER | |
// To measure the output of my desk pedals at work | |
// Adapted from Example 03A from "Getting Started with Ardunio" by Massimo Banzi | |
// Greg Linch | |
// http://www.greglinch.com | |
#define BUTTON 7 // input pin where the push button is connected; this will soon be replaced with alternative method to measure output of pedals | |
int val = 0; // store the state of the input pint |
NewerOlder