Skip to content

Instantly share code, notes, and snippets.

View brunohubner's full-sized avatar
🚀

Bruno Hubner brunohubner

🚀
View GitHub Profile
@brunohubner
brunohubner / csgo.santhor.cfg
Created July 29, 2024 12:53
Santhor's CSGO legacy settings
cl_disablehtmlmotd "1";
cl_disablefreezecam "1";
cl_autohelp "0";
cl_showhelp "0";
cl_hud_playercount_showcount "1";
cl_detail_avoid_force "0";
cl_detail_avoid_radius "0";
cl_detail_avoid_recover_speed "0";
cl_detail_max_sway "0";
func_break_max_pieces "0";
@brunohubner
brunohubner / prac.cfg
Last active October 15, 2024 03:00
Santhor's CS2 practice settings
sv_cheats 1
bot_kick
ammo_grenade_limit_total 5
mp_startmoney 60000
mp_maxmoney 60000
mp_roundtime 60
mp_roundtime_defuse 60
mp_freezetime 0
@brunohubner
brunohubner / autoexec.cfg
Last active November 9, 2024 03:27
Santhor's CS2 settings
// # CS2 settings by Santhor - https://steamcommunity.com/id/santhor
cls;
// # Crosshair
// # v1 CSGO-2YNby-c3Dnf-9PqaP-Sazz8-nNuSJ
// # v2 CSGO-HrhF8-8mCMv-65n3o-w9K4n-xh74E
// # Steam launch options
// # -high -freq 240 -novid 1 -nojoy -no-browser -nohltv -console -softparticlesdefaultoff +r_drawparticles 0 -forcenovsync -allow_third_party_software
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install build-essential checkinstall libffi-dev python2-dev python2 python-dev-is-python3 -y
sudo apt-get install libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y
@brunohubner
brunohubner / time-tracking-notion-formulas.js
Created August 19, 2023 21:46
Notion Formulas for Time Tracking
// Notion Formulas for Time Tracking
// =============================================================================
// Notion Formula to hidden field _minutes:
toNumber(slice(prop("Hours"), 0, 1)) * 60 + toNumber(slice(prop("Hours"), 2, 4))
// Indented version for readability:
toNumber(
slice(
prop("Hours"),
const maxNumbers = 60;
const defaultNumberListLength = 6;
const defaultBetNumber = 10;
function generateRandomNumber() {
return parseInt((Math.random() * maxNumbers)) + 1;
}
function generateRandomNumberList(numberListLength = defaultNumberListLength) {
const numbers = [];