mjpg-streamer on raspberrypi

摘要: http://sourceforge.net/projects/mjpg-streamer/svn addresssvn checkout svn://svn.code.sf.net/p/mjpg-streamer/code/ mjpg-streamer-coderequired packagesapt-get install libv4l-devapt-get install libjpeg8-devapt-get install imagemagickcompilecd mjpg-streamer-code/mjpg-streamermake USE_LIBV4L2=true clean 阅读全文
posted @ 2013-09-03 22:34 snigoal 阅读(739) 评论(0) 推荐(0)

Motion on Ubuntu

摘要: Motion is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the picture has changed.The program is written in C and is made for the Linux operating system, (using the video4linux interface). Motion is a command line based tool whose outp 阅读全文
posted @ 2013-07-13 20:45 snigoal 阅读(999) 评论(0) 推荐(0)

VirtualDub - 开源视频捕捉及线性处理软件

摘要: VirtualDub是一个开放源代码的视频捕捉及线性处理软件。它由Avery Lee编写,遵循GPL协议。VirtualDub可以通过摄像头捕捉视频。官方网站http://virtualdub.org/获取源代码http://sourceforge.net/projects/virtualdub/ 阅读全文
posted @ 2013-07-09 20:23 snigoal 阅读(542) 评论(0) 推荐(0)

grab jpegs from v4l2 devices

摘要: 某些平台下opencv不能直接直接支持摄像头获取图片或视频,这是需要使用v4l2(video for linux 2)测试v4l2是否可以读到摄像头的内容,最简单的办法就是读取一张截图。v4l2grab使用v4l2获取摄像头的截图一个单文件c程序,源自http://www.twam.info/linux/v4l2grab-grabbing-jpegs-from-v4l2-devices输出是jpeg格式的图片,依赖于libjpeg库,去http://www.ijg.org/下载libjpeg源代码,自己编译。compile libjpeg1.tar2../configure3.make4.ma 阅读全文
posted @ 2013-06-25 23:31 snigoal 阅读(401) 评论(0) 推荐(0)

c helloworld on zynq

摘要: A linux os runs on zynq board. I want ro run a hello world c program on it.I linked zynq board to a wifi router which my laptop also connected to and use scp command to transfer compiled files to board.The linux os runing on zynq is reduced. its user and password is simple root and root.helloworld.c 阅读全文
posted @ 2013-06-24 23:35 snigoal 阅读(321) 评论(0) 推荐(0)

minicom installation and configuration on ubuntu

摘要: minicom是一个串口通信工具,就像Windows下的超级终端,可用来与串口设备通信。minicom完全通过键盘实现操作。installsudo apt-get install minicomconfiguration1lsmod | grep usbserial使用该命令查看系统是否支持usb转串口2sudo minicom -s进入minicom的配置流程3+-----[configuration]------+ | Filenames and paths | | File transfer protocols | ... 阅读全文
posted @ 2013-06-24 23:03 snigoal 阅读(215) 评论(0) 推荐(0)

删除SD的分区

摘要: 使用win32diskimager为Raspberry Pi在SD上做系统后,windows系统只能认出引导分区。要在windows下释放SD的所有空间,使用windows自身的磁盘管理行不通,使用Acronis Disk Director Suite删除SD中的分区(操作完成后需要提交才能生效)即可。 阅读全文
posted @ 2012-10-29 14:08 snigoal 阅读(226) 评论(0) 推荐(0)

Raspbian中omxplayer的使用(Raspberry Pi)

摘要: 播放omxplayer -o hdmi filename快捷键Key Action1 加速2 减速j 上一条音轨k 下一条音轨i 上一节o 下一节n 上一条字幕轨m 下一条字幕轨s 显示/不显示字幕q 退出空格或p 暂停/继续- 减小音量+ 增加音量左 后退30右 前进30上 后退600下 前进600ref:http://www.leiphone.com/raspberry-pi-hands-on.html 阅读全文
posted @ 2012-10-07 18:50 snigoal 阅读(3369) 评论(0) 推荐(0)

RaspberryPi Tips

