Skip to content

Instantly share code, notes, and snippets.

View thomcom's full-sized avatar

H. Thomson Comer thomcom

  • NVIDIA
  • DOGETIP: D8uvZN59b5r9c6L2zrrad8ssmnrPmAsJV3
View GitHub Profile
@thomcom
thomcom / Vibe Code Agentic Superheros
Created November 9, 2025 02:30
Vibe Code Agentic Superheros
#!/bin/python3
# main.py
# My First Python Program
import sys
def set_position(board, position, symbol):
board[position] = symbol
return board
@thomcom
thomcom / gpu_compression.py
Created August 10, 2022 22:36
Command Line GPU Compression
# NVIDIA 2022
import argparse
import os
import sys
import kvikio.nvcomp as nvcomp
import kvikio
import cupy
@thomcom
thomcom / sheet2.txt
Created September 19, 2020 02:20
The backside of sheet1.txt. (c)
Special Abilities Proficiencies/Skills/Languages
( / ) ( / )
( / ) ( / )
( / ) ( / )
( / ) ( / )
( / ) ( / )
( / ) ( / )
( / ) ( / )
( / ) ( / )
( / ) ( / )
@thomcom
thomcom / sheet1.txt
Created September 19, 2020 02:17
D&D 2nd Edition ASCII Character Sheet (c)
Player Character Record Sheet
Character _____________________________________________________________
Alignment ________ Race ____________ Class _____________ Level ______
Player's Name _____________ Family _____________ Race/Clan ____________
Homeland __________________ Patron ___________ Religion _______________
Sex ______ Age ______ Social Class ______________ Status ______________
Ht. ______ Wt. ______ Birth Rank _________________ # Siblings _________
Hair _____ Eyes _____ Appearance ______________________________________
@thomcom
thomcom / cursestest.py
Created August 22, 2018 23:28
Curses Example Game
#!/usr/bin/env python
# Thomson Comer github.com/thomcom
from os import system
import curses
import time
def process_opt(input):
print("The input " + input)
@thomcom
thomcom / note.md
Created February 8, 2018 22:49 — forked from fyears/note.md
how to install scipy numpy matplotlib ipython in virtualenv

if you are using linux, unix, os x:

pip install -U setuptools
pip install -U pip

pip install numpy
pip install scipy
pip install matplotlib
#pip install PySide
@thomcom
thomcom / .block
Created July 10, 2017 22:51 — forked from pbeshai/.block
Animate 100,000 points with regl - II
license: mit
height: 720
border: no
@thomcom
thomcom / gist:fa8ca50cccc018e61e02ff2349ee5c3a
Last active May 17, 2016 22:21
Not so good remote logging
{“message”:“newtons_method_iteration”, “iteration”:0, "result_found":false},
{“message”:“newtons_method_iteration”, “iteration”:1, "result_found":false},
{“message”:“newtons_method_iteration”, “iteration”:2, "result_found":false},
{“message”:“newtons_method_iteration”, “iteration”:3, "result_found":false},
{“message”:“newtons_method_iteration”, “iteration”:4, "result_found":true},
{“state”:“newtons_method_start”},
{“result”:”result found in 5 iterations”},
@thomcom
thomcom / JSON
Last active May 5, 2016 23:30
Log Entry #1
{
method: "POST",
request: "/user/1/save",
data: {
"_id": "572bd56157b1eb555be91d05",
"address": "747 Ovington Avenue, Trail, New Jersey, 6490",
"age": 40,
"balance": "$2,201.11",
"company": "NETPLODE",
"email": "adela.mccarty@netplode.tv",