View SteamUserFunctions.php
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
<?php | |
/* Examples | |
toSteamID(25490879) // STEAM_0:1:12745439 | |
toSteamID(76561197985756607) // STEAM_0:1:12745439 | |
toSteamID("STEAM_0:1:12745439") // STEAM_0:1:12745439 | |
toUserID(25490879) // 25490879 | |
toUserID(76561197985756607) // 25490879 | |
toUserID("STEAM_0:1:12745439") // 25490879 |
View csgo_binds_wasd.cfg
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
echo Rain cfg (2017-11-26) | |
// Launch options: | |
// -high -threads 3 -novid -nojoy -console -toconsole +exec csgo_binds_wasd -w 1280 -h 1024 | |
fps_max 300 | |
cl_allowdownload 0 | |
cl_forcepreload 1 | |
mat_queue_mode 2 | |
// Key binds. |
View prac.cfg
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
// CSGO practice config | |
// 60 minutes time, buy anywhere, no bots. | |
// Restart the game if it's in incorrect game mode. | |
// TODO: how to reset game mode/type? | |
sv_full_alltalk 1 | |
mp_roundtime_defuse 60 | |
bot_kick |
View asset_toggle_snowfall.cmd
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
@ECHO off | |
REM Purpose: Toggle custom assets for a Source engine map on/off by renaming their | |
REM paths with a "_disabled" suffix. Disabling all custom assets can help making | |
REM sure all custom assets are properly BSPZIP'd in the map file before distribution. | |
REM ######################## | |
REM Set project paths below. | |
REM ######################## |
View linux_temp_accel.cfg
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
// Linux launch command: | |
// nvidia-settings -a "DigitalVibrance[DP-1]=800"; %command% -threads 4 -novid -nojoy -console -toconsole +exec csgo_binds_sgdf; nvidia-settings -a "DigitalVibrance[DP-1]=0" | |
echo "Rain Linux temp accel cfg..." | |
m_customaccel "1" | |
m_customaccel_exponent "0.85" | |
m_customaccel_max "2.5" | |
m_customaccel_scale "0.04" | |
m_mouseaccel1 "0" |
View BuildConfiguration.xml
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
<?xml version="1.0" encoding="utf-8" ?> | |
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration"> | |
<BuildConfiguration> | |
<ProcessorCountMultiplier>2</ProcessorCountMultiplier> | |
</BuildConfiguration> | |
</Configuration> |
View fetch_channels.py
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
#!/usr/bin/env python | |
"""Get results for multiple pre-defined Youtube channels at once. | |
Can either use channel names or the "UC..." channel id scheme. | |
""" | |
from sys import platform | |
import yt_activity | |
YOUTUBE_CHANNELS = { |
View mouse_accel.profile
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
[MouseSettings] | |
Sensitivity=1 | |
Acceleration=0.015 | |
SensitivityCap=6.75 | |
SpeedCap=0 | |
Offset=0 | |
Power=2 | |
Pre-ScaleX=1 | |
Pre-ScaleY=1 | |
Post-ScaleX=0.0702 |
View build_qc.py
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
#!/usr/bin/env python | |
"""Generate a QC file for Source SDK studiomdl compile.""" | |
# TODO: 2 separate commands for | |
# 1. generating qc (and storing to file) without running studiomdl | |
# 2. running studiomdl with the qc | |
import os | |
import subprocess | |
import warnings |
View ffmpeg_m4a_to_mp3.sh
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
# https://superuser.com/questions/704493/ffmpeg-convert-m4a-files-to-mp3-without-significant-loss-of-information-quali#704535 | |
mkdir newfiles | |
for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 newfiles/"${f%.m4a}.mp3"; done |
OlderNewer