Skip to content

Instantly share code, notes, and snippets.

View sraboy's full-sized avatar

Steve Lavoie sraboy

  • United States
View GitHub Profile
sraboy /
Last active August 26, 2021 23:43
BinaryNinja Sample UI Plugin
# from:
from binaryninja import log
from binaryninjaui import DockHandler, DockContextHandler, UIActionHandler
from PySide2 import QtCore
from PySide2.QtCore import Qt
from PySide2.QtWidgets import QApplication, QHBoxLayout, QVBoxLayout, QLabel, QWidget
instance_id = 0
class HelloDockWidget(QWidget, DockContextHandler):
sraboy / filetypes.Proto.conf
Created March 13, 2019 13:07
Geany Protobuf Syntax Highlighting
# Proto3 syntax highlighting. Build menu has `Python` option for `protoc`
# Based on Geany's built in CPP definition.
# Add to ~/.config/geany/filedefs
# In `filetype_extension.conf` add "Proto=*.proto" in the `Extensions` list and "Proto" to the `Misc` list in `Groups`
# For complete documentation of this file, please see Geany's main documentation
# all items must be in one line
sraboy /
Last active October 1, 2018 15:17 — forked from rdb/
Access joysticks/game controllers from Python in Linux via the joystick driver. See
# Released by rdb under the Unlicense (
# Modified for N64 controller from
import os, struct, array
from fcntl import ioctl
# Iterate over the joystick devices.
print('Available devices:')
for fn in os.listdir('/dev/input'):
sraboy / websrv.c
Created December 7, 2017 12:39
Win32 Kernel Mode Webserver
// Pulled from
Kernel mode web server for Windows.
Copyright (C) 2006 Bo Brantén.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
sraboy / data.php
Last active June 11, 2024 22:25 — forked from snaquaye/data.php
An updated server-side processing script for DataTables
* Script: DataTables server-side script for PHP and MySQL
* Copyright: 2016 - Steven Lavoie
* Copyright: 2012 - John Becker, Beckersoft, Inc.
* Copyright: 2010 - Allan Jardine
* License: GPL v2 or BSD (3-point)
namespace Common\Utilities;
sraboy / gist:410521b323c1d749ffe050c96845a108
Created April 14, 2016 01:31 — forked from Erendis42/gist:3559692
filetypes.asm geany custom syntax highlighting for nasm 32 bit
# For complete documentation of this file, please see Geany's main documentation
# foreground;background;bold;italic