This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
Conventions for this fork:
- done
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
Conventions for this fork:
<script language="JavaScript"> | |
function frameResize(frameObj) { | |
var frameHeight; | |
// Reset the height back to it's original (shrink the frame) | |
frameObj.height = '800px'; | |
// Set the frame height to match the content | |
frameHeight = frameObj.contentWindow.document.body.scrollHeight; | |
frameObj.height = frameHeight + 'px'; |
APIs should be easy to develop and deploy, that's our goal at 3scale. In the past, Steve recorded a video tutorial showing how easy it is to create an API using GRAPE Ruby framework and deploy on Heroku.
Today I wanted to show you, that APIs are platform agnostic and deploying to EngineYard is simple.
Requirements :
#Ce week-end, c'est hackathon !
Ce weekend était chargé au niveau des hackathons. Il y en avait un peu partout en Europe, le AngelHack London, le TechCrunch Disrupt à Berlin, en passant par BattleHack à Barcelone (auquel j'ai participé), le Hackathon du ministère de la culture à Paris, ou encore le départ des StartupBus Europe et certainement pleins d'autres ailleurs.
Des centaines, que dis-je des milliers de développeurs se sont amusés à construire des nouvelles apps, de nouveaux sites web, de nouveaux hardware pour le fun, et un peu pour le côté "fame". Les gagnants du AngelHack et du BattleHack gagnaient par exemple un voyage dans la Silicon Valley, la Mecque des geeks. Ceux du TC Disrupt, la modique somme de 10 000€ et la possibilité de pitcher sur scène. 24 heures de son temps pour repartir avec des prix si prestigieux, ça vaut certainement le coup !
Moi aussi je peux le faire ! Moi aussi je veux faire un hackathon !
Maman, quand je serai grand je gagnerai un hackathon ! Ça pourrait presque être le n
{ | |
"status": "success", | |
"data": [ | |
{ | |
"apiFileUrl": "http://apievangelist.com/api.json", | |
"authoritative": true, | |
"contact": [ | |
{ | |
"type": "email", | |
"url": "[email protected]" |
return function (request, next_middleware) | |
-- change to your own Twitter keys | |
api_key = "MY_TWITTER_API_KEY" | |
api_secret = "MY_TWITTER_API_SECRET" | |
-- concatenate by ':' | |
str = api_key .. ':' .. api_secret | |
console.log(str) | |
-- generate base64 string |
curl --request 'POST' 'https://stream.twitter.com/1.1/statuses/filter.json' --data 'track=accident' --header 'Authorization: OAuth oauth_consumer_key="BOqJoxLBCynsE8KPudaBu9Qgc", oauth_nonce="656ea20ff1b2e2debf67d9517e25a62b", oauth_signature="X8tuRF7%2FWE0fby0OWsFaiwJ%2BbGM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1402856048", oauth_token="954089953-Kanb4267w9ovT6kenJPxi5RitjcuCJ2i6AUcCScL", oauth_version="1.0"' --verbose |
{ | |
"name": "Sendgrid", | |
"description": "SendGrid's cloud-based email infrastructure relieves businesses of the cost and complexity of maintaining custom email systems. SendGrid provides reliable delivery, scalability and real-time analytics along with flexible API's that make custom integration a breeze.", | |
"type": "community", | |
"url": "http://sendgrid.com", | |
"image": "http://assets3.sendgrid.com/mkt/assets/logos_brands/horizontal/PNG/logo_full_color_flat-a982ded4b0b159db49a552f2cf490439.png", | |
"apis": [ | |
{ | |
"name": "Web API", | |
"description": "SendGrid offers a Web API that allows customers to retrieve information about their account such as statistics, bounces, spam reports, unsubscribes, and other information. This API is not RESTful since for most calls both GET and POST HTTP verbs can be used interchangeably, and other verbs are not supported.", |
resource :words do | |
get '/mots/:word' do | |
{word: params[:word], sentiment:"unknown"}.to_json | |
end | |
post ':word' do | |
{word: params[:word], result: "thinking"}.to_json | |
end | |
end |