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
export PS1="\n\[$(tput sgr0)\]\[\033[38;5;10m\]\h\[$(tput sgr0)\]\[\033[38;5;244m\]:\w\[$(tput sgr0)\]\[\033[38;5;15m\]\n\[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;244m\]>\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" |
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 | |
set -e | |
ATP_OPTS="-y" | |
sudo apt update | |
# Terminal tools | |
sudo apt install $APT_OPTS \ | |
zsh tmux vim sshfs wget fd-find curl |
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
# OpenGL dev headers | |
sudo apt install -y mesa-common-dev libgl1-mesa-dev | |
# Video playback | |
sudo add-apt-repository ppa:mc3man/gstffmpeg-keep && sudo apt update | |
sudo apt install -y --ignore-missing \ | |
gstreamer0.10 gstreamer0.10-plugins-base gstreamer0.10-plugins-good \ | |
gstreamer0.10-fluendo-mp3 gstreamer0.10-pulseaudio gstreamer0.10-ffmpeg |
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
# Generic nginx configuration, untouched | |
koi-utf | |
koi-win | |
modules | |
mime.types | |
win-utf | |
# Local configuration | |
sites-enabled | |
modules-enabled |
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
# Zsh | |
ZSH_THEME=bira | |
# Aliases | |
alias targz="tar -pcvzf" | |
alias untargz="tar -pxvzf" | |
alias dps="docker ps -a" |
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 | |
if [ -z "$1" ]; then | |
echo "Error: Requires exactly 1 argument, the root of your prestashop folder. Aborting." | |
exit 1 | |
fi | |
base_dir=$1 | |
# Clear class index in case any override changed | |
rm ${base_dir}/cache/class_index.php |
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug file", | |
"type": "cppdbg", | |
"request": "launch", |