Skip to content

Instantly share code, notes, and snippets.

@sfinktah
sfinktah / dhtool.asm
Created June 10, 2015 03:06
test of flat assembler syntax highlighting with github-linguist
; ------------------------------------------------------------------------
; HeavyThing x86_64 assembly language library and showcase programs
; Copyright © 2015 2 Ton Digital
; Homepage: https://2ton.com.au/
; Author: Jeff Marrison <[email protected]>
;
; This file is part of the HeavyThing library.
;
; HeavyThing is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License, or
@sfinktah
sfinktah / .gitignore
Last active October 5, 2015 11:14 — forked from mbostock/.block
Map Pan & Zoom IV
.DS_Store
build
node_modules
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
.info {
position: absolute;
@sfinktah
sfinktah / .domverticies.js
Last active April 27, 2018 09:53 — forked from abernier/.gitignore
domvertices.js
We couldn’t find that file to show.
<?php
define("EOF", false);
class DeMap {
var $tail = false;
var $debug = false;
var $fileName = false;
var $fileHandle = false;
var $global_header;
var $eof = false;
This file has been truncated, but you can view the full file.
// Disassembled by Sasuke78200
// sfinktah: frequently access subroutines renamed:
// 7237 label_3f24 to common7
// 4894 label_3ac2 to common4
// 1209 label_3452 to common1
enter 0 2
ipush 1
setstatic 2
ipush 134
@sfinktah
sfinktah / index.html
Created September 21, 2016 07:56 — forked from anonymous/index.html
JS Bin Process Chrome stack trace into detailed call tree // source http://jsbin.com/rapoxo
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Process Chrome stack trace into detailed call tree">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://nt4.com/js/dev"></script>
{
"version": 1,
"format": 0,
"poolSize": 2000,
"bonus": [
[1615036418, 1733199191, 260605391, 3504918091, 1732544373],
[-80731107, -65986214, -596172024, 1268476500, -63495318],
[-1275684852, -1262641823, -395993871, 56481349, -1259233413],
[724218125, 739947643, 1152759112, 2608987972, 741193338],
[-1864060701, -1746487882, -376982118, 542113450, -1746684012],
@sfinktah
sfinktah / Debug.java
Created October 10, 2020 10:11
Ultra-light Java Debugging Class
public class Debug {
public static boolean DEBUG = true;
public static void format(String format, Object... args) {
println(String.format(format, args));
}
public static void println(String s) {
if (DEBUG) {
@sfinktah
sfinktah / ActionRouter.java
Created October 12, 2020 15:54
A slots and signals variation for ActionEvent/ActionListener
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.HashMap;
import java.util.Map;
/**
* A routing table for Observers and Observables.
*
* Effectively allows routing of an {@link ActionEvent}. Charmingly reminiscent