Skip to content

Instantly share code, notes, and snippets.

Micah Geisel botandrose

Block or report user

Report or block botandrose

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View arduino_code_for_foot_pedal_keyboard.c
/*
* Arduino Keyboard Emulation
* learnelectronics
* 13 FEB 2017
*
* www.youtube.com/c/learnelectronics
*/
//#############################################################################################################
//This code only works on an Arduino with the ATmega32U4 chip, so only Arduino Leonardo and Arduino Pro Micro!!
@botandrose
botandrose / DrawLines.elm
Created May 20, 2016
Draw lines on an div with Elm
View DrawLines.elm
module DrawLines exposing (..)
import Html.App
import Mouse exposing (Position)
import Svg exposing (..)
import Svg.Attributes exposing (..)
main : Program Config
main =
@botandrose
botandrose / elm-slider.elm
Last active Apr 3, 2016 — forked from NickAger/elm-slider.elm
Understand how components work in Elm - An Elm version of https://jqueryui.com/slider/
View elm-slider.elm
module Slider where
import Html exposing (..)
import Html.Attributes exposing (class, style)
import Mouse
import Signal
-- MODEL
@botandrose
botandrose / multiple_apps_binding_test.js
Created May 18, 2015
Test to expose multiple app view -> controller binding regression in Ember 1.12
View multiple_apps_binding_test.js
import "ember";
import EmberHandlebars from "ember-htmlbars/compat";
var compile = EmberHandlebars.compile;
var App1, App2, $fixture;
function setupExample() {
$fixture.append('<div id="app1"></div>');
View README.md
View .bash_git_prompt
# shove this in your .bashrc or .bash_profile or whatever
function parse_git_dirty {
[[ $(git ls-files -o -m --exclude-standard 2> /dev/null) != "" ]] && echo "*"
}
function parse_git_branch {
if type -p __git_ps1; then
branch=$(__git_ps1 '%s')
if [ -n "$branch" ]; then
echo -e "[$branch]"
fi
View gist:2374901
08048000-08070000 r-xp 00000000 00:00 6353295 /home/micah/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby
08070000-08075000 rwxp 00028000 00:00 6353295 /home/micah/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby
08075000-08101000 r-xp 0002d000 00:00 6353295 /home/micah/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby
08101000-08102000 r--p 000b8000 00:00 6353295 /home/micah/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby
08102000-08103000 rw-p 000b9000 00:00 6353295 /home/micah/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby
08103000-08113000 rw-p 00000000 00:00 0
093f3000-1bd6d000 rw-p 00000000 00:00 0 [heap]
b67d9000-b67da000 ---p 00000000 00:00 0
b67da000-b6fdb000 rw-p 00000000 00:00 0
b6fdb000-b6fde000 r-xp 00000000 00:00 524315 /home/micah/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/i686-linux/racc/cparse.so
@botandrose
botandrose / Questions
Created Aug 8, 2011
Frozen Rails Give-away
View Questions
Day job: Chief Engineer at Bot & Rose Design
Your Rails contributions (if any): Some documentation, bug reports
What's your Ruby/Rail experience?: Since Rails 0.14, so about 6 years
How do you use GitHub?: Home for my open source libraries, and first stop for finding new code
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0vH4UwbpG92mfDDv3zKDZzHObCxjqwQuLxVJXgvRbsfyiw6J38LOKrHXRHKibj3iHxQtTgfBqCnuYu2FLNXULiyG0ue2sWsQwmEj7YgPHuiWr4FQ7FEKDLVvtOavZSHj3mIrHJQVQCiTVqSLbMHxz4ncVeaA5AJr6lWtn/QkkLlYA1vE0ClnHDYPWB74yFrcOYoJyUStiePBVLtStYDu9B6dbFI8oQwe/RixiN5dcAkCeOP4L3Yi07WW82NyEZRLyA1mwFLhicuQ8bg/D2oBOWB+ROrNnG8hMQnAwL7FWBfAsNbven0a743so9eugDdIjgRje6a4Uz2KbzhMiklwEQ== chronos@localhost
@botandrose
botandrose / bootstrap-cr48.sh
Created Mar 16, 2011
script to get my cr48 where i like it
View bootstrap-cr48.sh
#!/bin/bash
cd /tmp
# "jailbreak" to allow modifications
/usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification
# make the system writable
mount -o remount,rw /
# make the stateful_partition executable
You can’t perform that action at this time.