⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
/* | |
* object.watch polyfill | |
* | |
* 2012-04-03 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ |
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
<?php | |
require __DIR__.'/silex.phar'; | |
$app = new Silex\Application(); | |
$app->register(new Silex\Extension\TwigExtension(), array( | |
'twig.path' => __DIR__.'/views', | |
'twig.class_path' => __DIR__.'/vendor/twig/lib', | |
)); |
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> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |
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
// rAF polyfill based on https://gist.github.com/1579671 | |
(function(w) { | |
"use strict"; | |
// Find vendor prefix, if any | |
var vendors = ['ms', 'moz', 'webkit', 'o']; | |
for( var i = 0; i < vendors.length && !w.requestAnimationFrame; i++ ) { | |
w.requestAnimationFrame = w[vendors[i]+'RequestAnimationFrame']; | |
} |
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
function Player(id, name) { | |
this.id = id; | |
this.name = name; | |
this.hp = 100; | |
return this; | |
} | |
Player.prototype.attack = function(type) | |
{ | |
gameLogic.attack(this, type); |
##Preview
Display your iOS App Rating info. It uses iTunes Store website as the source.
##Usage
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
package main | |
import ( | |
"net/http" | |
"database/sql" | |
"fmt" | |
"log" | |
"os" | |
) |
OlderNewer