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
interface bcm2835gpio | |
# hexdump -s4 -n4 -e '\"0x\" 4/1 \"%02X\"\"\\n\"\" \"' /proc/device-tree/soc/ranges | |
bcm2835gpio_peripheral_base 0x20000000 | |
# Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET | |
# These depend on system clock, calibrated for stock 700MHz | |
# bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET | |
bcm2835gpio_speed_coeffs 146203 36 |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
if [ ! -f "/c/Windows/System32/bash.exe" ]; then | |
sudo mount --bind /mnt/c /c | |
fi | |
if [ -f "$HOME/.profile" ]; then | |
. "$HOME/.profile" |
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
public class MyActivity extends Activity { | |
public static class MyUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler { | |
@Override | |
public void uncaughtException(Thread thread, Throwable ex) { | |
Log.e("UncaughtException", "Got an uncaught exception: "+ex.toString()); | |
if(ex.getClass().equals(OutOfMemoryError.class)) | |
{ | |
try { | |
android.os.Debug.dumpHprofData("/sdcard/dump.hprof"); | |
} catch (IOException e) { |
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 c588a38519e40284de9aa980131930236e14b07c Mon Sep 17 00:00:00 2001 | |
From: Evan J Brunner <[email protected]> | |
Date: Fri, 31 Oct 2014 11:05:39 -0700 | |
Subject: [PATCH] c2port: remove duramar2150, add GPIO | |
CHNGD:c2port-core had somehow came to be | |
called simply 'core' which was an | |
ambigious name for a module, so name | |
was reverted | |
CHNGD:duramar client was not relevant, replaced |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.sonatype.nexus</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/opt/nexus/bin/nexus</string> | |
<string>start</string> |
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
#main-table { | |
background-image: url(http://i.imgur.com/ICyiRn6.jpg) !important; | |
} |