Skip to content

Instantly share code, notes, and snippets.

@t-
t- / recursive-backtracker2.rb
Created June 3, 2012 05:31 — forked from jamis/recursive-backtracker2.rb
An implementation of the recursive backtracking algorithm that *gasp* actually uses recursion.
# --------------------------------------------------------------------
# Recursive backtracking algorithm for maze generation. Requires that
# the entire maze be stored in memory, but is quite fast, easy to
# learn and implement, and (with a few tweaks) gives fairly good mazes.
# Can also be customized in a variety of ways.
# --------------------------------------------------------------------
# --------------------------------------------------------------------
# 1. Allow the maze to be customized via command-line parameters
# --------------------------------------------------------------------
@t-
t- / flash.dat
Last active December 11, 2022 16:16
Flash Firmware on Geeksphone Peak - Linux
Connect Device to Linux:
install android adb and android fastboot
edit as root:
sudo vi /etc/udev/rules.d/51-android.rules
add vendor line
SUBSYSTEM==”usb”, ATTR{idVendor}==”05c6”, MODE=”0666”, GROUP=”plugdev”
change file permissions:
chmod a+r /etc/udev/rules.d/51-android.rules
restart udev rules
sudo service udev restart