Skip to content

Instantly share code, notes, and snippets.

{
"debts": ['ihsansatriawan', 'mutirowahani']
}
@ihsansatriawan
ihsansatriawan / gist:4f0a0ea578a9568bb0f4c09b839875c9
Created February 25, 2019 02:20
noted from code jam k8s jkt
1s-jakarta-7821
gcloud config list project
docker build -t node-app:0.2 .
docker run -p 4000:80 --name my-app node-app:0.1 --> foreground
docker run -p 4000:80 --name my-app -d node-app:0.1 --> background
docker ps // docker ps -a
@ihsansatriawan
ihsansatriawan / 00_etc-hosts.md
Created November 28, 2018 11:25 — forked from mul14/00_etc-hosts.md
/etc/hosts for Vimeo, Netflix, Reddit, and Imgur.

Unblock Vimeo, Netflix, Reddit, dan Imgur

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows

Tambahkan list di bawah ke %System32%\Drivers\etc\hosts

query mainCategoriesQueries($id: Int!, $query: String) {
categoryList(id: $id, query: $query) {
categories {
cat_id
url
name
title
parent
applinks
has_child
@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('')

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 / 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
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 / 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
#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