Color | Base16 (ish) |
---|---|
Dark Gray | #4A4848 |
Red | #AB4642 |
Green | #95B56C |
Yellow | #F7CA88 |
Blue | #7C98C2 |
Magenta | #B68BBA |
Cyan | #86C1B9 |
Light Gray | #D5D3D3 |
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
// -------------------------------------------------------------------------- // | |
// -----| INTERFACE AND INPUT |---------------------------------------------- // | |
// -------------------------------------------------------------------------- // | |
cl_showloadout 1 | |
cl_teamid_overhead_mode 1 | |
engine_no_focus_sleep 0 | |
r_show_build_info 1 | |
m_rawinput 1 |
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
// ---------------------------------------------------------------------------------------------- // | |
// -----| NETCODE OPTIMIZATIONS |---------------------------------------------------------------- // | |
// ---------------------------------------------------------------------------------------------- // | |
cl_cmdrate "30" // Command packets sent to server per second (Default 30) | |
cl_updaterate "30" // Packets per second you request from the server (Default 20) | |
cl_interp "0.067" // Interpolation value to match updaterate 30 (Default 0.1) | |
rate "30000"; // Max bytes/sec the host can receive data (Default 10000) | |
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 | |
## Script start time | |
START=$(date +%s) | |
## Total run time | |
DURRATION=$((60 * 60 * 24)) | |
## Total running time | |
UPTIME=$(($(date +%s) - $START)) |
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
.switcher-box-layout { | |
background-color: #323030; | |
border-radius: 4px; | |
box-shadow: 0 2px 8px rgba(24, 28, 32, .8); | |
color: #AAA; | |
font-family: Ubuntu, sans-serif; | |
margin-top: 100px; | |
overflow: hidden; | |
} |
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
#!/usr/bin/env bash | |
set -o errexit pipefail | |
WORKSPACE=${HOME}/workspace # Path to your workspace | |
find ${WORKSPACE} -name '.git' -type d | while read LINE; do | |
pushd "${LINE}/../" | |
git fsck && git gc | |
popd | |
done |
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
// -------------------------------------------------------------------------- // | |
// -----| PERFORMANCE |------------------------------------------------------ // | |
// -------------------------------------------------------------------------- // | |
fps_max 200 | |
@panorama_max_fps 200 | |
@panorama_vsync 0 | |
echo "/* ---------------------------------------------------- */" |
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
{ | |
"variables": { | |
"ssh_user": "root", | |
"ssh_pass": "T@c0_Bu3n0" | |
}, | |
"builders": [ | |
{ |
Install the pre-compiled Restic binary.
curl --silent --location https://github.com/restic/restic/releases/download/v0.9.4/restic_0.9.4_linux_amd64.bz2 | bzip2 --decompress \
| sudo tee /usr/bin/restic > /dev/null && sudo chmod +x /usr/bin/restic
Backup:
source /etc/restic/config && sudo -E restic backup --option b2.connections=10 --exclude-caches --exclude-file /etc/restic/excludes.list /home /etc
Cleanup:
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
#!/usr/bin/env bash | |
adb reboot recovery | |
adb wait-for-device | |
adb shell twrp backup SDBO | |
adb reboot |
NewerOlder