This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Made by Pieter de Bie <frimmirf@gmail.com> | |
# Based on a "Pastie" task by someone | |
require "tempfile" | |
GIST_URL = 'http://gist.github.com/gists' | |
GIST_LOGIN_URL = 'https://gist.github.com/session' | |
USERNAME = "pieter" | |
TOKEN = "SweetTokenPower" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27) | |
Beagle xM Rev A | |
Reading boot sector | |
Loading u-boot.bin from mmc | |
U-Boot 2010.03-dirty (Aug 20 2010 - 20:50:46) | |
OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz, | |
OMAP3 Beagle board + LPDDR/NAND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gmon.out | |
v8.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* V4L2 video capture example | |
* | |
* This program can be used and distributed without restrictions. | |
* | |
* This program is provided with the V4L2 API | |
* see http://linuxtv.org/docs.php for more information | |
*/ | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cluster = require('cluster'); | |
if(cluster.isMaster) { | |
addLoop = function(newloop, delay) { | |
console.log('Adding ' + newloop.toString()); | |
var worker = cluster.fork(); | |
cluster.on('death', function(worker) { | |
console.log('Loop with PID ' + worker.pid + ' died'); | |
}); | |
worker.on('message', function(m) { | |
console.log('Parent got message ' + JSON.stringify(m)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Title: gpio.c | |
* | |
* Author: Andrew Montag | |
* ajmontag@gmail.com | |
* sites.google.com/site/andrewmontag | |
* | |
* Licence: Boost Software Licence - Verison 1.0 | |
* http://www.boost.org/users/license.html | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 75448c8b6dc7c37e134d630d8e9b50b38d44d0be Mon Sep 17 00:00:00 2001 | |
From: Jason Kridner <jdk@ti.com> | |
Date: Fri, 18 Jan 2013 21:36:15 +0000 | |
Subject: [PATCH] firmware: capes: quick hack on HDMI to add panel | |
--- | |
firmware/capes/cape-boneblack-hdmi-00A0.dts | 37 +++++++++++++++++++++++++++ | |
1 files changed, 37 insertions(+), 0 deletions(-) | |
diff --git a/firmware/capes/cape-boneblack-hdmi-00A0.dts b/firmware/capes/cape-boneblack-hdmi-00A0.dts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//****************************************************************** | |
var b = require ('bonescript'); | |
var LCD_RS = "P8_12"; //LCD Register Set (RS) control | |
var LCD_E = "P8_14"; //LCD Enable (E) control | |
var LCD_DB0 = "P8_16"; //LCD Data line DB0 | |
var LCD_DB1 = "P8_18"; //LCD Data line DB1 | |
var LCD_DB2 = "P8_20"; //LCD Data line DB2 | |
var LCD_DB3 = "P8_22"; //LCD Data line DB3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
language: node_js | |
node_js: | |
- '0.10' | |
branches: | |
only: | |
- master | |
before_script: .travis/before_script.sh | |
script: echo -e " >>> Do something... \"grunt\" for example\n" | |
after_success: .travis/after_success.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adventures In Wireless BeagleBone Black: | |
# What prevents my Edimax WiFi USB dongle from autoconnecting to my home WiFi network, "Catalina Island Network"? | |
# NOTE: If you're here to glean info for your own setup, note that I've installed the | |
# following two connman auxiliary packages which give the tools and test scripts in | |
# /usr/lib/connman/test that I use below | |
# $ opkg install connman-tools connman-tests | |
# | |
# Also, I've disabled power save mode for the WiFi so that the BBB can act as a server: | |
# $ cat > /etc/udev/rules.d/wifi_power_save.rules <<-EOF |
OlderNewer