This file contains hidden or 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
GPIO_PIN_STRUCT pins_led1[] = { | |
BSP_LED1 | GPIO_PIN_STATUS_1, | |
GPIO_LIST_END | |
}; | |
GPIO_PIN_STRUCT pins_led2[] = { | |
BSP_LED2 | GPIO_PIN_STATUS_1, | |
GPIO_LIST_END | |
}; |
This file contains hidden or 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/ruby -w | |
require 'socket' | |
server = TCPServer.open(7788) | |
loop do | |
Thread.start(server.accept) do |client| | |
client.write "[Host]:[Port]> " | |
target = "" | |
while s = client.getc.chr | |
client.write s |
This file contains hidden or 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/ruby | |
# Colorcat: Android Logging stream colorizer | |
# Author:: Chien-An "Zero" Cho | |
# License:: MIT License | |
# | |
# Copyright (c) 2010 Chien-An "Zero" Cho | |
# | |
# Permission is hereby granted, free of charge, to any person | |
# obtaining a copy of this software and associated documentation | |
# files (the "Software"), to deal in the Software without |
This file contains hidden or 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
u-boot log | |
========== | |
Texas Instruments X-Loader 1.41 | |
Starting OS Bootloader... | |
U-Boot 1.3.3-svn333 (Sep 10 2009 - 16:49:01) | |
This file contains hidden or 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
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c | |
index 0fda6e1..8a0f8d3 100644 | |
@@ -545,11 +563,12 @@ static struct platform_device leds_gpio = { | |
static struct gpio_keys_button gpio_buttons[] = { | |
{ | |
- .code = BTN_EXTRA, | |
- .gpio = 7, | |
+ .code = 158, | |
+ .gpio = 26, |
This file contains hidden or 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
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c | |
index 0fda6e1..8a0f8d3 100644 | |
@@ -545,11 +563,12 @@ static struct platform_device leds_gpio = { | |
static struct gpio_keys_button gpio_buttons[] = { | |
{ | |
- .code = BTN_EXTRA, | |
- .gpio = 7, | |
+ .code = 158, | |
+ .gpio = 26, |
This file contains hidden or 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
#include<iostream> | |
using namespace std; | |
void fun(int *array) | |
{ | |
cout << *array << endl; | |
} | |
int main() | |
{ |
This file contains hidden or 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
zeros-macbook-pro-2:ZRChromaHash Zero$ ls -R . | |
Debug ZRChromaHashColorAnimation.j | |
Info.plist ZRChromaHashTextField.j | |
Rakefile ZRChromaHashView.j | |
Release licenses | |
ZRChromaHash | |
./Debug: | |
ZRChromaHash |