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

@vub
vub / Install PHP.md
Last active July 6, 2018 05:42
Dev Box

Install PHP

OSX

Install PHP via Brew

brew install php70
export PATH="$(brew --prefix php@7.0)/bin:$PATH"

Install PHP extensions

@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 / 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 / Chuẩn bị
Last active August 5, 2018 23:37
Leo núi checklist
Plan chi tiết
Địa điểm
Kiểm tra trên bản đồ
Tải map offline
Thông tin người dẫn đường
Thông tin cứu hộ
Giao thông
Kiểm tra phương tiện đi lại
@vub
vub / application.md
Last active September 10, 2018 11:00
Web development enviroment

.dotfile osx, folder struct, source, build in commands, shortcuts, ports bower

iterm, terminal, zsh, shell vim ssh vscode, vscode extensions xcode android visual studio

@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 / 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 / gist:d021e7acce667e20f00d2676a30a989b
Created November 13, 2018 02:57
Image error replace
onError={ e => {e.target.src = '/person.png'; }}
@vub
vub / Expose
Created December 27, 2018 10:48
Server maintainer
# Linux Distribution Name and Version
cat /etc/*-release
lsb_release -a
uname -a
cat /proc/version
# Displaying Detailed Hardware Information
lshw -short
lscpu
lsblk