Skip to content

Instantly share code, notes, and snippets.

View moismailzai's full-sized avatar

Mo Ismailzai moismailzai

View GitHub Profile
@moismailzai
moismailzai / autoexec.cfg
Last active August 31, 2021 05:31
CS:GO autoexec.cfg
// Net Stuff (affects connection to the server: increases bandwidth, reduces interpolation, choke, and latency)
rate "786432"
cl_cmdrate "128"
cl_forcepreload "1"
cl_lagcompensation "1"
cl_interp "0"
cl_interp_ratio "1"
cl_updaterate "128"
mm_dedicated_search_maxping "35"
@moismailzai
moismailzai / sphp.sh
Last active April 5, 2017 01:50 — forked from w00fz/sphp.sh
PHP switcher
#!/bin/bash
# Check if command was ran as root.
if [[ $(id -u) -eq 0 ]]; then
echo "The command \"sphp\" should not be executed as root or via sudo directly."
echo "When a service requires root access, you will be prompted for a password as needed."
exit 1
fi
# Usage
@moismailzai
moismailzai / package.json
Last active February 14, 2017 02:07
Prototype for transporting HTML via JSON
{
"html": {
"body": {
"_attributes": {
"_class": [
"container",
"flex"
]
},
"_children": {
@moismailzai
moismailzai / 0x5f3759df-quake-iii-arena-s-fast-inverse-square-root-function-explained.markdown
Last active October 25, 2022 07:38
0x5f3759df - Quake III Arena's Fast Inverse Square Root Function Explained