Skip to content

Instantly share code, notes, and snippets.

View ddevault's full-sized avatar

Drew DeVault ddevault

View GitHub Profile
@ddevault
ddevault / gist:4325665
Created December 18, 2012 06:52
How spawning dropped items works in 1.4.6
{11:45:40.253} [SERVER->CLIENT] SpawnObjectOrVehicle (0x17)
[
17 00 00 1A 49 02 FF FF DE B6 00 00 07 E4 00 00 . . . . I . . . . . . . . . . .
1D A4 00 3E 00 00 00 01 00 00 00 00 00 00 . . . . . . . . . . . . . .
]
Entity Id (Int32): 6729
Type (Byte): 2
X (Int32): -8522
Y (Int32): 2020
Z (Int32): 7588
@ddevault
ddevault / steampowered-tux.user.js
Last active August 29, 2015 14:22
Revert Linux icons on Steam back to tux
// ==UserScript==
// @name Linux Icon for Steam
// @namespace sircmpwn.com
// @include *store.steampowered.com/*
// @version 1
// @grant none
// ==/UserScript==
// Consider this file licensed under the terms of the WTFPL.
#!/usr/bin/python
import requests
import sys
import psycopg2
from bs4 import BeautifulSoup
connection = psycopg2.connect('dbname=bash user=sircmpwn')
sql = connection.cursor()
def get_page(page):
00000
01110
01210
01110
00000
usb 6-1.5: new full-speed USB device number 8 using ehci-pci
input: Corsair Corsair K95 RGB Gaming Keyboard as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.5/6-1.5:1.0/0003:1B1C:1B11.000C/input/input34
hid-generic 0003:1B1C:1B11.000C: input,hidraw1: USB HID v1.11 Keyboard [Corsair Corsair K95 RGB Gaming Keyboard] on usb-0000:00:1d.0-1.5/input0
usbhid 6-1.5:1.1: can't add hid device: -110
usbhid: probe of 6-1.5:1.1 failed with error -110

Keybase proof

I hereby claim:

  • I am sircmpwn on github.
  • I am sircmpwn (https://keybase.io/sircmpwn) on keybase.
  • I have a public key whose fingerprint is 1E0A 3290 FCAF 4A11 8B5D 687F 83A9 44D9 F4EA 1B88

To claim this, I am signing this object: