Skip to content

Instantly share code, notes, and snippets.

@dslf
dslf / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
// Execute (ctrl+shift+j) this on http://store.steampowered.com/explore/
var DiscoveryQueueModal, GenerateQueue = function( queueNumber )
{
DiscoveryQueueModal = ShowBlockingWaitDialog( 'Exploring queue...', 'Generating new discovery queue #' + ++queueNumber );
jQuery.post( 'http://store.steampowered.com/explore/generatenewdiscoveryqueue', { sessionid: g_sessionID, queuetype: 0 } ).done( function( data )
{
var requests = [], done = 0, errorShown;
@dslf
dslf / steam
Created January 12, 2017 17:17
http://steamcommunity.com/sharedfiles/filedetails/?id=610115296
FavoriteGameShowcaseOnGameChange( this.parentNode, 6, 0, {appid: 00000})
SetShowcaseConfig(2, 0, {appid: 00000})
SetShowcaseConfig(2, 1, {appid: 00000})
SetShowcaseConfig(2, 2, {appid: 00000})
SetShowcaseConfig(2, 3, {appid: 00000})
Greenlight - AppID=765
800dpi
MouseSensitivity=0.070466
ADSMouseSensitivity=0.160449
ScopedMouseSensitivity=0.351549
400dpi
MouseSensitivity=0.166757
ADSMouseSensitivity=0.280129
ScopedMouseSensitivity=0.520901
[Display]
FullscreenRefresh=0
Maximized=0
FullscreenWidth=1920
FullscreenHeight=1080
WindowedWidth=1366
WindowedHeight=768
Mode=Fullscreen
FullscreenMode=Fullscreen
HDPixelPlus=1.000000
[Display]
FullscreenRefresh=0
Maximized=0
FullscreenWidth=1920
FullscreenHeight=1080
WindowedWidth=1366
WindowedHeight=768
Mode=Fullscreen
FullscreenMode=Fullscreen
HDPixelPlus=1.000000
//In your browser console type.
//This will loop 5 times profileUrl = http://steamcommunity.com/id/<customURL> or http://steamcommunity.com/profile/<SteamID64>
//appid = The games ID number. http://steamcommunity.com/id/<customURL>/gamecards/<this is the appid>
//series = I dont no for shure but 1 works for me.
//border = 1 for foil and 0 for normal
for (i = 0; i < 5; i++) { Profile_CraftGameBadge('profileUrl','appid','series','border'); }
uniform int XhairMode <
ui_type = "combo";
ui_items = "Texture file\0Solid Color\0Inversion\0";
ui_label = "Xhair mode";
> = 2;
uniform float Opacity <
ui_type = "drag";
ui_min = 0.0; ui_max = 1.0;
ui_label = "Opacity";