Skip to content

Instantly share code, notes, and snippets.

View winarcooo's full-sized avatar
🏠
Working from Mars

Andy Winarko winarcooo

🏠
Working from Mars
View GitHub Profile
@winarcooo
winarcooo / .zshrc
Created March 15, 2016 03:19
my backup oh-my-zsh setting
#Path to your oh-my-zsh installation.
export ZSH=/home/winarkoandy/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
# Uncomment the following line to use case-sensitive completion.
@winarcooo
winarcooo / tmux-cheatsheet.markdown
Created May 4, 2016 08:40 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@winarcooo
winarcooo / .tmux.conf
Last active July 13, 2020 03:45
[tmux configuration] config for personal tmux #config #tmux
set -g default-terminal "xterm-256color"
# default statusbar colors
set -g status-bg colour235
set -g status-fg colour179
set -g status-attr default
# default window title colors
set -g window-status-fg colour244
set -g window-status-bg default
@winarcooo
winarcooo / gist:bcf218cc6c65744db70e128af7ead06c
Created January 9, 2018 18:39 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@winarcooo
winarcooo / README-Template.md
Created January 9, 2018 18:40 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@winarcooo
winarcooo / nginxproxy.md
Created January 30, 2018 07:57 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@winarcooo
winarcooo / .gitignore
Last active July 13, 2020 03:46 — forked from andreasonny83/.gitignore
[gitignore] gitignore template #template #git
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# Runtime data
pids
*.pid
/**
* * Understand `this` and `bind` in javascript
* `this` is reference to context where are you now
* `bind` is property on a function
*/
const button = {
onClick: null
};
const dragon = {
@winarcooo
winarcooo / introrx.md
Created April 4, 2019 04:12 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
/**
* prototype is just way of saying for this object use other object
* as a backup/delegate/prototype
* if someone call my object with a property that doesn't exist on my object
* go lookin this other object
*/
function talk() {
console.log(this.sound)
}