The purpose of this is not to be an exhaustive list or a reference for ES6 features. This is intended to share the interesting ideas that are coming down the pipeline and to explore their intentions.
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
- my normal flow? | |
- good commit messages ****** | |
- searching commit messages (group by keywords) | |
- searching code * | |
- working with history (viewing, time traveling) | |
- rebasing (for pulling & squashing, splitting a commit) * | |
- undoing local commits (soft, hard reset) | |
- forgot to add / change message (amend) | |
- LOST commits? * |
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
============================= | |
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html | |
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html | |
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html | |
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html | |
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html | |
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html | |
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html |
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
// This leaks insane amounts of memory | |
var fetchCallback = function(resolve, reject) { | |
resolve({'some':'test'}) | |
} | |
var fetch = function() { | |
return new Promise(fetchCallback) | |
} | |
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> | |
<html class="no-js{{ empty($class) ? '' : ' ' . $class }}" lang="pt-br" xmlns:ng="http://angularjs.org" id="ng-app"> | |
<head> | |
<title>{{ empty($title) ? '' : $title . ' | ' }}{{ Config::get('business.site_name') }}</title> | |
<!-- Meta --> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="robots" content="index, follow"> |
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 formatDuration (seconds) { | |
return [60, 3600, 86400, 31536000] | |
.reduceRight(function (results, current) { | |
var seconds = results.pop(); | |
results.push(Math.floor(seconds / current)); | |
results.push(seconds - results[results.length - 1] * current); | |
return results; | |
}, [seconds]) | |
.map(function (value, index) { | |
var words = ['year', 'day', 'hour', 'minute', 'second']; |
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
var Validations = (function(){ | |
var Validation = function() { | |
var name = $("[name='nome']"); | |
var email = $("[name='email']"); | |
var empresa = $("[name='empresa']"); | |
var telefone = $("[name='telefone']"); | |
var mensagem = $("[name='mensagem']"); | |
var regex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; |
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 collapse(){ | |
$.myView.collapse(); | |
// $.myView.expand(); | |
} |
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
// === Arrays | |
var [a, b] = [1, 2]; | |
console.log(a, b); | |
//=> 1 2 | |
// Use from functions, only select from pattern | |
var foo = () => [1, 2, 3]; |