Skip to content

Instantly share code, notes, and snippets.

input_max_users = "16"
input_axis_threshold = "0.500000"
ui_companion_start_on_boot = "true"
video_gpu_record = "false"
input_remap_binds_enable = "true"
netplay_client_swap_input = "true"
input_descriptor_label_show = "true"
autoconfig_descriptor_label_show = "true"
input_descriptor_hide_unbound = "false"
load_dummy_on_core_shutdown = "true"
@ToadKing
ToadKing / gist:20710a49945715fae3e7
Created September 1, 2015 01:44
Remove Promoted Stream Items
// ==UserScript==
// @name Remove Promoted Stream Items
// @namespace http://userscripts.org/
// @version 0.1
// @description Hides promoted items from Twitter streams. Was only able to test with the stream from a sponsered hash tag, because promoted items in timelines are elusive. More specifically, sets style "display: none" on the parent of divs with classes promoted-tweet and stream-item-content.
// @include http://twitter.com/*
// @include https://twitter.com/*
// @author Dan Carleton
// @copyright 2011+, Public Domain
// ==/UserScript==
// ==UserScript==
// @name find hidden seeds
// @namespace smash.gg.seeeeeeeeeeeeeeeeeds
// @include http://smash.gg/*
// @include https://smash.gg/*
// @version 1
// @grant none
// ==/UserScript==
var scripts = document.getElementsByTagName("script");
@ToadKing
ToadKing / pro.py
Last active June 23, 2017 04:27
pro controller stuffs
#!/usr/bin/env python
# Original Author: Michael Lelli <[email protected]>
import usb.core
import usb.util
import os
dev = usb.core.find(idVendor=0x057e, idProduct=0x2009)
@ToadKing
ToadKing / pro.c
Created June 23, 2017 03:42
pro controller descriptors
// USB Device Descriptor
0x12, // bLength
0x01, // bDescriptorType (Device)
0x00, 0x02, // bcdUSB 2.00
0x00, // bDeviceClass (Use class information in the Interface Descriptors)
0x00, // bDeviceSubClass
0x00, // bDeviceProtocol
0x40, // bMaxPacketSize0 64
0x7E, 0x05, // idVendor 0x057E
@ToadKing
ToadKing / resetera-inline-refresh.md
Last active July 9, 2018 17:33
ResetEra Inline Refresh
1>------ Build started: Project: dynarmic, Configuration: Debug x64 ------
1>Build started 8/12/2018 9:07:24 PM.
1>Target ResolveProjectReferences:
1> Target GetNativeManifest:
1>Target InitializeBuildStatus:
1> Touching "dynarmic.dir\Debug\dynarmic.tlog\unsuccessfulbuild".
1>Target CustomBuild:
1> All outputs are up-to-date.
1>Target ClCompile:
1> a32_emit_x64.cpp
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
CPU Family: 0x6
@ToadKing
ToadKing / 98-steelseries.rules
Last active June 1, 2024 03:18
steelseries udev rules+script
ACTION=="add", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038" RUN+="/etc/udev/rules.d/steelseries-perms.py '%E{DEVNAME}'"
<div id="wheel" ref="wheelContainer" :style="styles.wheel">
<img :style="styles.ticker"
ref="ticker"
:src="settings.ticker.url"/>
<div id="inner-wheel">
<img v-if="settings.centerImage.enabled"
:src="settings.centerImage.url"
:style="styles.centerImage" />
<svg viewBox="-1 -1 2 2"
xmlns="http://www.w3.org/2000/svg"