gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Download PHPSTORM/WebStorm/Goland ... whatever | |
2) `sudo tar xfz ~/Downloads/goland-2018.1.tar.gz -C /opt/` | |
3) `vi ~/.local/share/applications/< App Name>.desktop` | |
4) Add the application shortcut `vi ~/.local/share/applications/jetbrains-goland.desktop` | |
``` | |
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=Goland | |
Icon=/opt/GoLand-2018.1/bin/goland.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FONT_NAME="SourceCodePro" | |
URL="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip" | |
mkdir /tmp/adodefont | |
cd /tmp/adodefont | |
wget ${URL} -O ${FONT_NAME}.zip | |
unzip -o -j ${FONT_NAME}.zip | |
mkdir -p ~/.fonts | |
cp *.otf ~/.fonts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function sluggify($string, $separator = '-', $maxLength = 96) | |
{ | |
$title = iconv('UTF-8', 'ASCII//TRANSLIT', $string); | |
$title = preg_replace("%[^-/+|\w ]%", '', $title); | |
$title = strtolower(trim(substr($title, 0, $maxLength), '-')); | |
$title = preg_replace("/[\/_|+ -]+/", $separator, $title); | |
return $title; | |
} |
#Oh My Zsh - Git Cheat Sheet
g
– git
gst
– git status
gl
– git pull
gup
– git pull --rebase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Preference > User setting | |
Install Material Theme for sublime text 3, first by installing package control | |
ctrl shift p > colorsublime package > facebook theme | |
fonts -- | |
https://github.com/tonsky/FiraCode > download > install > "font_face": "Fira Code", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Provisioning virtual machine..." | |
echo "Configuring Nginx" | |
sudo apt-get update | |
cp /var/www/provision/config/nginx_vhost /etc/nginx/sites-available/nginx_vhost > /dev/null |
NewerOlder