Skip to content

Instantly share code, notes, and snippets.

View itszero's full-sized avatar

Zero Cho itszero

View GitHub Profile
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
};
#!/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
#!/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
u-boot log
==========
Texas Instruments X-Loader 1.41
Starting OS Bootloader...
U-Boot 1.3.3-svn333 (Sep 10 2009 - 16:49:01)
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,
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,
#include<iostream>
using namespace std;
void fun(int *array)
{
cout << *array << endl;
}
int main()
{
We couldn’t find that file to show.
We couldn’t find that file to show.
zeros-macbook-pro-2:ZRChromaHash Zero$ ls -R .
Debug ZRChromaHashColorAnimation.j
Info.plist ZRChromaHashTextField.j
Rakefile ZRChromaHashView.j
Release licenses
ZRChromaHash
./Debug:
ZRChromaHash