Skip to content

Instantly share code, notes, and snippets.

import twitch
from escpos import printer
import string
printable = set(string.printable)
p = printer.Serial("COM13")
def do(message):
print(f"{message.sender}: {message.text}")
p.set(text_type="B")
Wed Nov 28 2018 18:05:35.705 - ================================================================================================
Wed Nov 28 2018 18:05:35.705 - ================================================================================================
Wed Nov 28 2018 18:05:35.705 - Runtime path was C:\Program Files (x86)\Steam\steamapps\common\SteamVR. Setting it to C:\Program Files (x86)\Steam\steamapps\common\SteamVR\ to match vrserver.exe
Wed Nov 28 2018 18:05:35.707 - Setting shared memory namespace to 9024
Wed Nov 28 2018 18:05:35.708 - VR server (v1543000440) starting up with config=C:\Program Files (x86)\Steam\config
Wed Nov 28 2018 18:05:35.708 - VRServer will wait for VRMonitor before exiting
Wed Nov 28 2018 18:05:35.716 - [Settings] Load Default Json Settings from C:\Program Files (x86)\Steam\steamapps\common\SteamVR\resources\settings\default.vrsettings
Wed Nov 28 2018 18:05:35.717 - [Settings] Load Default Json Settings from C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\driver_
fetch('https://api.github.com/search/commits?q=author:SplitPixl&sort=author-date', {headers: new Headers({'Accept': 'application/vnd.github.cloak-preview'})}).then(r => {return r.json()}).then(res => {
var repos = res.items.map(commit => {return {name: commit.repository.full_name, url: commit.repository.url}})
console.log(repos)
})

Keybase proof

I hereby claim:

  • I am splitpixl on github.
  • I am splitpixl (https://keybase.io/splitpixl) on keybase.
  • I have a public key ASDc0U3KsGfv9dNWziHRbFf7digmRC7ujCGWvvaS68xUyAo

To claim this, I am signing this object:

dd if=/dev/urandom of=/dev/sda
import discord
from discord.ext import commands
bot = commands.Bot(command_prefix='snek ', description='this is snekbot.')
@bot.event
async def on_ready():
print('Logged in as')
print(bot.user.name)
print(bot.user.id)