Skip to content

Instantly share code, notes, and snippets.

View lol768's full-sized avatar
Permanently caffeinated

Adam Williams lol768

Permanently caffeinated
View GitHub Profile
lol768 / index.html
Created January 15, 2023 16:48
<iframe src="" style="height: 100vh; width: 100vw; border: 0;"
from sh import keybase
from argparse import ArgumentParser
from requests import get, post
from re import compile as rcompile
from os import getenv
from os.path import exists
from tempfile import NamedTemporaryFile
from subprocess import call
from json import dumps
public @interface Database {
public DatabaseType value();

Streaming the CASIO fx-9860GII's screen with Ubuntu 14.04

A while back I got an fx-9860GII calculator. The model is a graphical, programmable calculator which is based on the SH architecture (it's an SH-3 CPU running at ~15 MHz). I stumbled upon some development tools over on SourceForge which included a tool for displaying a live view of the calculator's screen. I spent a little while getting the tool to work on Ubuntu 14.04 (it was originally developed in 2007 although the wiki was updated last year) and I'm making this a public gist in case anyone else wants to get this working.

There's a lot of documentation on the calculator and how it works here. CASIO have released an SDK available to those who own the calculator but it only works on Windows and I haven't had much luck getting the development tools to

Keybase proof

I hereby claim:

  • I am lol768 on github.
  • I am lol768 ( on keybase.
  • I have a public key whose fingerprint is 12AA 0AC1 7FA7 0070 3F9B C76F 9EA7 1878 3573 5CC6

To claim this, I am signing this object:

lol768 / SassMeister-input.scss
Created June 7, 2014 19:12
Generated by
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
@import "compass";
// you could abstract this into a mixin if you wanted to
$headings: 1,2,3,4;
// typeracer
document.querySelector("input.txtInput").value = document.querySelector(".nonHideableWords > span:nth-child(2)").innerHTML;
* An helper file for Laravel 4, to provide autocomplete information to your IDE
* Updated for Laravel 4.0.8 (2013-10-07)
* Generated with
* @author Barry vd. Heuvel <>
exit('Only to be used as an helper for your IDE');
lol768 / index.php
Created March 16, 2013 19:20 — forked from jwhb/dbo_rss.php
* Bukkit Build RSS Generator
* @author JWhy <>
* @version 0.2
* @license GNU Lesser General Public License