Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

/**
* This was caught on November 21, 2014 and removed shortly after.
*
* Source commit: https://github.com/SteamDatabase/SteamTracking/commit/c81b7e75eb52806c0854efa34abe70d5a7fdd006
*/
function GrindIntoGoo( appid, contextid, itemid )
{
var rgAJAXParams = {
sessionid: g_sessionID,
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using NetIrc2;
using NetIrc2.Events;
namespace WendySharp
{
public class SedBot
{
@xPaw
xPaw / minecraft_log4j.xml
Created January 20, 2014 14:37
Start server with -Dlog4j.configurationFile=minecraft_log4j.xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO" packages="net.minecraft,com.mojang">
<Appenders>
<Console name="SysOut" target="SYSTEM_OUT">
<PatternLayout pattern="%style{[%d{yyyy-MM-dd HH:mm:ss}]}{black} %highlight{[%t/%level]} %msg%n" />
</Console>
</Appenders>
<Loggers>
<Root level="debug">
<AppenderRef ref="SysOut"/>
@xPaw
xPaw / SteamButton.css
Last active April 22, 2018 11:37
"Join us on Steam" button based on Twitter's button
.steam-group-button {
font: normal normal normal 11px/18px 'Helvetica Neue',Arial,sans-serif;
height: 28px;
border-radius: 4px;
color: #FFF;
font-size: 13px;
line-height: 26px;
outline: none;
text-decoration: none;
position: relative;
@xPaw
xPaw / github_whitespace_button.user.js
Last active May 10, 2019 21:31
Adds a button in GitHub UI to ignore whitespace changes in commits
// ==UserScript==
// @name Ignore whitespace button on GitHub
// @description Adds a button in GitHub UI to ignore whitespace changes in commits
// @author xPaw
// @namespace https://gist.github.com/xPaw/de6ee132a2e267ef6960
// @updateURL https://gist.github.com/xPaw/de6ee132a2e267ef6960/raw/github_whitespace_button.user.js
// @match https://github.com/*
// @version 1.6.1
// @run-at document-end
// @grant none
if( $args.Length -lt 1 )
{
"Pass in appids as arguments: 440 570 730"
Exit 1
}
foreach( $AppID in $args )
{
# Parse appids from links
$AppID = $AppID -creplace '.*?/([0-9]+).*', '$1'
// ==UserScript==
// @name Grand Prix Chart
// @namespace me.xpaw.grandprixchart
// @version 0.6
// @match https://store.steampowered.com/grandprix*
// @grant GM_xmlhttpRequest
// @grant unsafeWindow
// @require https://cdnjs.cloudflare.com/ajax/libs/highcharts/7.1.2/highstock.js
// @run-at document-end
// ==/UserScript==
<?php
declare(strict_types=1);
// path to where svg folder from twemoji repository lies
// https://github.com/twitter/twemoji/tree/master/assets/svg
$input = __DIR__ . DIRECTORY_SEPARATOR . 'svg' . DIRECTORY_SEPARATOR;
$output = __DIR__ . DIRECTORY_SEPARATOR . 'flags' . DIRECTORY_SEPARATOR;
if( !file_exists( $input ) )
{
AppID Name
332780 National Zombie Park
341980 Dispatcher
345920 The Note
348020 Bloodbath Kavkaz
350710 Wizards' Clash
354260 Bloodbath Kavkaz - Soundtrack
366890 Zombie Zoeds
371210 Gridberd
371690 Pixel Space
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN" packages="com.mojang.util">
<Appenders>
<Console name="SysOut" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg%n" />
</Console>
<Queue name="ServerGuiConsole">
<PatternLayout pattern="[%d{HH:mm:ss} %level]: %msg%n" />
</Queue>
</Appenders>