Skip to content

Instantly share code, notes, and snippets.

View watain666's full-sized avatar
🔥
I may be slow to respond.

TiâuUî Lâu watain666

🔥
I may be slow to respond.
View GitHub Profile
@watain666
watain666 / setup.sh
Last active May 31, 2023 14:28 — forked from marulitua/setup.sh
Instal php5.6 & php7.2 with phpbrew on ubuntu 18.04
#!/usr/bin/env bash
# Instal php5.6 with phpbrew on ubuntu 18.04
# Install all dependencies
sudo apt update
sudo apt install wget php build-essential libxml2-dev libxslt1-dev libbz2-dev libcurl4-openssl-dev libmcrypt-dev libreadline-dev libssl-dev autoconf apache2-dev
wget https://github.com/phpbrew/phpbrew/raw/master/phpbrew
chmod +x phpbrew
mv phpbrew /usr/local/bin
@watain666
watain666 / multiple_ssh_setting.md
Created May 27, 2018 12:19 — 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 "[email protected]"
@watain666
watain666 / seq_sed_FizzBuzz.sh
Created April 19, 2018 10:53 — forked from p120ph37/seq_sed_FizzBuzz.sh
seq/sed FizzBuzz
seq 100 | sed 'n;n;s/.*/Fizz/' | sed 'n;n;n;n;s/[0-9]*$/Buzz/'