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
#include <sourcemod> | |
#pragma semicolon 1 | |
#pragma newdecls required | |
ConVar sv_alltalk; | |
bool alltalkWas; | |
public Plugin myinfo = { | |
name = "NT Disable Alltalk When Ghosting", |
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
GALLIUM_HUD="fps+frametime+cpu+GPU-load+memory-clock+VRAM-usage" glxgears |
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
#include <sdktools> | |
// For a valid base entity pointer, returns its entity index. | |
stock int GetBaseEntity(Address self) | |
{ | |
static Handle call = INVALID_HANDLE; | |
if (call == INVALID_HANDLE) | |
{ | |
StartPrepSDKCall(SDKCall_Raw); | |
PrepSDKCall_SetVirtual(5); |
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
;= Some doskey macros for limited aliasing-like behaviour on Windows. | |
;= | |
;= To install, drop this file into %USERPROFILE%\.config\macros.doskey, and run: | |
;= reg add "HKCU\Software\Microsoft\Command Processor" /v Autorun /d "DOSKEY /MACROFILE=\"%USERPROFILE%\.config\macros.doskey\"" /f | |
;= | |
;= Be sure to check the doskey docs before relying on this for complex stuff, | |
;= as there are some nonobvious ways in which more complex commands can fail: | |
;= https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/doskey | |
;= Extract audio from a media url using yt-dlp. |
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
{ | |
"version": "0.2.1", | |
"defaults": {}, | |
"configurations": [ | |
{ | |
"type": "dll", | |
"exe": "${env.SDK2013MP}\\hl2.exe", | |
"project": "CMakeLists.txt", | |
"projectTarget": "client.dll (game\\client\\client.dll)", | |
"name": "client.dll (game\\client\\client.dll)", |
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
// ==UserScript== | |
// @name YouTube Reverse Playlist | |
// @namespace yt-reverse-playlist | |
// @updateURL https://gist.githubusercontent.com/Rainyan/28f85d23de9ac850a3d27ae39d4d1e62/raw/ | |
// @version 0.2.1 | |
// @description Adds a playlist button to reverse/invert the current YouTube playlist. Useful when wanting to watch oldest to newest, or vice versa. | |
// @author Rain | |
// @match https://www.youtube.com/* | |
// @require https://cdn.jsdelivr.net/gh/CoeJoder/waitForKeyElements.js@v1.2/waitForKeyElements.js | |
// @require https://code.jquery.com/jquery-3.6.0.slim.min.js |
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
; Ripcord doesn't have mouse binds yet, so use F24 redirection as the mic mouse bind. | |
#HotIf WinExist("ahk_exe Ripcord.exe") | |
*$~xButton1::F24 ; don't block the mouse action, just replicate as a function key | |
#HotIf | |
; Disable left Windows key when inside CS to avoid mispresses | |
#HotIf WinActive("ahk_exe cs2.exe") | |
~LWin::vkFF ; only block plain key press, ie. still allow Win+key combos | |
#HotIf |
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
// ==UserScript== | |
// @name Always use old Reddit style | |
// @description Convert www.reddit urls into old.reddit urls on page load start. This can be useful if you often clear your cookies but want this setting to persist. | |
// @version 1.5.2 | |
// @namespace redditAlwaysOldStyle | |
// @updateURL https://gist.githubusercontent.com/Rainyan/fbb1ff337eac3e6c604d9a6eee7badda/raw/ | |
// @include https://www.reddit.com/* | |
// @exclude https://www.reddit.com/gallery/* | |
// @exclude https://www.reddit.com/login/* | |
// @exclude https://www.reddit.com/media?* |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBGWVem8BEADlPQ/DDdGYruPvlVecaG7wEjs4xrpmNVUzNUUfiMMAp9EeY/CI | |
NV5nxDEYzu2DHbo6pcitS+rWDH4H82zUa69xIZ6W+ulIxfWgLm/phu9taoEmfMtz | |
4ZzybOaTayH+sydk80pHTpQr1YPDzDxbS+zBKWM8XhECFf0gxIAWydUBbKT8Xi2O | |
abBJywmpUcuinw3AI6OydsEWLWabEM7jyw8dZmGqOn6GFyXSXV20cp+stWCvj0++ | |
V/9NDEnJSR9bvCw3FcM4B4vQYMM+XpPAc1CooLZva12RPVtO1jTZuqri1cCbfkEv | |
2NWWRrlWWowgkrQjYYT02ZmqjwfCXjaqpKJcoIJCIoSlynkeEASMqnlznLhC62O2 | |
CeBhlFAAcuoNPNLjBcx4OL75uPQjPA8Ly900VuYdaBdmtpMFWzyqhgCzcDRY3ufT | |
0ZWsCJqE6Vi/ZT8XfQHehLCQNwkgHpJ7X75MEyk4vgenvJCVODa8fuk6lzxyIi/6 |
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
; THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
; INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
; PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | |
; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |
; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
; List of apps to kill on hotkey | |
^p:: | |
Process,Close,cs2.exe |
NewerOlder