Skip to content

Instantly share code, notes, and snippets.

View loslch's full-sized avatar

ChangHun Lee loslch

View GitHub Profile
@loslch
loslch / INSTALL.md
Created May 30, 2018 00:49 — forked from arya-oss/INSTALL.md
Ubuntu 16.04 Developer Tools installation

Ubuntu 16.04 Developer Tools Installation

First things first !

sudo apt update
sudo apt upgrade

Standard Developer Tools

sudo apt-get install build-essential git
@loslch
loslch / .gitconfig
Last active April 3, 2018 01:08 — forked from rakyll/gist:452e2e748a2a990ed5b8838861eafc12
useful git alias
s = status --short --branch --ignore-submodules=untracked
find = log --pretty=\"format:%Cgreen%H\n%s\n\n%b\" --name-status --grep
amend = commit --amend --no-edit
undo = reset HEAD~
upload = "!git push rakyll $(git rev-parse --abbrev-ref HEAD)"
prune = "!git co master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
delete = branch -D
pr = "!git fetch origin pull/$1/head:pr$1"
sync = "!git pull -q -r origin master"
@loslch
loslch / The Technical Interview Cheat Sheet.md
Created January 25, 2017 15:10 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@loslch
loslch / aws-util.sh
Last active December 15, 2017 00:08 — forked from anonymous/gist:48dada491d2d5db34856f51d0d03ac19
Useful AWS CLI Functions
function aws-start-instance()
{
aws ec2 start-instances --instance-ids="$1"
}
function aws-stop-instance()
{
aws ec2 stop-instances --instance-ids="$1"
}