摘要: #Raspbian从命令行启动sudo raspi-config >> boot_behaviour >> no#Raspbian开机自动运行脚本Raspbian(http://www.raspbian.org/)is a free operating system based on Debian optimized for the Raspberry Pi hardware.开机自动运行的方法与Debian类似。以下内容摘自http://penglei.name/html/96.html:Debian定义了多个运行级别脚本,分别存放在/etc/rc0.d至/etc/r 阅读全文
posted @ 2012-09-16 11:10 snigoal 阅读(728) 评论(0) 推荐(0)

Oracle9i中添加自增触发器

摘要: CREATE OR REPLACE TRIGGER [trigger_name]BEFORE insert ON [table_name]FOR EACH ROW declare next_auto_no number;begin select [Sequence_name].nextval into next_auto_no from dual; :new.[column_name]:=next_auto_no;end; 阅读全文
posted @ 2012-07-28 15:21 snigoal 阅读(169) 评论(0) 推荐(0)

RHEL4U3/Oracle9.2.0.4/JDK1.5.0_06/ApacheTomcat5.5.25下载地址

摘要: rhel u3(Red Hat Enterprise Linux AS release 4 (Nahant Update 3))http://218.6.142.227/soft-dist/redhat/RHEL4U3-i386/RHEL4-U3-i386-AS-disc1.isohttp://218.6.142.227/soft-dist/redhat/RHEL4U3-i386/RHEL4-U3-i386-AS-disc2.isohttp://218.6.142.227/soft-dist/redhat/RHEL4U3-i386/RHEL4-U3-i386-AS-disc3.isohttp: 阅读全文
posted @ 2012-07-28 15:17 snigoal 阅读(498) 评论(0) 推荐(0)

Linux下重置Oracle管理員密碼

摘要: $>sqlplus /nologSQL>connect /as sysdba SQL>alter user sys identified by 新密碼; SQL>alter user system identified by 新密碼; 阅读全文
posted @ 2012-07-21 19:54 snigoal 阅读(491) 评论(0) 推荐(0)

Oracle随系统自动启动

