Skip to content

Instantly share code, notes, and snippets.

View vub's full-sized avatar
🚀
Make it launch!

Bùi Minh Vũ vub

🚀
Make it launch!
View GitHub Profile
@vub
vub / _webserver.md
Created November 24, 2019 05:58 — forked from jgravois/_webserver.md
a simple guide for getting a local web server set up

Do I have a web server running?


having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html, .js etc.) in a browser via http://.

if you're not sure whether or not you have a web server running, no problem! its easy to confirm.

what happens when you visit http://localhost/?

@vub
vub / destructuring.js
Created August 13, 2019 06:34 — forked from mikaelbr/destructuring.js
Complete collection of JavaScript destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@vub
vub / .gitignore
Created April 3, 2019 08:13 — forked from iffy/.gitignore
Example using electron-updater with `generic` provider.
node_modules
dist/
yarn.lock
wwwroot
@vub
vub / iterm2.md
Created October 12, 2018 11:14 — forked from nobitagit/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
@vub
vub / Bash_command_line_shortcuts.md
Created October 12, 2018 08:57 — forked from P7h/Bash_command_line_shortcuts.md
Bash command line Shortcuts

Bash command line Shortcuts

Picked these from here

Command Editing Shortcuts

Command Note
Ctrl + a go to the start of the command line
Ctrl + e go to the end of the command line
Ctrl + k delete from cursor to the end of the command line
@vub
vub / multiple_ssh_setting.md
Created July 5, 2018 12:20 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@vub
vub / MySQL_macOS_Sierra.md
Last active July 4, 2018 07:15 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

@vub
vub / Bidoup_trekking.md
Last active April 24, 2018 16:17
Welcome file

Bidoup lịch trình

Địa điểm cung trek: Bidoup đà lạt Dựa trên một số webside trek mình tổng hợp lại và định lại lộ trình

Thời gian xuất phát

23h ngày 11 tháng 5 năm 2018: Tập trung tại Bến xe Thành Bưởi - Hàng Xanh - Điện Biên Phủ Số điện thoại liên hệ khẩn cấp: 0935731111 - Kevin

enter image description here Lộ trình cung đường

Route