Skip to content

Instantly share code, notes, and snippets.

View greenido's full-sized avatar
🏃‍♂️
Running with a big smile

Ido Green greenido

🏃‍♂️
Running with a big smile
View GitHub Profile

Why should you care about ES6 (the next edition of JavaScript)? Won't you have to wait decades in order to be able to use it?

No, for three reasons.

Node.js

Node.js uses a relatively up-to-date version of v8, the JavaScript engine from Chrome. The Chrome team participates in TC39 (the committee that makes JavaScript) and is tracking the progress of ES6 very closely.

If you're using node.js, you can already start taking advantage of some parts of ES6, and will probably be able to use all of the ES6 features once it is standardized in 2013.

@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007
@igrigorik
igrigorik / links.md
Created August 28, 2012 16:53
HAR Show links & resources
@johannesnagl
johannesnagl / Tweetsheets
Created August 9, 2012 10:25
Use Twitter directly in your Google Doc, so no one will ever blame you for being social
var CONSUMER_KEY = "<< YOUR KEY HERE >>";
var CONSUMER_SECRET = "<< YOUR SECRET HERE >>";
function getConsumerKey() {
return CONSUMER_KEY;
}
function getConsumerSecret() {
return CONSUMER_SECRET;
}
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';
@greenido
greenido / IndexDB-demo3.html
Created June 24, 2011 22:34
IndexDB demo for MDC day (Chrome 12+ and FF4+)
<!DOCTYPE html>
<html>
<head>
<title>IndexDB Demo - Version 1.1</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="author" content="Ido Green"/>
</head>
<style>
#footer {
background-color: yellowgreen;
@greenido
greenido / indexDB-demo2.html
Created June 24, 2011 21:16
IndexDB demo for Chrome and FF
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title>IndexDB Demo - Version 1.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@greenido
greenido / Rank your book collection
Created April 26, 2011 02:46
read a list of books (from a collection on your hard drive) and use amazon review to rank them. This is helpful if you have lots of books. It's good to put the best one on your kindle.
<?php
/**
* Description: read a list of books (from a collection on your hard drive)
* and use amazon review to rank them. This is helpful if you have (like me) more then 1,000 books.
* It's good to put the best one on your kindle.
*
* @author Ido Green
* @date 4/24/2011
* @see http://greenido.wordpress.com/
@kentbrew
kentbrew / saferDocumentWrite.js
Created March 29, 2011 20:59
Hey, experts? Have I just fixed document.write?
We couldn’t find that file to show.
@greenido
greenido / jQueryMobileTemplate-1.js
Created March 22, 2011 22:58
jQuery Mobile start up template page to kick your app quickly
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>XXX</title>
<!-- CSS -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
<link rel="apple-touch-icon" href="images/XXX.png"/>
<link rel="apple-touch-startup-image" href="images/XXX-home-screen.png" />