Skip to content

Instantly share code, notes, and snippets.

@ricin
ricin / games.md
Last active April 20, 2022 02:29
Game suggestions
A Plague Tale: Innocence
AI: The Somnium Files
APE OUT
Action Henk
Alan Wake 
Anger Foot   
Another World
Antichamber
Armello
@ricin
ricin / db.sh
Created March 14, 2019 00:14
best db
#!/bin/bash
db_set () {
echo "$1,$2" >> database
}
db_get () {
grep "^$1," database | sed -e "s/^$1,//" | tail -n 1
}
@ricin
ricin / gist:f004a25c23ed86310ca2
Created August 21, 2015 23:47
amzn.com bookmarklet
javascript:(function(){(function(){if(!document.getElementById('ASIN')){alert('Can\'t find an Amazon product ID');return;}var asin=document.getElementById('ASIN').value;prompt('Link (Copy to clipboard):','http://amzn.com/'+asin);})()})();
@ricin
ricin / d3.vbs
Created March 25, 2014 00:52
VBscript for launching Diablo III via Steam
'* Ignore the mess.
'* Change the path to Diablo III Launcher.exe below to the correct install path.
'* Set the Diablo III shortcut in Steam to use this script.
Dim objShell
Set WshShell = WScript.CreateObject ("WScript.Shell")
Set colProcessList = GetObject("Winmgmts:").ExecQuery ("Select Name from Win32_Process")
Set objExplorer = createobject("internetexplorer.application")
objExplorer.navigate2 "about:blank" : objExplorer.width = 575 : objExplorer.height = 100 : objExplorer.toolbar = false : objExplorer.menubar = false : objExplorer.statusbar = false : objExplorer.visible = True
@ricin
ricin / keybase.md
Last active September 14, 2016 00:35
keybase.md

Keybase proof

I hereby claim:

  • I am ricin on github.
  • I am ricin (https://keybase.io/ricin) on keybase.
  • I have a public key whose fingerprint is B97A 7CA5 4676 222D C0D5 65BD 9719 8C03 0125 5AE1

To claim this, I am signing this object: