Skip to content

Instantly share code, notes, and snippets.

@waylaidwanderer
waylaidwanderer / style.css
Last active December 19, 2020 01:10 — forked from guilherme-teodoro/style.css
[Stylus] Basecamp 3 - Dark mode
body {
background: #191919;
color: #d2d2d2;
}
h1 {
color: #d2d2d2;
}
.nav__bar {
<TaskerData sr="" dvi="1" tv="5.9.3">
<Profile sr="prof4" ve="2">
<cdate>1601259130061</cdate>
<edate>1601428314832</edate>
<flags>10</flags>
<id>4</id>
<mid0>15</mid0>
<Event sr="con0" ve="2">
<code>208</code>
</Event>
@waylaidwanderer
waylaidwanderer / SteamBroadcastChatCleaner.user.js
Last active January 14, 2018 10:15
Steam Broadcast Chat Cleaner - cleans up the chat of any Steam Broadcast, massively increasing the conversation quality. Works on Dota 2's Watch page as well. Requires Greasemonkey (Firefox) or Tampermonkey (Chrome). Screenshots: http://i.imgur.com/7qEfM9B.png, http://i.imgur.com/PHW4TbK.png - Click "Raw" to install.
// ==UserScript==
// @name Steam Broadcast Chat Cleaner
// @namespace http://jzhang.net/
// @version 3.1.1
// @description Cleans up Steam Broadcast chat
// @author waylaidwanderer
// @include http://steamcommunity.com/broadcast/watch/*
// @require //code.jquery.com/jquery-1.11.3.min.js
// @downloadURL https://gist.github.com/waylaidwanderer/6bb095e0731ef41d49dc/raw/SteamBroadcastChatCleaner.user.js
// @updateURL https://gist.github.com/waylaidwanderer/6bb095e0731ef41d49dc/raw/SteamBroadcastChatCleaner.user.js
@waylaidwanderer
waylaidwanderer / backpack.php
Created May 2, 2013 00:51
Get the TF2 backpack of a user. Proof of concept - no backpack or schema caching added yet. Adapted from http://wiki.teamfortress.com/wiki/Talk:WebAPI/GetPlayerItems
<?php
$APIkey = 'API KEY HERE'; // Use your own API key here
$profile = $_GET['id']; // usage: page.php?id=1234567890
if (empty($profile))
{
exit(0);
}
// Put together the URL for the backpack
$backpackURL = "http://api.steampowered.com/IEconItems_440/GetPlayerItems/v0001/?key=" . $APIkey . "&SteamID=" . $profile . "&format=json";
@waylaidwanderer
waylaidwanderer / install_mono.sh
Created April 15, 2013 07:11
Simple bash script to install the latest build of Mono
#!/bin/bash
echo Checking for prerequisites. Please enter password if prompted.
sudo apt-get update
sudo apt-get install libpng3 libpng3-dev libtool libtiff4 libtiff4-dev libexif12 libexif-dev libgif4 libgif-dev libpango1.0-dev libatk1.0-dev bison automake autoconf make gcc gtk-sharp2 build-essential xorg-dev libfreetype6 libfontconfig libfontconfig-dev gettext libglib2.0-dev git mono-complete libjpeg-dev
echo Downloading latest build of mono...
git clone git://github.com/mono/mono.git
@waylaidwanderer
waylaidwanderer / ReallySimpleUserHandler.cs
Created March 20, 2013 09:20
This bot does nothing except for: accept your trade request, click ready when you do, and accept the trade when you do.
using SteamKit2;
using System.Collections.Generic;
using SteamTrade;
namespace SteamBot
{
public class ReallySimpleUserHandler : UserHandler
{
public SimpleUserHandler (Bot bot, SteamID sid) : base(bot, sid) {}
@waylaidwanderer
waylaidwanderer / KeyUserHandler.cs
Last active February 8, 2018 21:52
Keybanking bot written by http://steamcommunity.com/id/waylaidwanderer/ - coded using SteamBot wrapper (https://github.com/Jessecar96/SteamBot) THERE IS NO SUPPORT FOR THIS USERHANDLER. This code is outdated, may be exploitable, and should only be used as a guideline. Use at your own personal risk.
using SteamKit2;
using System.Collections.Generic;
using SteamTrade;
using System;
using System.Timers;
namespace SteamBot
{
public class KeyUserHandler : UserHandler
{
@waylaidwanderer
waylaidwanderer / ScrapUserHandler.cs
Last active December 19, 2015 11:38
Scrapbanking bot written by http://steamcommunity.com/id/waylaidwanderer/ - coded using SteamBot wrapper (https://github.com/Jessecar96/SteamBot)THERE IS NO SUPPORT FOR THIS USERHANDLER. This code is outdated, may be exploitable, and should only be used as a guideline. Use at your own personal risk.
using SteamKit2;
using SteamTrade;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Timers;
namespace SteamBot
{
public class ScrapUserHandler : UserHandler