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
#Enable TRIM for Startek USB312SAT3CB | |
ACTION=="add|change", ATTRS{idVendor}=="174c", ATTRS{idProduct}=="55aa", SUBSYSTEM=="scsi_disk", ATTR{provisioning_mode}="unmap" |
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
[Unit] | |
Description=ZNC IRC bouncer | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/znc --foreground --datadir=/var/lib/znc | |
User=znc | |
Restart=on-failure | |
RestartSec=10 |
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
gcd() { | |
if [[ $(which git 2> /dev/null) ]] | |
then | |
STATUS=$(git status 2>/dev/null) | |
if [[ -z $STATUS ]] | |
then | |
return | |
fi | |
TARGET="./$(git rev-parse --show-cdup)$1" | |
#echo $TARGET |