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, |
#!/bin/bash | |
# This script zeroes out any space not needed for packaging a new Ubuntu Vagrant base box. | |
# Run the following command in a root shell: | |
# | |
# bash <(curl -s https://gist.github.com/justindowning/5670884/raw/vagrant-clean.sh) | |
function print_green { | |
echo -e "\e[32m${1}\e[0m" | |
} |
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/
https://orga.cat/posts/most-useful-git-commands http://guides.beanstalkapp.com/version-control/common-git-commands.html
bahasa indonesia https://www.petanikode.com/tutorial/git/
git fetch daripada git pull
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 "[email protected]" | |
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' |