Open terminal
sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text
| http://www.technoreply.com/how-to-install-sublime-text-2-on-ubuntu-12-04-unity/ |
| #Força a utilizar Cache-Control e Expires header | |
| <IfModule mod_headers.c> | |
| Header unset ETag | |
| </IfModule> | |
| FileETag None | |
| <IfModule mod_expires.c> | |
| ExpiresActive on | |
| ExpiresDefault "access plus 1 month" | |
| ExpiresByType text/cache-manifest "access plus 0 seconds" | |
| # Html |
| [global_config] | |
| title_hide_sizetext = True | |
| title_transmit_bg_color = "#18c814" | |
| [keybindings] | |
| [profiles] | |
| [[default]] | |
| word_chars = "-A-Za-z0-9,./?%&#:_=+@~" | |
| palette = "#000000:#f57900:#73d216:#d4c17f:#41c8f2:#ce5c00:#c17d11:#73d216:#262626:#edd400:#73d216:#ef2929:#00abff:#ba9f00:#e9b96e:#ad7fa8" | |
| background_image = None | |
| background_darkness = 0.82 |
| #!/bin/sh -e | |
| ### BEGIN INIT INFO | |
| # Provides: something warm and fuzzy | |
| # Required-Start: vboxdrv | |
| # Required-Stop: vboxdrv | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: starts suspended vagrant boxes and suspends running vagrant boxes | |
| # Description: | |
| ### END INIT INFO |
| var Table = React.createClass({ | |
| render: function render() { | |
| var _self = this; | |
| var thead = React.DOM.thead({}, | |
| React.DOM.tr({}, | |
| this.props.cols.map(function (col) { | |
| return React.DOM.th({}, col); | |
| }))); |
| // Code goes here | |
| angular.module('fasterAngular', []). | |
| controller('mycontroller', ['$scope', function($scope){ | |
| $scope.framework = 'ReactJs'; | |
| $scope.data = { | |
| cols: [], | |
| rows: [] | |
| }; | |
| layout | permalink | title | tweet_title | og_image_relative |
|---|---|---|---|---|
post |
/labs/reactjs-introduction-for-people-who-know-just-enough-jquery-to-get-by |
React.js Introdução para pessoas que já sabem o suficiente de jQuery para sobreviver |
Uma introdução à #React.js para pessoas que já sabem o suficiente de jQuery para sobreviver |
/images/labs/jquery-style-vs-react-style.png |
| var timeInit = new Date(); | |
| var Nightmare = require('nightmare'); | |
| // Dados de acesso | |
| var Aluno = { | |
| usuario : 'seu_usuario', | |
| senha : 'sua_senha', | |
| unidade : '1' // número da unidade, ex.: 63 | |
| }; |
| var Nightmare = require('nightmare'); | |
| var username = ''; | |
| var password = ''; | |
| new Nightmare() | |
| .viewport(800, 600) | |
| .goto('https://instagram.com/accounts/login/') | |
| .wait() |