This file contains hidden or 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> | |
| <meta charset="utf-8"> | |
| <link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"> | |
| <script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script> | |
| <style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
| <body> | |
| <div style="max-width:900px; -webkit-transform:rotate(0deg)"> | |
| <scene id="scene3" height="230"> |
This file contains hidden or 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> | |
| <meta charset="utf-8"> | |
| <link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"> | |
| <script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script> | |
| <style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
| <body> | |
| <div style="max-width:750px; max-height:750px; -webkit-transform:rotate(0deg)"> | |
| <scene id="scene1" height="350" width="350"> | |
| <drawing t="translate(1,52) rotate(2)" pose="2,10"> |
This file contains hidden or 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
| /* | |
| * Steps | |
| * 1. Rename your gulpfile.js to gulpfile.babel.js | |
| * 2. Add babel to your package.json (npm install -D babel) | |
| * 3. Start writing ES6 in your gulpfile! | |
| */ | |
| import gulp from 'gulp'; // ES6 imports! | |
| import sass from 'gulp-sass'; | |
This file contains hidden or 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
| /* | |
| * Steps | |
| * 1. Rename your gulpfile.js to gulpfile.babel.js | |
| * 2. Add babel to your package.json (npm install -D babel) | |
| * 3. Start writing ES6 in your gulpfile! | |
| */ | |
| import gulp from 'gulp'; // ES6 imports! | |
| import sass from 'gulp-sass'; | |
This file contains hidden or 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 varTest() { | |
| var x = 1; | |
| if (true) { | |
| var x = 2; // same variable! | |
| console.log(x); // 2 | |
| } | |
| console.log(x); // 2 | |
| } | |
| function letTest() { |
This file contains hidden or 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
| "use strict"; | |
| var angka = [1, 2, 3, 4, 5]; | |
| var kalikanDua = angka.map(function (n) { | |
| return n * 2; | |
| }); | |
| console.log(kalikanDua); // akan menampilkan [2,4,6,8,10] |
This file contains hidden or 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 angka = [1,2,3,4,5]; | |
| var kalikanDua = angka.map(n => n * 2); | |
| console.log(kalikanDua); // akan menampilkan [2,4,6,8,10] |
This file contains hidden or 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
Show hidden characters
| { | |
| "presets": ["es2015"] | |
| } |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| "###################################################################### | |
| " Vim-Plug for plugin managemen | |
| "###################################################################### | |
| call plug#begin('~/.config/nvim/plugged') | |
| "Vim Nerdtree | |
| Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
| " The sparkup vim script is in a subdirectory of this repo called vim. |
This file contains hidden or 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
| ############### Kill status tmux, its bad! | |
| set -g status off | |
| ############### Use UTF 8 | |
| set status-utf8 on | |
| set utf8 on | |
| set-window-option -g utf8 on | |