Skip to content

Instantly share code, notes, and snippets.

@JamesHagerman
JamesHagerman / pasted
Created August 1, 2014 18:19
Beaglebone Black 3.12 fb dts entry causes kernel dump but not a crash. This is the dump:
[ 5.391437] bone-capemgr bone_capemgr.6: slot #7: dtbo 'BB-BONE-LCD7-01-00A0.dtbo' loaded; converting to live tree
[ 5.416031] bone-capemgr bone_capemgr.6: slot #7: #4 overlays
[ 5.430644] ehrpwm 48302200.ehrpwm: unable to select pin group
[ 5.452281] OF: no ranges; cannot translate
[ 5.460018] OF: no ranges; cannot translate
[ 5.470517] of_get_named_gpio_flags exited with status 60
[ 5.471668] of_get_named_gpio_flags exited with status 60
[ 5.474449] of_get_named_gpio_flags exited with status 3
[ 5.474483] of_get_named_gpio_flags exited with status 112
[ 5.474502] of_get_named_gpio_flags exited with status 51
// A Simple namespace
var App = (function () {
return {
ctx: null,
theTime: null,
width: 100,
height: 100,
imageData: null,
init: function () {
console.log("init");
@JamesHagerman
JamesHagerman / starter.js
Last active August 29, 2015 14:03
A basic JS app boilerplate
// A Simple namespace
var App = (function () {
return {
ctx: null,
theTime: null,
init: function () {
console.log("init");
this.setupCanvas();
this.load();
@JamesHagerman
JamesHagerman / add500kbp.diff
Last active August 29, 2015 14:02
add500kbps_to_screen
--- a/src/tty.sh 2014-04-26 09:29:40.000000000 -0700
+++ b/src/tty.sh 2015-08-19 16:49:58.000000000 -0700
@@ -1420,6 +1420,7 @@
IF{B115200} { 17, 115200, B115200 },
IF{B230400} { 18, 230400, B230400 },
IF{B460800} { 19, 460800, B460800 },
+IF{B500000} { 20, 500000, B500000 },
IF{B7200} { 13, 7200, B7200 },
IF{B4800} { 12, 4800, B4800 },
IF{B3600} { 12, 3600, B3600 },
@JamesHagerman
JamesHagerman / gist:5506667
Created May 3, 2013 01:38
This is the --trace output for a stalling rvm info command
[jamis@3centdevices ~]$ rvm --trace info
+ [[ -n '' ]]
+ set -o errtrace
+ export 'PS4=+ $(date "+%s.%N") ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ PS4='+ $(date "+%s.%N") ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ 1367545051.685574111 /scripts/cli : __rvm_parse_args() 709 > [[ -z '' ]]
+ 1367545051.690048124 /scripts/cli : __rvm_parse_args() 709 > [[ -n '' ]]
+ 1367545051.694489724 /scripts/cli : __rvm_parse_args() 712 > [[ error == '' ]]
+ 1367545051.699010123 /scripts/cli : __rvm_parse_args() 712 > [[ 0 -eq 1 ]]
+ 1367545051.703678427 /scripts/cli : __rvm_parse_args() 712 > [[ -n '' ]]