Skip to content

Instantly share code, notes, and snippets.

View reidrac's full-sized avatar

Juan J. Martínez reidrac

View GitHub Profile
@petrihakkinen
petrihakkinen / zx7.asm
Last active January 5, 2020 17:04
ZX7 decompressor for 6502 (150 bytes, 146 bytes if dest address is set by caller)
;*****************************************************************
; ZX7 decompressor based on
; ZX7 data decompressor for Apple II
; by Peter Ferrie (peter.ferrie@gmail.com)
; with modifications by Juan J. Martinez (@reidrac)
; optimized by Petri Häkkinen
; This code is in the Public Domain
;*****************************************************************
zx7_src_lo = $20 ; should always contain 0
@icetan
icetan / gtags_scala.md
Last active June 13, 2021 08:20 — forked from tsdeng/emacs_scala.md
Set up ctags and scala support with GNU Global/Gtags

Basic Support

  1. Install ctags-exuberant
  2. Install gnu global
    • brew install global --with-exuberant-ctags
    • add the following lines in bash export GTAGSCONF=/usr/local/share/gtags/gtags.conf export GTAGSLABEL=ctags
@andypiper
andypiper / Nanode_Tiny_Bas_Temp
Created February 10, 2012 22:16 — forked from anonymous/Nanode_Tiny_Bas_Temp
Nanode Tiny Basic with temperature sensing by @ceejay
// TinyBASIC.cpp : An implementation of TinyBASIC in C
//
// Author : Mike Field - hamster@snap.net.nz
//
// Based on TinyBasic for 68000, by Gordon Brandly
// (see http://members.shaw.ca/gbrandly/68ktinyb.html)
//
// which itself was Derived from Palo Alto Tiny BASIC as
// published in the May 1976 issue of Dr. Dobb's Journal.
//
import traceback
class WebApp(object):
def __init__(self, obj):
self.obj = obj
def __call__(self, environ, start_response):
try:
path = filter(bool, environ["PATH_INFO"].split("/"))