Skip to content

Instantly share code, notes, and snippets.

<?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>
// ==UserScript==
// @version 1.4.1
// @name Hide watched videos on YouTube
// @icon https://www.youtube.com/favicon.ico
// @match https://www.youtube.com/*
// @exclude https://www.youtube.com/embed/*
// @exclude https://www.youtube.com/api/*
// @namespace https://gist.github.com/xPaw/6324624
// @updateURL https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js
// @downloadURL https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js
@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 / 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 / README.md
Last active January 13, 2024 23:40
Counter-Strike local server practice config
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
-cef-delaypageload - Enable early-out for known page loads
/**
* 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,
@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
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using NetIrc2;
using NetIrc2.Events;
namespace WendySharp
{
public class SedBot
{
@xPaw
xPaw / steam_quick_queue.user.js
Last active November 21, 2023 00:15
⚠ This script has been integrated into SteamDB browser extension!
// ==UserScript==
// @name Steam Queue Auto Discoverer
// @description Discover the Steam queue three times to get the sale cards
// @version 2.3.0
// @namespace https://gist.github.com/xPaw/73f8ae2031b4e528abf7
// @icon https://store.steampowered.com/favicon.ico
// @match https://store.steampowered.com/explore*
// @grant none
// ==/UserScript==