> run
> fastOptJS
Generates a single JS file.
> fullOptJS
| const app = new Vue({ | |
| el: '#app', | |
| data: { | |
| product: 'Boots', | |
| myproducts: [ | |
| 'Boots', | |
| 'Jacket', | |
| 'Hiking Socks' | |
| ], | |
| products: [] |
| import java.io.IOException; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.util.List; | |
| import java.util.Random; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.Stream; | |
| public class Sources { | |
| public static void main(String[] args) throws IOException { |
| public class Main { | |
| enum Event { | |
| PLAY, STOP, PAUSE | |
| } | |
| public static void main(String[] args) { | |
| var event = Event.PLAY; | |
| switch (event) { | |
| case PLAY: |
| docker pull postgres:latest | |
| docker run -d --name guitar-db -p 5432:5432 -e 'POSTGRES_PASSWORD=p@ssw0rd42' postgres |
| npm init -y | |
| npm install --save typescript | |
| tsc --init |
| 'use strict'; | |
| let lime = new function() { | |
| this.type = 'Mexican lime'; | |
| this.color = 'green'; | |
| this.getInformation = function() { | |
| return 'This ' + this.type + ' is ' + this.color + '.'; | |
| }; | |
| } |
| Number.isSafeInteger(3.4); // false | |
| Number.isSafeInteger(3); // true |
| Lesson 1 SUMMARY | |
| 1. The cursor is moved using either the arrow keys or the hjkl keys. | |
| h (left) j (down) k (up) l (right) | |
| 2. To start Vim from the shell prompt type: vim FILENAME <ENTER> | |
| 3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes. | |
| OR type: <ESC> :wq <ENTER> to save the changes. |
| $ npm install -g atlas-connect | |
| # Create new hipchat addon project with a template | |
| $ atlas-connect new -t hipchat my-first-hipchat-addon | |
| $ ngrok http 3000 | |
| $ redis-server | |
| $ heroku create psingh-hipchat-hello |