Skip to content

Instantly share code, notes, and snippets.

View schalkburger's full-sized avatar
💪
eat sleep code repeat

Schalk Burger schalkburger

💪
eat sleep code repeat
View GitHub Profile
@schalkburger
schalkburger / itemsid.txt
Created November 10, 2023 12:30
Sons of the Forest Items ID Dump
3dPrintedArrow = 618,
3dPrintedArrowHeads = 559,
3dPrintedFlask = 426,
3dPrintedFlowerPot = 561,
3dPrintedGpsLocatorCase = 657,
3dPrintedGrapplingHook = 560,
3dPrintedKnife = 427,
3dPrintedSled = 428,
3dPrintedUnderwaterMask = 429,
3dPrinterResin = 390,
@schalkburger
schalkburger / csgo-sounds-list.txt
Created September 10, 2023 10:20
CS:GO playvol sounds list
playvol error 1
playvol ambient\fallscream 1
playvol ambient\opera 1
playvol ambient\tankidle2 1
playvol ambient\waterrun 1
playvol ambient\water_splash1 1
playvol ambient\water_splash2 1
playvol ambient\water_splash3 1
playvol ambient\animal\bird1 1
playvol ambient\animal\bird10 1
@schalkburger
schalkburger / streamlink-twitch.ps1
Last active August 6, 2023 19:06
Watch a Twitch stream using Streamlink
@schalkburger
schalkburger / fontmapping.cfg
Last active June 7, 2023 14:26
Counter-Strike: Global Offensive fontmapping.cfg file
"english"
{
// * each section must include a "fontlib" key with the path to the fontlib swf
"fontlib" "resource/flash/fontlib.swf" [$WIN32||$OSX]
"fontlib_latin" "resource/flash/fontlib_latin.swf" [$X360||$PS3]
"fontlib_russian" "resource/flash/fontlib_russian.swf" [$X360||$PS3]
"fontlib_schinese" "resource/flash/fontlib_schinese.swf" [$PS3]
"fontlib_tchinese" "resource/flash/fontlib_tchinese.swf" [$X360||$PS3]
"fontlib_japanese" "resource/flash/fontlib_japanese.swf" [$X360||$PS3]
"fontlib_korean" "resource/flash/fontlib_korean.swf" [$X360||$PS3]
@schalkburger
schalkburger / fonts.conf
Last active June 3, 2023 18:40
Counter-Strike: Global Offensive fonts.conf file
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Choose an OS Rendering Style. This will determine B/W, grayscale,
or subpixel antialising and slight, full or no hinting and replacements (if set in next option) -->
<!-- Style should also be set in the infinality-settings.sh file, ususally in /etc/profile.d/ -->
<!-- Choose one of these options:
Infinality - subpixel AA, minimal replacements/tweaks, sans=MY_FONT

AI Developer Prompt

AI Developer prompt for GPT-4. This prompt was tested in GPT-4.

Prompt:

Assistant:creates software; is expert in programming, documentation, security, and implementing best practices; asks questions until confident to engineer software to user specification; will not require users to provide code;will deliver complete and functional applications based on client requests;will provide source code in multiple messages; will pause and ask user to say 'next before continuing split files;will use markdown in all messages; will always produce the project code, no matter how long it is; relies on SOLID and DRY code principles.

Assistant will begin each message with "CodePup 3.0:"
@schalkburger
schalkburger / bookmarklet-tweet-current-page.js
Created February 1, 2022 17:44
A simple bookmarklet to tweet the current page
javascript:(function(){n=getSelection().anchorNode;if(!n){t=document.title;}else{t=n.nodeType===3?n.data:n.innerText;}t=%27“%27+t.trim()+%27”\n\n%27;window.open(`https://twitter.com/compose/tweet?text=${encodeURIComponent(t)}${document.location.href}`)})();
@schalkburger
schalkburger / findingfixing-unintended-body-overflow.js
Created December 19, 2021 19:21
Finding/Fixing Unintended Body Overflow
javascript:var docWidth = document.documentElement.offsetWidth; [].forEach.call( document.querySelectorAll('*'), function(el) { if (el.offsetWidth > docWidth) { console.log(el); } } );
@schalkburger
schalkburger / debugTimeout.js
Created August 22, 2021 14:22
Debugger Timeout Bookmarklet
javascript:var duration = prompt('Duration?');setTimeout(function() { debugger; }, duration);
@schalkburger
schalkburger / demo.cfg
Created February 26, 2021 02:04
Schalk's demo.cfg
// Schalk's demo.cfg
// https://gist.github.com/schalkburger/3553517e2db3cf094a3672d235cc50e1
// Updated: 2021-02-26 04:00:26
// --- 1. Aliases --- //
net_graph 0
alias c "clear" //Fast clear console alias
alias mm "bind kp_enter kp_enter_switch;bind kp_ins demo_goto_1x_back;bind kp_del demo_goto_1x_forward"
alias faceit "bind kp_enter kp_enter_switch_faceit;bind kp_ins demo_goto_1x_back_faceit;bind kp_del demo_goto_1x_forward_faceit"