This file contains hidden or 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
| /* Theremin | |
| * -------- | |
| * | |
| * | |
| * Created 24 October 2006 | |
| * copyleft 2006 Tod E. Kurt <[email protected] | |
| * http://todbot.com/ | |
| */ | |
| int potPin = 0; // select the input pin for the potentiometer |
This file contains hidden or 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
| /* | |
| * Code for cross fading 3 LEDs and then taking user input | |
| * to increase the stepwise intensity of the corresponding LED | |
| * r for red, b for blue, g for gree | |
| * by: [email protected] | |
| * License: MIT | |
| */ | |
| // Output |
This file contains hidden or 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
| /*fonts*/ | |
| @font-face{ | |
| font-family: 'OpenSans Regular'; | |
| src: url('../resources/fonts/opensans/opensans_regular.ttf') format('truetype'); | |
| } | |
| @font-face{ | |
| font-family: 'OpenSans Bold'; | |
| src: url('../resources/fonts/opensans/opensans_bold.ttf') format('truetype'); | |
| } | |
| @font-face{ |
This file contains hidden or 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
| .vagrant |
This file contains hidden or 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
| # Add a spacer to the left side of the Dock (where the applications are) | |
| defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
| # Add a spacer to the right side of the Dock (where the Trash is) | |
| defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
| killall Dock |
This file contains hidden or 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/python | |
| """ Program Aim | |
| More description about the program | |
| """ | |
| __author__ = "@Name" | |
| __email__ = "@Email" | |
| __python_version = "Python 2.7.3 -- EPD 7.3-2 (32-bit)" |
This file contains hidden or 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
| def print_attributes(obj): | |
| for attr in obj.__dict__: | |
| print attr, getattr(obj, attr) |
This file contains hidden or 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
| <div class="timer"> | |
| <div class="timer"> | |
| <div class="timer"> | |
| <div class="timer"> | |
| <div class="timer"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> |
This file contains hidden or 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
| auth = OAuthHandler(CLIENT_ID, CLIENT_SECRET, CALLBACK) | |
| auth.set_access_token(ACCESS_TOKEN) | |
| api = API(auth) | |
| venue = api.venues(id='4bd47eeb5631c9b69672a230') | |
| stopwords = nltk.corpus.stopwords.words('portuguese') | |
| tokenizer = RegexpTokenizer("[\w’]+", flags=re.UNICODE) |