Skip to content

Instantly share code, notes, and snippets.

View simonewebdesign's full-sized avatar
🇺🇦
💙 💛

Simone Vittori simonewebdesign

🇺🇦
💙 💛
View GitHub Profile
@simonewebdesign
simonewebdesign / first-commit.js
Last active October 26, 2016 12:27 — forked from JamesWP/Get the first commit url.js
A snippet using GitHub's public API to get the URL and SHA of the first commit for a given repo. Works also for private repos, but you need a token.
// A snippet using GitHub's public API to get
// the URL and SHA of the first commit for a given repo
function openFirstCommit(userorg, repo, authToken) {
var opts = authToken ?
{ headers: new Headers({
'Authorization': 'token ' + authToken
})
} : {}
//
// DetailsController.m
// iOsNative
#import "DetailsController.h"
#import "CustomDetailsCell.h"
#import "JsonReader.h"
#import "PList.h"
@implementation DetailsController
@simonewebdesign
simonewebdesign / hack.php
Last active December 16, 2015 19:09 — forked from anonymous/hack.php
I did it for teh lulz
<?php
class Foo {
public function bar() {
return "bar";
}
public static function baz() {