Skip to content

Instantly share code, notes, and snippets.

@ihsansatriawan
ihsansatriawan / tmux-cheatsheet.markdown
Created February 1, 2017 02:43 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
look process:
`lsof -i :<PORT NUMBER>
kill process
`kill -9 <PID>`
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
first_name Recency Frequency Monetary
Jesse 14 311 1547
Frances 175 151 2349
Carl 79 77 7189
Lisa 99 852 8626
Donald 108 318 5224
Clarence 30 171 8048
Pamela 131 350 5507
William 47 363 1024
Lisa 13 151 1440
#29 April 2017 - 1 May 2017
1. Learn basic Frontend
Reference : - https://github.com/kamranahmedse/developer-roadmap
- https://github.com/bmorelli25/Become-A-Full-Stack-Web-Developer
- https://github.com/mikesprague/udacity-nanodegrees
2. Learn TypeScript
Reference : - https://www.typescriptlang.org/
- https://learnxinyminutes.com/docs/typescript/
- http://tutorialzine.com/2016/07/learn-typescript-in-30-minutes/
- http://lividsoftware.com/post/How-to-code-and-debug-TypeScript
@ihsansatriawan
ihsansatriawan / Zsh & theme
Created May 28, 2017 20:16 — forked from leemour/Zsh & theme
Zsh installation and Agnoster theme settings
# Railscast
http://railscasts.com/episodes/308-oh-my-zsh
# Install Zsh
sudo apt-get update && sudo apt-get install zsh
# Install Oh-my-zsh
wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh
# Make ZSH default shell
xinput list //find your id touchpad
xinput list-props 13 //In my case, 13 is my toucpad id
//find your id properties, like :
libinput Tapping Enabled (290): 0
xinput set-prop 13 290 1 //make tapping enabled
@ihsansatriawan
ihsansatriawan / gist:fad6960505a94a8620bac620ee26dae3
Created May 18, 2018 00:03 — forked from leetreveil/gist:1092829
Change the author of a specific commit (git)
git filter-branch -f --env-filter 'if [[ "$GIT_COMMIT" = "119900cd7054c64f2b8e4774e59afbfc39a28e73" ]]; then export GIT_COMMITTER_NAME="Lee Treveil" GIT_AUTHOR_NAME="Lee Treveil" GIT_COMMITTER_EMAIL="[email protected]" GIT_AUTHOR_EMAIL="[email protected]"; fi' HEAD

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@ihsansatriawan
ihsansatriawan / anagram.js
Created June 7, 2018 04:41
Check if two string are anagram using Javascript
let anagram = (s1, s2) =>
s1.split('').sort().join('') === s2.split('').sort().join('')