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
<!doctype html> | |
</html> | |
<head> | |
<!--[if IE 6]> | |
<p>Welcome to Internet Explorer 6!</p> | |
<![endif]--> | |
<head> | |
</html> |
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
App = Ember.Application.create({}); | |
App.IndexRoute = Ember.Route.extend({ | |
setupController: function(controller) { | |
controller.set('content', ['a', 'b', 'c']); | |
} | |
}); |
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
App = Ember.Application.create({}); | |
App.Router.map(function() { | |
this.route("about", { path: "/about" }); | |
this.route("favorites", { path: "/favs" }); | |
}); |
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
______ _ _ | |
| ____| | | (_) | |
| |__ _ __ ___ | |__ ___ _ ___ _ ___ | |
| __| | '_ ` _ \| '_ \ / _ \ '__/| |/ __| | |
| |____| | | | | | |_) | __/ | _ | |\__ \ | |
|______|_| |_| |_|_.__/ \___|_|(_)| ||___/ | |
_/ | | |
|__/ |
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 twitter import * | |
from Tkinter import * | |
OAUTH_TOKEN = "" | |
OAUTH_SECRET = "" | |
CONSUMER_KEY = "" | |
CONSUMER_SECRET = "" | |
twitter = Twitter( | |
auth=OAuth(OAUTH_TOKEN, OAUTH_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
from json import dumps, loads | |
from kippt.kippt import Kippt | |
user = Kippt('my_username', password='my_password') # or.. user = Kippt('my_username', api_token='my_crazy_long_api_token') | |
#Take Urls and create a list | |
urls = open('url.txt', 'r') | |
urls = urls.read() | |
urlslist = urls.split('\n') |
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
gregimba => what up? | |
gregimba => this is great | |
gregimba => I can't wait to use this |
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
<form action="tweet.php" method="post"> | |
<p>Your tweet: <input type="text" name="tweet" /></p> | |
<p>Your @(handle): <input type="text" name="handle" /></p> | |
<p><input type="submit" /></p> | |
</form> |
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
@index.route('/') | |
@with_transaction | |
def Show(): | |
db = Database('sqlite', '/Users/grant/Documents/Archer/db.sqlite') |
OlderNewer