Skip to content

Instantly share code, notes, and snippets.

View odino's full-sized avatar
shipping!

Alessandro Nadalin odino

shipping!
View GitHub Profile

Solve the following task at your best:

Create a simple app (min iOS version: 6) able to consume a JSON API (/products/) returning a list of objects as follows:

{
	id: <int>,
	sku: <string>,
	productName: <string>,
	brandName: ,
@odino
odino / README.md
Created November 18, 2012 18:24 — forked from nrk/README.md
CI stuff for the Orient PHP library.

This repository contains the stuff needed to run the full test suite of Orient on Travis CI.

@odino
odino / gist.js
Created November 16, 2011 15:19 — forked from s3u/gist:1370108
gist.js
function probe(cb) {
var wsCtor = window['MozWebSocket'] ? MozWebSocket : WebSocket;
var socket = new wsCtor(uri, 'blah');
socket.onopen = function () {
// Send a probe
socket.send(JSON.stringify({
type: 'probe',
data: {}
}));
};
<?php
class User {
/**
* Returns the first address of the consumer, false otherwise.
*
* @return mixed
*/
public function getAddress()