start new:
tmux
start new with session name:
tmux new -s myname
#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. |
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 |
People
![]() :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: |
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
# 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 = { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
/** | |
* 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) | |
} |