This file contains hidden or 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 | |
finishMessage="\033[37;40m Prepare ASSETS was completed! \033[0m\n" | |
# COMPASS COMPILE | |
echo "\033[37;40m Run COMPASS:COMPILE (y|n)?: n\033[0m" | |
read compile | |
compile=${compile:-n} | |
if [ "$compile" == "y" ] | |
then |
This file contains hidden or 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
# HINTS | |
## Add self to the docker group (run docker without sudo) | |
sudo gpasswd -a myusername docker | |
## Get container ID | |
alias dl='docker ps -l -q' | |
## Get container IP | |
docker inspect --format='{{ .NetworkSettings.IPAddress }}' `dl` | |
docker inspect `dl` | grep IPAddress | cut -d '"' -f 4 |
This file contains hidden or 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
# Download the latest Java SE SDK version. | |
http://www.oracle.com/technetwork/java/javase/downloads/index.html | |
# Untar the Archive: | |
tar -xzvf jdk-8-linux-x64.tar.gz | |
mv jdk1.8.0 /opt | |
cd /opt/jdk1.8.0 | |
# This step registers the downloaded version of Java as an alternative, and switches it to be used as the default: | |
update-alternatives --install /usr/bin/java java /opt/jdk1.8.0/bin/java 1 |
This file contains hidden or 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
Package Control | |
ExpandTabsOnSave | |
SideBarEnhancements | |
SideBarGit | |
SublimeCodeIntel | |
SublimeLinter | |
SyncedSideBar | |
Twig |
This file contains hidden or 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
{ | |
"color_scheme": "Packages/Color Scheme - Default/iPlastic.tmTheme", | |
"draw_white_space": "all", | |
"expand_tabs_on_save": true, | |
"font_size": 11.0, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
This file contains hidden or 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
sed -i 's/ugly/beautiful/g' /home/user/document.txt |
This file contains hidden or 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
rsync -a --delete /path-to/empty/ /path-to/source/ |
NewerOlder