Skip to content

Instantly share code, notes, and snippets.

View gbowne1's full-sized avatar

Gregory Bowne gbowne1

View GitHub Profile
@OdatNurd
OdatNurd / project_specific_files.py
Last active January 2, 2024 07:19
Sublime Text plugin for making opened files open in the window for the project
import sublime
import sublime_plugin
from os.path import isabs, isfile, normpath, realpath, dirname, join
# Related reading:
# https://forum.sublimetext.com/t/forbid-st-from-opening-non-project-files-in-the-projects-window/68989
# The name of the window specific setting that determines if the functionality
# of this plugin is enabled or not, and an indication of whether the plugin
@mrowrpurr
mrowrpurr / .clang-format
Last active April 19, 2024 02:48
My Clang Format
---
UseTab: Never
TabWidth: '4'
IndentWidth: '4'
BasedOnStyle: Google
AccessModifierOffset: -4
ColumnLimit: 100
NamespaceIndentation: All
IndentPPDirectives: BeforeHash
FixNamespaceComments: false
@Jacajack
Jacajack / intthief.asm
Last active September 23, 2022 19:14
Example of overriding BIOS interrupts in i386 assembly.
[org 0x7c00]
[bits 16]
[map all thief.map]
;Stack init
mov bp, 0xffff
mov sp, bp
;Display initial interrupt address
mov bx, [intnum*4+2]
# sleepy flower girl
(◡ ‿ ◡ ✿)
# y u no
ლ(ಠ益ಠლ)
# smiling breasts
(^人^)
# flipping tables