Skip to content

Instantly share code, notes, and snippets.

View RandomInsano's full-sized avatar

Edwin Amsler RandomInsano

  • AWS Thinkbox
  • Winnipeg, Canada
View GitHub Profile
@RandomInsano
RandomInsano / mayaOnUbuntu.sh
Last active December 19, 2015 20:08 — forked from heiths/mayaOnUbuntu.sh
Install Maya 2013 on Ubuntu Server 12.04 as easily as possible
#!/bin/bash
# Heith Seewald 2012
# Edwin Amsler 2013
#Feel free to extend/modify to meet your needs.
#Maya on Ubuntu v.1
#This is the base installer... I’ll add more features in later versions.
#if you have any issues, feel free email me at heiths@gmail.com (or Edwin at EdwinGuy@Gmail.com)
#### Lets run a few checks to make sure things work as expected.
@RandomInsano
RandomInsano / Alphie.rst
Last active October 17, 2023 19:22
Edwin's notes from hacking a Playskool Alphie Robot

Alphie (2009) Hacking Notes

Note: I no longer have cards and didn't scan them. You're best bet is eBay, though it's quite expensive.

I want to make my own booster packs for Alphie, a children's learning toy, so I'm learning how he works internally so I can see if it's possible. It may be helpful for someone else down the line, but for right now it's just a lot of fun. Even if I don't get there, it's great practice of both documentation (which I'm terrible at writing) and reverse engineering.

I2C Pinout

#!/usr/bin/env python
'''
Tool to read game media type header information from the original
XBOX's xbe executables.
In retrospect, it would have been much less fiddly to write this in C/C++
Info taken from here:
http://www.caustik.com/cxbx/download/xbe.htm
@RandomInsano
RandomInsano / DLink-BDSS16+Display.md
Last active October 17, 2015 01:24
How to play with shift registers from a specific network switch
@RandomInsano
RandomInsano / ToyCar.rst
Last active December 20, 2015 06:20
Making a toy car autonomous via Arduino/RPi

The plan this time around is to take a one-button remote control car and make it autonomous so it can wonder the house on its own. One day maybe I'll have it map things using a Raspberry Pi Zero, but for now it will be Arduino controlled and use an ultra-sonic sensor to 'see'.

The toy car itself is pretty simple, and seems to be designed to be modular with the control chip being on a daughter board. All of the control for lights, motor and sound run to that board-to-board connector making it easy to hack! For those looking for their own, it seems to run under the name "My First RC Car" and it's manufactured by a company called Parent's which is out of China. It has three following delightful traits:

  1. Six transistor-controlled LEDs (no idea amperage ability, 3 channels with two LEDs each)
  2. A speaker with amplifier (for vroom-vroom noises)
  3. A single momentary switch just for beep-beep noises
  4. A one-way single button radio
  5. A zainy drive system that can go forward or steer to the left (no reversing p
@RandomInsano
RandomInsano / copy.sh
Last active January 14, 2017 20:42
Simple scipt for backing up some floppies
#!/bin/bash
# usage: <drive path> <folder name>
#
# ex: copy.sh /dev/floppy0 "Where in the World is Carmen Sandeigo"
let a=0
echo "Creating directory for '$2'"
mkdir -p "$2"
@RandomInsano
RandomInsano / scale.py
Last active September 20, 2016 01:26
Playing around with xwiimote to make a weigh scale
#!/usr/bin/env python
import errno
from sys import stdout
from time import sleep
from select import poll, POLLIN
from inspect import getmembers
import xwiimote
def get_device(entry):
@RandomInsano
RandomInsano / install_me_modo_deps.sh
Last active August 9, 2016 20:41
All those wonderful packages Modo needs on a headless Ubuntu 16.04 install
#!/bin/sh
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev libsm6 libxrandr2 libxcursor libxcursor1 libxft2 libxi6 libxinerama1
@RandomInsano
RandomInsano / 1b-button1.bin.base64
Last active May 29, 2023 09:18
Reverse Engineering an Airoha AB1127-based Bluetooth Selfie button
AAEAAElGAxAHAQBPAA0AXAA3AJMAYQD0ACUBGQAIASEAAgF7AAABIwEJAiwAawKXApoFMQCHBbgA6AagABEGsQACBrMABwa6AAcGwQAAN1cAAkUCAAAAAAAAAB5XAfnRLT9oEFb2aLEcn0FIo7WrrAMByR8EAVL6UenPKMtXW5xHbzFVi7Ge1DcKipEEAf8CAAFRVy8ZntSD/AwAAAAAAFRaVU1JIFNFTEZJRSBTVElDSwAAQCUAIDRWBJQAMiL8AgQ4GBgZgwEAAAAAAAAAAQAYAAATCVRaVU1JIFNFTEZJRSBTVElDSwMDJBEAAAAAAAAAG1YEAgSdBgE6CgEhEAHUCQYIZGQU8dQUAbsnAS4CBiz//y3/xXRWAgFBZQEKq1aJVhYC/v4CBAJYADwWAz6AUAEBUA0CBgYgAQANAQABAQMDAQAPAQMFAw8PFgEBAwQB8TYBAwUCBQUCAQMEAfIJAYEEDgJfAqECSQABAjMCdQK2ZgENAQP/AA0DAQ0BEv8ADQH/AA0C/wANA/8ADQT/ABaWgV2fg2kokTEjkTFtgUl6g2rtg2sJAAAAgU0bgoFxg2uFg2u1g2u6AAAAgpMKg2vTg2v3g2wLg2vfgv2EgpJXg2vrg2ymg2y9g2K4g097g2zMg2zog2ujgd9bg2OUgeIDgeESgeGFgeHBg2n2g2mIg2Lkgdv6g2w/gd3Yg2o3g172gd/6g17KgS+sg2z+g20Dg20IgTGIsVYRAQMFAQICDQQAAAEAAAEAAAEAAAEhAQMYAxvJUQEBgAEPLwC7qwFgrVsArgNsLf/FEzaDYcmDbQ2BX6GCZaeDYpWCGXAAAAAAAACCP9IAAAAAAACRMzyCdkWCdkaDXfeDZHaC/WWBNp62VwABAAAAAACVAosxAAASAW5cEgAN3JAABKXgRAjwAgDUW5AADZp0BPACAVKgAgDeDn4BfzcSAA7t72A7fgF/NxIADUyQADAY7vCj7/D1go6DdZMAo6Oj4JAAMBi0Ywvg/qPg/xIADJmA
@RandomInsano
RandomInsano / fuzzer.py
Created September 24, 2016 18:14
Serial fuzzer written in Python3
#!/usr/bin/env python3
import serial
import binascii
#open serial
ser = serial.Serial(
port='/dev/tty.usbserial-A6005kdh',
baudrate=115200,
timeout=0.005