$ curl -sS https://getcomposer.org/installer | php
adicionar no .bashrc
alias composer="/usr/bin/php -d \"disable_functions=\" ~/composer.phar"
$ curl -sS https://getcomposer.org/installer | php
adicionar no .bashrc
alias composer="/usr/bin/php -d \"disable_functions=\" ~/composer.phar"
export class Collection { | |
constructor(items = { }) { | |
this.data = { } | |
this.replace(items) | |
} | |
set(key, value) { | |
this.data[ key ] = value | |
} |
/** | |
* Copyright 2018-present Bruno Carvalho de Araujo. | |
* This source code is licensed under the proprietary license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
import React, { Component, ReactNode, Fragment } from 'react' | |
import PropTypes from 'prop-types' | |
type Props = { |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
ECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard. ES6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009. Implementation of these features in major JavaScript engines is underway now.
See the ES6 standard for full specification of the ECMAScript 6 language.
ES6 includes the following new features:
// colors | |
$storm-grey: #797D84; | |
$alice-blue: #FCFEFF; | |
$hawkes-blue: #D9DEE4; | |
$pattens-blue: #DBE7EC; | |
$link-water: #D1D6DB; | |
$charlotte: #9FDBE5; |
$(document).ready(function () { | |
const win = window.open('http://google.com.br', '_blank') | |
setInterval(() => win.close(), 3000) | |
}) |
#!/usr/bin/env node --harmony-async-await | |
require('babel-register') | |
const program = require('commander') | |
const { version } = require('../package.json') | |
const { Model } = require('../src/models/Model') | |
// manage startup of application | |
program | |
.command('start') |