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 | |
# SSH Remote Host Auto Login Script | |
# Author: Daniel Gibbs | |
# Website: http://danielgibbs.co.uk | |
# Version: 100914 | |
clear | |
echo "=================================" | |
echo "SSH Auto Login" | |
echo "=================================" | |
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
#!/bin/bash | |
# Carriage Return Checker | |
# Author: Daniel Gibbs | |
# Website: http://danielgibbs.co.uk | |
# Version: 101214 | |
# Description: Checks if a carriage return is present in a variable | |
# Place Variable here | |
var= | |
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
Convars: | |
app_info_http_min = "0" : | |
app_info_http_num_sockets = "8" : | |
AsyncFileIODisableWrite = "0" : | |
AsyncFileIOExpectOutstandingIO = "16" : | |
AsyncFileIOForceGenericIO = "0" : | |
AsyncFileIOMaxPending = "128" : | |
AsyncFileIOReadHandleCache = "32" : | |
AsyncFileIOWriteHandleCache = "128" : | |
batterypercent = "0" : |
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
./steamcmd.sh +help +help login +help scripts +help commandline +help convars +help app_build +help app_update | |
Redirecting stderr to '/home/cssserver/Steam/logs/stderr.txt' | |
[ 0%] Checking for available updates... | |
[----] Verifying installation... | |
Steam Console Client (c) Valve Corporation | |
-- type 'quit' to exit -- | |
Loading Steam API...OK. | |
Usage: steamcmd ["+COMMAND [ARG]..."]... | |
or: steamcmd +runscript SCRIPTFILE |
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
// Gmail/Inbox Email Trash Script | |
// Using Google Script | |
// Clears out all emails older than X days | |
// Labels | |
function multipleLabels() { | |
var myLabels = { | |
'"Updates"': "7d", | |
'"Forums"': "7d", | |
'"Promotions"': "7d", |
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 | |
# check_glibc_requirements.sh function | |
# Author: Daniel Gibbs | |
# Website: https://danielgibbs.co.uk | |
# Description: Automatically detects the version of GLIBC that is required. | |
# Can check a file or directory recursively | |
# Usage check_glibc_requirements.sh [dir] | |
echo "=================================" | |
echo "GLIBC Requirements Checker" |
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 | |
# Just Cause 2 | |
# Server Management Script | |
# Author: Daniel Gibbs | |
# Website: https://gameservermanagers.com | |
if [ -f ".dev-debug" ]; then | |
exec 5>dev-debug.log | |
BASH_XTRACEFD="5" | |
set -x | |
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
#!/bin/bash | |
arch=$(uname -m) | |
kernel=$(uname -r) | |
if [ -n "$(command -v lsb_release)" ]; then | |
distroname=$(lsb_release -s -d) | |
elif [ -f "/etc/os-release" ]; then | |
distroname=$(grep PRETTY_NAME /etc/os-release | sed 's/PRETTY_NAME=//g' | tr -d '="') | |
elif [ -f "/etc/debian_version" ]; then | |
distroname="Debian $(cat /etc/debian_version)" |
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
- name: Conditional test | |
hosts: localhost | |
connection: local | |
gather_facts: no | |
vars: | |
variable: true | |
tasks: | |
- name: true test | |
debug: |
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
cvar list | |
-------------- | |
_record : cmd : norecord, release : Record a demo incrementally. | |
adsp_debug : 0 : a : | |
ai_debug_dyninteractions : 0 : sv, cheat : Debug the NPC dynamic interaction system. | |
ai_debug_los : 0 : sv, cheat : NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with white bounding boxes. If 2, it'll show non-solid entities that would do it if they were solid. | |
ai_debug_off_nav : false : sv, cheat : | |
ai_debug_shoot_positions |
OlderNewer