Skip to content

Instantly share code, notes, and snippets.

Avatar
🍺
yes

Rising Thumb RisingThumb

🍺
yes
View GitHub Profile
View pman
#!/bin/sh
man -Tpdf "$@" | zathura - ;
@RisingThumb
RisingThumb / runOutputCommandsInFile.sh
Created Nov 22, 2019
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.
View runOutputCommandsInFile.sh
#!/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 / seperateScripts.sh
Created Nov 22, 2019
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
View seperateScripts.sh
#!/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 / autoexec.cfg
Created Sep 4, 2019
CSGO autoexec mostly complete minus buy binds
View autoexec.cfg
// 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"
View gist:fb1e0d406f60d69b7e283428513130aa
// 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 Sep 3, 2019
An autoexec congif I currently use in CSGO
View autoexec.cfg
// 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"