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
{% assign relBase = '' %} | |
{% assign tempDepth = page.url | append: 'hackish-solution' | split: '/' | size | minus: 2 %} | |
{% for i in (1..tempDepth) %} | |
{% assign relBase = relBase | append: "../" %} | |
{% endfor %} | |
{% if relBase == '' %} | |
{% assign relBase = './' %} | |
{% endif %} |
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
-- /////////////////////////////////////////////////////////////////////////////////////////// | |
-- | |
-- Better Wardrobe and Collection | |
-- Author: SLOKnightfall | |
-- Wardrobe and Collection: Adds additional functionality and sets to the transmog and collection areas | |
-- | |
-- |
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 | |
p_checkRoot(){ | |
if [ $(id -u) -eq 0 ]; then | |
return 0 | |
fi | |
return 1 | |
} | |
p_colorSetup(){ | |
case "$TERM" in | |
*color*) |
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/sh | |
e="\033" | |
clu(){ | |
if [ ! -z ${1} ] && [ $(tput colors) -ge 8 ]; then | |
printf "${e}[${1}m" | |
fi | |
} | |
prog="" | |
default="server" | |
pathmod="/local" |
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
checkSubStr(){ | |
if [ ! -z "${1}" ] && [ -z "${1%%*${2}*}" ]; then | |
return 0 | |
else | |
return 1 | |
fi | |
} |
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
# Setup Window Titles | |
set set-titles on | |
set set-titles-string '#W (#h)' | |
# Setup Status | |
set status-bg colour31 | |
set status-fg colour16 | |
#set status-position top | |
# Change Window Split Keys |
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/sh | |
sudo apt-get remove docker docker-engine docker.io | |
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common | |
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce | |
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose |
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
set tabstospaces | |
set tabsize 4 | |
set const |