Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.
#!/bin/sh | |
# | |
# An example hook script to check the commit log message. | |
# Called by "git commit" with one argument, the name of the file | |
# that has the commit message. The hook should exit with non-zero | |
# status after issuing an appropriate message if it wants to stop the | |
# commit. The hook is allowed to edit the commit message file. | |
# | |
# To enable this hook, rename this file to "commit-msg". |
https://github.com/AFNetworking/AFIncrementalStore
##Accessing an API using CoreData's NSIncrementalStore https://gist.github.com/1860108 http://sealedabstract.com/code/nsincrementalstore-the-future-of-web-services-in-ios-mac-os-x/
##AppDelegate.m
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator
Note: the original location of this article is on my blog, however, it is posted here too for better readability.
In this article, we will see how to use Core Data for accessing your API. We will use the Bandcamp API as our running example. I've only been experimenting with this code for a few days, so there might be mistakes in there.
//var io = require('socket.io'); | |
var express = require('express') | |
, stylus = require('stylus') | |
, http = require('http') | |
, nib = require('nib'); | |
var app = express(); | |
var server = http.createServer(app); | |
var io = require('socket.io').listen(server); |
This is just a quick response to http://me.veekun.com/blog/2012/07/28/quick-doesnt-mean-dirty/. I won't bother to write a proper blog post for this, so a Gist will have to do ;)
When I read that article, one thing really striked me: If you want to quickly create a web app in PHP, you do exactly the same. I mean, exactly.
I never used the Silex microframework before, so I took this as a chance to see how it works. I'll just do the same as eevee did, only with a bit less commentary (this is a Gist after all!)
I hope that this will show you that PHP and Python are really similar to work with. Also this should show that just because you're using PHP, doesn't mean that you write dirty code. The similarity in the process and code is really incredible :)