Skip to content

Instantly share code, notes, and snippets.

View gbl08ma's full-sized avatar

Gabriel gbl08ma

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gbl08ma on github.
  • I am gbl08ma (https://keybase.io/gbl08ma) on keybase.
  • I have a public key whose fingerprint is 147A D6E6 F4D0 198D 4C65 FAD3 9A5E 00CE 0DD8 AB36

To claim this, I am signing this object:

[
{
"id": "pt-ml-ap",
"name": "Aeroporto",
"network": "pt-ml",
"lines": [
"pt-ml-vermelha"
],
"wiFiAPs": [
"24:a4:3c:04:1f:f6",
@gbl08ma
gbl08ma / tny
Created July 30, 2013 17:40
Unix shell script to shorten URLs with tny.im URL shortener. wget must be installed for this to work.
#!/bin/sh
if [ -t 0 ]; then
if [ -z "$1" ]; then
echo "usage: tny long_url [custom_keyword]"
echo ""
echo "Shorten URLs with tny.im URL shortener"
echo "This script expects a long URL to shorten either as an argument or passed through STDIN."
echo "When using arguments, an optional second argument can be provided to customize the later part of the short URL (keyword)."
exit 1
fi
@gbl08ma
gbl08ma / gist:5823653
Created June 20, 2013 15:16
Random Casio Prizm hacking related stuff I found
When accessing the test mode on the main menu through a timer hack (install timer calling test mode on slot 3):
There's no value for the "child now" field
the values for the main process vary. If I let the timer run and open multiple test modes on top of each other, the value will decrease and at some point, there'll be a system error (stack full).
And since the timer keeps running even with a system error, the system errors will keep accumulating with different types of errors, targets and pcs.
When calculator reboots, the main memories will have been cleared with a message declaring it (they were overwritten with code...).
RAM AREAS:
0xA80CCE18 - registered add-in list
0xFD8013E4 - Fkey color (byte). near this there are some other settings like the link cable type, probably more interesting settings are here too.
Between end of main memory (0xA80E3000) and beginning of system stack (0xA80F000) there seems to be unused RAM space which is cleared when another add-in/app is started, but not when switching bet