git clone https://gist.github.com/1975674c22ce8948c895.git taiga
cd taiga
# Update docker-compose.yml
# - Replace Hostname of taigaback and taigafront
# - Update or disable Email settings
docker-compose up -d
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
sync; echo 3 > /proc/sys/vm/drop_caches |
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
cat file.png | openssl base64 | tr -d '\n' | pbcopy |
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
duke: | |
image: "beevelop/corci-server:latest" | |
ports: | |
- "8080:8080" | |
larry: | |
image: "beevelop/corci-android:latest" | |
links: | |
- "duke:corci" |
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
var path = require('path'); | |
var fs = require('fs'); | |
var getMostRecent = function (dir, cb) { | |
var dir = path.resolve(dir); | |
var files = fs.readdir(dir, function (err, files) { | |
var sorted = files.map(function(v) { | |
var filepath = path.resolve(dir, v); | |
return { | |
name:v, |
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
# SSH Login Notification for Pushover | |
# Add to end of /etc/profile | |
if [ -n "$SSH_CLIENT" ]; then | |
TITLE="${USER}@$(hostname -f)" | |
TEXT="$(date): SSH login to ${USER}@$(hostname -f)" | |
TEXT="$TEXT from $(echo $SSH_CLIENT|awk '{print $1}')" | |
curl -s \ | |
-F "token=API-TOKEN" \ |
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
<div style="page-break-after: always;"></div> |
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
<br pagebreak="true" /> |
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
header("refresh:7;url=https://example.com/download.php"); | |
// optionally print a hint here (You will be redirected in about 7 seconds. If not, click here.) |