In tmux, hit the prefix ctrl+b
(my modified prefix is ctrl+a) and then:
INGAT
CRTL + B
DULU YAK, sebelum perintah selanjutnya
{ | |
"extends": [ | |
"plugin:react/recommended", | |
"plugin:jest/recommended" | |
], | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"node": true, |
In tmux, hit the prefix ctrl+b
(my modified prefix is ctrl+a) and then:
INGAT
CRTL + B
DULU YAK, sebelum perintah selanjutnya
<?xml version="1.0"?> | |
<ruleset name="Laravel Standards"> | |
<!-- | |
The name attribute of the ruleset tag is displayed | |
when running PHP_CodeSniffer with the -v command line | |
argument. The description tag below is not displayed anywhere | |
except in this file, so it can contain information for | |
developers who may change this file in the future. | |
--> |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Create an empty git repo or reinitialize an existing one
$ git init
Here there are some examples of git commands that I use often. | |
Not all commands written here are git commands, but all of them are related to git. Please refer to the documentation for more details. | |
### Set your details | |
git config --global user.name "John Doe" | |
git config --global user.email "john@example.com" | |
Use --global to set the configuration for all projects. If git config is used without --global and run inside a project directory, the settings are set for the specific project. | |
### Make git ignore file modes |
set nocompatible " be iMproved, required | |
filetype off " required | |
set exrc | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" ==== PLUGINS ==== | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'vim-scripts/L9' |
auto tertata rapi | |
prefereneces -> key binding. | |
masukan ini | |
{"keys": ["alt+shift+x"], "command": "reindent", "args": {"single_line": false}} | |
atur ke kanan dan ke kiri block kode | |
// Sublime Text - Build System for Javascript | |
{ | |
"cmd": ["node", "$file"], | |
"selector": "source.js" | |
} |