Skip to content

Instantly share code, notes, and snippets.

View RisingThumb's full-sized avatar

Rising Thumb RisingThumb

View GitHub Profile
@RisingThumb
RisingThumb / autoexec.cfg
Created September 3, 2019 03:26
An autoexec congif I currently use in CSGO
// Settings
cl_autowepswitch "0" // auto weapon switch on pickup
cl_use_opens_buy_menu "0" // `e` opening buy menu
closeonbuy "0"
hud_takesshots "0" // scoreboard screenshot at end of match
cl_downloadfilter "nosound" // mapsonly pls volvo
cl_join_advertise "2" // let friends join your game
cl_disablehtmlmotd "0"
cl_autohelp "0"
cl_showhelp "0"
// Settings
cl_autowepswitch "0" // auto weapon switch on pickup
cl_use_opens_buy_menu "0" // `e` opening buy menu
closeonbuy "0"
hud_takesshots "0" // scoreboard screenshot at end of match
cl_downloadfilter "nosound" // mapsonly pls volvo
cl_join_advertise "2" // let friends join your game
cl_disablehtmlmotd "0"
cl_autohelp "0"
cl_showhelp "0"
@RisingThumb
RisingThumb / autoexec.cfg
Created September 4, 2019 18:40
CSGO autoexec mostly complete minus buy binds
// Settings
cl_autowepswitch "0" // auto weapon switch on pickup
cl_use_opens_buy_menu "0" // `e` opening buy menu
closeonbuy "0"
hud_takesshots "0" // scoreboard screenshot at end of match
cl_downloadfilter "nosound" // mapsonly pls volvo
cl_join_advertise "2" // let friends join your game
cl_disablehtmlmotd "0"
cl_autohelp "0"
cl_showhelp "0"
@RisingThumb
RisingThumb / seperateScripts.sh
Created November 22, 2019 20:34
A script for taking a text file full of lines containing the command name prefixed by an echo and seperating it by a delimiter, the command
#!/bin/bash
i=0
# File input
FILE1=$1
# Final output
OUTPUT=""
# Loop over all lines in text
while IFS= read -r line
do
# Delimiter
@RisingThumb
RisingThumb / runOutputCommandsInFile.sh
Created November 22, 2019 20:51
For each command on each line in a text file, it outputs the name of the command and the output of the command. It echoes this so you can pipe the output elsewhere.
#!/bin/bash
i=0
# File input
FILE1=$1
# Final output
OUTPUT=""
# Loop over all lines in text
while IFS= read -r line
do
# Evaluate command
@RisingThumb
RisingThumb / pman
Created May 14, 2020 12:11
PDF Manuals
#!/bin/sh
man -Tpdf "$@" | zathura - ;