摘要: 1.修改组策略将/etc/selinux/config中的SELINUX=[permissive|enforcing|disabled]改为SELINUX=[permissive|enforcing|disabled]2.修改oratab将/etc/oratab中的[oracle_sid]:[$oracle_home]:N改为[oracle_sid]:[$oracle_home]:Y3.复制init[oracle_sid].ora文件将[$oracle_base]/admin/[oracle_sid]/pfile下的以init[oracle_sid].ora开头的文件复制到[$oracle_h 阅读全文
posted @ 2012-07-21 11:35 snigoal 阅读(190) 评论(0) 推荐(0)

解决:ERROR: ld.so: object ‘/lib/libcwait.so’ from /etc/ld.so.preload cannot be preloaded: ignored.

摘要: 在RH Linux AS4 x86-64 安装Oracle9.2.0.4前打补丁Patch 4198954中的compat-libcwait-2.1-1.i386.rpm 报如下的错误:[root@oracle8 oracle]# rpm -ivh compat-oracle-rhel4-1.0-5.i386.rpmERROR: ld.so: object '/lib/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignoreGoogle了半天找到解决办法:# echo "" > / 阅读全文
posted @ 2012-07-17 23:17 snigoal 阅读(9120) 评论(0) 推荐(0)

Oracle9i (9.2.0.4.0) Installation on Red Hat Enterprise Linux 4 Update 3 (RHEL4-U3)

摘要: Download SoftwareRedHat Enterprise Linux 4 Update 3 (RHEL4-U3):http://218.6.142.227/soft-dist/redhat/RHEL4U3-i386/RHEL4-U3-i386-AS-disc1.isohttp://218.6.142.227/soft-dist/redhat/RHEL4U3-i386/RHEL4-U3-i386-AS-disc2.isohttp://218.6.142.227/soft-dist/redhat/RHEL4U3-i386/RHEL4-U3-i386-AS-disc3.isohttp:/ 阅读全文
posted @ 2012-07-14 23:12 snigoal 阅读(2037) 评论(0) 推荐(0)

sqlplus中的时间格式

摘要: 查看会话的时间格式select sysdate from dual;在sql*plus中修改当前会话的日期格式alter session set nls_date_format = 'yyyy-mm-dd hh24:mi:ss';refhttp://enet-java.iteye.com/blog/491465 阅读全文
posted @ 2012-06-28 16:00 snigoal 阅读(426) 评论(0) 推荐(1)

forrtl: severe (174): SIGSEGV, segmentation fault occurred

摘要: ---http://software.intel.com/en-us/forums/showthread.php?t=57110There are infinite possibilities. Two articles I wrote for Windows Fortran would also be instructive for you. These cover Access Violation (SEGV on Linux) and Stack Overflow. On Linux, you can try raising the stack limit with "ulim 阅读全文
posted @ 2012-06-16 22:11 snigoal 阅读(20604) 评论(0) 推荐(0)

[转]the 1998 acm computing classification system

摘要: http://www.acm.org/about/class/ccs98-html 阅读全文
posted @ 2012-05-13 20:32 snigoal 阅读(195) 评论(0) 推荐(0)

Import/Export a database into Oracle

摘要: Create a usercreate user [username] identified by [pwd]Authorize the usergrant connect, resource, dba to [username]Import the database在cmd环境下,imp userid=[user]/[pwd] full=y file=[filename].dmpExport database or tablesexp system/manager@TEST file=d:[filename].dmp full=yexp aichannel/aichannel@TESTDB2 阅读全文
posted @ 2012-05-10 21:03 snigoal 阅读(242) 评论(0) 推荐(0)

Excel中随机生成6位字符串

摘要: CONCATENATE(IF(INT(RAND()*2)=0,CHAR(INT(RAND()*9+48)),IF(INT(RAND()*2)=0,CHAR(INT(RAND()*25+65)),CHAR(INT(RAND()*25+97)))),IF(INT(RAND()*2)=0,CHAR(INT(RAND()*9+48)),IF(INT(RAND()*2)=0,CHAR(INT(RAND()*25+65)),CHAR(INT(RAND()*25+97)))),IF(INT(RAND()*2)=0,CHAR(INT(RAND()*9+48)),IF(INT(RAND()*2)=0,CHAR( 阅读全文
posted @ 2012-05-03 16:34 snigoal 阅读(2965) 评论(0) 推荐(0)

Oracle 9i Release 2 Download

摘要: Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XPhttp://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk1.ziphttp://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk2.ziphttp://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk3.zipOracle9i Database 阅读全文
posted @ 2012-03-30 17:29 snigoal 阅读(487) 评论(0) 推荐(0)

Oracle数据库操作SQL语句

摘要: 查询前几条记录select * from table1 where rownum <=N;修改某条记录update table1 set column1=value1, column2=value2 where [条件表达式]; 阅读全文
posted @ 2012-03-30 17:16 snigoal 阅读(179) 评论(0) 推荐(0)

WP7 Mango可用性之我见

摘要: 之前使用了一段时间Android手机,日常用到的功能主要有:Google Contacts同步Google Calendar同步Gmail同步微信UCweb/OperaQQ手机令牌QQQQmusic词典中文输入法拍照类别可用说明1.Google Contacts同步Y2.Google Calendar同步Y3.Gmail同步Y4.微信Y即时性感觉有点问题,急切等待1.25.浏览器YQQ浏览器可以关闭图片6.QQ手机令牌N图片密保可以暂时代替 7.QQY8.QQmusicY不能将音乐下载到本地9.词典Y有道不能摄像头查词10.中文输入法N使用Lumia 710两个月了,感觉还是很不错!敏捷,简. 阅读全文
posted @ 2012-02-26 17:37 snigoal 阅读(131) 评论(0) 推荐(0)

Find all Windows Phone Application Bar Icon

摘要: see this directory -C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Icons 阅读全文
posted @ 2012-02-26 17:28 snigoal 阅读(127) 评论(0) 推荐(0)

Fortran - GOTO

摘要: Executable GOTO statements: GOTO snr1 - ordinary GOTO statement (jumps to the statement with number snr1)? GOTO (snr1, snr2, snr3), integer_expression - conditional GOTO statement. If the integer expression is 1, 2 or 3, execution jumps to statement number snr1, snr2 or snr3 (an ... 阅读全文
posted @ 2012-02-11 10:06 snigoal 阅读(825) 评论(0) 推荐(0)

MAUI Installation on Redhat Linux EL 5.4

摘要: VersionsOS: RHEL 5.4Torque: 2.5.5MAUI: 3.2.6p21Install MAUI on Serverdecompress[root@server ~]tar -zxvf maui-3.2.6p21.tar.gz[root@server ~]cdmaui-3.2.6p21configure[root@server maui-3.2.6p21]./configure --prefix=/opt/maui-3.2.6p21install[root@server maui-3.2.6p21]make[root@server maui-3.2.6p21]make i 阅读全文
posted @ 2011-11-12 23:09 snigoal 阅读(468) 评论(0) 推荐(0)

Torque Installation on Redhat Linux EL 5.4

摘要: VersionsLinux: RHEL 5.4Torque: 2.5.5Install TORQUE on the server nodedecompress[root@server ~]tar -xzvf torque-2.5.5.tar.gz[root@server ~]cd torque-2.5.5configure[root@server torque-2.5.5]./configure --prefix=/opt/torque-2.5.5install[root@server torque-2.5.5]make[root@server torque-2.5.5]make instal 阅读全文
posted @ 2011-11-12 22:46 snigoal 阅读(667) 评论(0) 推荐(0)

SSH Login without Password (RHEL 5.4)

摘要: for root user[root@A ~]vi /etc/hosts#[IP address] [hostname]192.168.1.X A192.168.1.Y Bgenerateauthentication keys anddistribute[root@A ~]# ssh-keygen -t rsa[root@A ~]# cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys[root@A ~]# scp ~/.ssh/* root@B:~/.ssh/check[root@A ~]# ssh B[root@A ~]# ssh Afor non-roo 阅读全文
posted @ 2011-11-07 16:44 snigoal 阅读(295) 评论(0) 推荐(0)

MPICH2 Installation on a Cluster based on Redhat Linux EL 5.4

摘要: VersionsOS: Redhat Enterprise Linux 5.4MPI: MPICH2 1.4.1p1prerequisiteconfigure IP address for all nodes in the cluster, refhttp://www.cnblogs.com/snigoal/archive/2011/11/07/2238939.htmlconfigure SSH login without password, refhttp://www.cnblogs.com/snigoal/archive/2011/11/07/2238976.htmlInstallatio 阅读全文
posted @ 2011-11-07 16:36 snigoal 阅读(424) 评论(0) 推荐(0)

Linux Tips

摘要: modify file contentvicheck file contentcatshutdown default firewall[root@A cluster]#service iptables stopmodify hostname[root@A cluster]#vi /etc/sysconfig/networkmodify file content:HOSTNAME=[your ideal hostname][root@A cluster]#vi /etc/hostsadd below as an example (mylinux as hostname)192.168.1.23 阅读全文
posted @ 2011-11-07 16:19 snigoal 阅读(216) 评论(0) 推荐(0)

IP Address Configuration on Linux (RHEL 5.4)

摘要: VersionsOS: Redhat EnterpriceLinux 5.4Directory and FileDirectory: /etc/sysconfig/network-scripts/File: ifcfg-eth0Modify in blue & Add in redDEVICE=eth0BOOTPROTO=staticIPADDR=192.168.1.10NETMASK=255.255.255.0GATEWAY=192.168.1.254HWADDR=[no need to modify]ONBOOT=yesTake Effect[root@A cluster]# if 阅读全文
posted @ 2011-11-07 10:31 snigoal 阅读(426) 评论(0) 推荐(0)

Linux下硬盘读写速度测试

摘要: Commandhdparm -Tt /dev/sdaAbout [hdparm]hdparm(hard disk parameters)显示与设定硬盘的参数。hdparm可检测,显示与设定IDE或SCSI硬盘的参数。Referencehttp://www.linuxso.com/command/hdparm.htmlhttp://www.oschina.net/question/17_336 阅读全文
posted @ 2011-10-30 16:38 snigoal 阅读(342) 评论(0) 推荐(0)

DELL PowerConnect 5548[初步]配置

摘要: DeviceDELL PowerConnect 5548Cable ConnectorRS-232 cable with a male 8-pin RJ-45 connectorSoftwarea desktop system running terminal emulation softwarehttp://hw-server.com/software/termv19b.htmlhttp://hw-server.com/files/priloha/termv19b.zipSet the terminal emulation software as follows:a Select the a 阅读全文
posted @ 2011-10-08 22:36 snigoal 阅读(1792) 评论(0) 推荐(0)

XAMPP: Apache + PHP + MySQL on Windows

摘要: XAMPPApache + PHP + MySQL全合一安装程序http://www.apachefriends.org/en/xampp.htmlfor Linux, Windows, Mac OS, SolarisThe distribution for Windows 2000, 2003, XP, Vista, and 7. This version contains: Apache, MySQL, PHP + PEAR, Perl, mod_php, mod_perl, mod_ssl, OpenSSL, phpMyAdmin, Webalizer, Mercury Mail Tra 阅读全文
posted @ 2011-09-25 20:23 snigoal 阅读(198) 评论(0) 推荐(0)

VS2010 + OpenCL 1.1 @ Windows 7 + AMD HD6870

摘要: VersionsOS: Windows 7GPU: AMD Raedon HD 6870IDE: Visual Studio 2010Driver:ATI Catalyst™ 11.7 Driver SuiteOpenCL:AMD APP SDK v2.5 with OpenCL™ 1.1 supportPrerequisitesATI Catalyst™ 11.7 Driver Suite - Dowload fromhttp://www2.ati.com/drivers/11-7_vista32_win7_32_dd_ccc_ocl.exeAMD APP SDK v2.5 with Ope 阅读全文
posted @ 2011-08-26 10:36 snigoal 阅读(931) 评论(0) 推荐(1)

索爱U100i排线更换笔记

摘要: 视频教程:http://v.youku.com/v_show/id_XMjQ5NDU4MzQw.html排线购买地址:http://item.taobao.com/item.htm?id=10524787009【排线可用,但按键无弹性,凑活而已】按照上面的视频拆解,基本没有问题。下面是拆解流程图片1.拆解前2.键盘膜从红圈处将键盘膜挑开。键盘膜三面边上由双面胶粘合,小心撕开即可。3.紧固螺丝2颗,处于键盘膜下方,如红圈处。4.紧固螺丝2颗,手机背面,揭开后盖即可看到,处于上部5.排线此时可将手机滑板下步查下,小心将两条排线拆开,先大后小(顺序不是关键,先拆容易的)。6.紧固螺丝SIM卡插槽旁边 阅读全文
posted @ 2011-07-22 22:39 snigoal 阅读(3602) 评论(0) 推荐(0)

拜求google+邀请

摘要: 拜求google+邀请,snigoal@gmail.com.[Update @ 2011-7-15 14:15:14]已获google+邀请,感谢孙同学,胡同学。 阅读全文
posted @ 2011-07-07 17:03 snigoal 阅读(152) 评论(0) 推荐(0)

Jack Dongarra/杰克 多加拉

摘要: 英文名:Jack Dongarra中文名:杰克 多加拉主 页:http://www.netlib.org/utk/people/JackDongarra/index.html领 域:高性能/并行计算大牛专 著:并行计算综论/9787121006388/http://book.douban.com/subject/1318727/He has contributed to the design and implementation of the following open source software packages and systems: EISPACK, LINPACK, th... 阅读全文
posted @ 2011-07-02 22:06 snigoal 阅读(423) 评论(0) 推荐(0)

About OpenTK

摘要: http://www.opentk.com/The Open Toolkit is an advanced, low-level C# library that wraps OpenGL, OpenCL and OpenAL.It is suitable for games, scientific applications and any other project that requires 3d graphics, audio or compute functionality. 阅读全文
posted @ 2011-06-30 22:30 snigoal 阅读(224) 评论(0) 推荐(0)

OpenCV 2.1 + Visual Studio 2008 @ Windows XP 32bit

摘要: Versionsos: Windows XP SP3 32bitVisual Studio: 2008OpenCV: 2.1PrerequisitesDownload and Install Visual Studio 2008 (http://www.microsoft.com/express/Downloads/, select tab Visual Studio 2008 Express)Download and Install OpenCV 2.1 for VS2008 (http://www.opencv.org.cn/download/OpenCV-2.1.0-win32-vs20 阅读全文
posted @ 2011-05-28 21:21 snigoal 阅读(826) 评论(0) 推荐(0)