Skip to content

Instantly share code, notes, and snippets.

View rmoriz's full-sized avatar
🎭
Everything counts in large amounts

rmoriz

🎭
Everything counts in large amounts
View GitHub Profile
Name: jwhois
Version: 4.0
Release: 18%{?dist}
URL: http://www.gnu.org/software/jwhois/
Source0: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz
Patch0: jwhois-4.0-connect.patch
Patch1: jwhois-4.0-ipv6match.patch
Patch2: jwhois-4.0-conf.patch
Patch3: jwhois-4.0-gi.patch
Patch4: jwhois-4.0-enum.patch
@rmoriz
rmoriz / jwhois-4.0-conf.patch
Created November 30, 2011 21:09
jwhois-4 patches of RHEL6 beta by Redhat
diff -up jwhois-4.0/example/jwhois.conf_old jwhois-4.0/example/jwhois.conf
--- jwhois-4.0/example/jwhois.conf_old 2007-03-26 11:12:08.000000000 +0200
+++ jwhois-4.0/example/jwhois.conf 2008-10-13 14:43:48.000000000 +0200
@@ -593,13 +593,12 @@ cidr6-blocks {
"2001:1600::/23" = "whois.ripe.net";
"2001:1800::/23" = "whois.arin.net";
"2001:1A00::/23" = "whois.ripe.net";
- "2001:1C00::/23" = "whois.ripe.net";
- "2001:1E00::/23" = "whois.ripe.net";
+ "2001:1C00::/22" = "whois.ripe.net";
root@beaglebone:~# ps auxww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 1.0 4544 2556 ? Ss 10:14 0:01 /sbin/init run_hardware_tests
root 2 0.0 0.0 0 0 ? S 10:14 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 10:14 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S 10:14 0:00 [kworker/u:0]
root 6 0.1 0.0 0 0 ? S 10:14 0:05 [rcu_kthread]
root 7 0.0 0.0 0 0 ? S< 10:14 0:00 [cpuset]
root 8 0.0 0.0 0 0 ? S< 10:14 0:00 [khelper]
root 9 0.0 0.0 0 0 ? S 10:14 0:00 [kdevtmpfs]
@rmoriz
rmoriz / cpuinfo
Created December 14, 2011 11:27
BeagleBone
root@beaglebone:~# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 498.89
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
root@beaglebone:~# free
Unknown HZ value! (94) Assume 100.
total used free shared buffers cached
Mem: 254172 77096 177076 0 13340 27516
-/+ buffers/cache: 36240 217932
Swap: 0 0 0
...
ruby test.rb
[2011-12-14 22:31:28] INFO WEBrick 1.3.1
Last login: Fri Dec 16 22:06:17 on ttys001
ifrmoriz:~$ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fd3d:7138:f2f9:7c7e:6233:4bff:fe12:134e prefixlen 128
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
@rmoriz
rmoriz / 1. tty.usb
Created December 16, 2011 22:09
BeagleBone Problems
U-Boot SPL 2011.09-00000-gf63b270-dirty (Nov 20 2011 - 19:58:24)
Texas Instruments Revision detection unimplemented
No AC power, disabling frequency switch
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09-00000-gf63b270-dirty (Nov 20 2011 - 19:58:24)
@rmoriz
rmoriz / output.sh
Created December 19, 2011 10:41
Java SE embedded crashing on 3.1.1 omap
rmoriz@panda:~$ uname -ar
Linux panda 3.1.1-5-linaro-lt-omap #5~lt~ci~20111218011838+020210-Ubuntu SMP PREEMPT Mon Dec 19 05: armv7l armv7l armv7l GNU/Linux
rmoriz@panda:~$ java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment for Embedded (build 1.7.0_02-b13, headless)
Java HotSpot(TM) Server VM (build 22.0-b10, mixed mode, experimental)
rmoriz@panda:~$ irb
#
root@kungfu:~# update-java-alternatives -l
java-1.6.0-openjdk 1057 /usr/lib/jvm/java-1.6.0-openjdk
java-1.7.0-openjdk-armel 1043 /usr/lib/jvm/java-1.7.0-openjdk-armel
root@kungfu:~# update-java-alternatives -s java-1.7.0-openjdk-armel
update-alternatives: error: no alternatives for -javaplugin.so.
update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-7-openjdk-armel/jre/lib/arm/IcedTeaPlugin.so
root@kungfu:~# update-java-alternatives --jre -s java-1.7.0-openjdk-armel
root@kungfu:~#
rmoriz@panda:~/jffi$ ant jar
Buildfile: /home/rmoriz/jffi/build.xml
-pre-init:
-init-private:
-pre-init-libraries:
-init-private-libraries: