Category Archives: Memo

Create an open source vmnetcfg

VMware VMNetcfg is a useful tool, you can change IP, DNS, NAT quickly. But begin from VMware Player 3.x, it have been removed from then standard installer. You must extract from Workstation version, painful… In the older days, you can … Continue reading

Posted in Memo | Tagged , , , | Comments Off on Create an open source vmnetcfg

Bug with GCC and Qt 5.7.0

When I build a Qt library from source, everything seems ok, but when the Qt example run, it show segmentation fault… Why do I compile from source, because my CPU on server not support SSE2 >_< So I do some … Continue reading

Posted in Memo | Tagged , , , , , , , , , | Comments Off on Bug with GCC and Qt 5.7.0

Build openssl for windows

First, download source code: https://www.openssl.org/source/openssl-1.0.2h.tar.gz Second, download ActivePerl https://www.activestate.com/activeperl Third, download mingw64 https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/

And I compile mingw version under xubuntu 16.04 with mingw32 installed.

Have fun:P This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. … Continue reading

Posted in Memo | Tagged , , , | Comments Off on Build openssl for windows

Custom Ubuntu live CD

Ubuntu live cd can startup on u-disk, so just test with this media.

Posted in Memo | Tagged , , | Comments Off on Custom Ubuntu live CD

Bug in data2mem…

I using data2mem to replace data in BlockRAM, It confused me when I try to replace BlockRAM data in Spartan6 Devices. There are correct in BRAM16 with 8bits and 16bits, only error BRAM18 with 18bits. Update: bug exist in ISE … Continue reading

Posted in Memo | Tagged , , , , | Comments Off on Bug in data2mem…

Test openwrt under qemu-system-x86

I have ar9331 wifi module, It is better to emulate openwrt on QEMU, and learn it under x86, then try ar9331. After searching on Google, I found openwrt for x86 and qemu 2.5.0.

Posted in Memo | Tagged , | Comments Off on Test openwrt under qemu-system-x86

Google Chrome freezing and beep

I upgraded Chrome from 43 to 46 on PC. When open new page, it freezing for 3-5 seconds randomly, sound ‘beep’, then normal… But Chrome 26 to 46 at Thinkpad x200 work fine, no freeze happend! Maybe hardware problem or … Continue reading

Posted in Memo | Tagged , , | Comments Off on Google Chrome freezing and beep

google拼音输入法和google chrome冲突……

本来用得好好的,一直是Chrome + Google Pinyin 2.7,将Chrome升级到46后,用Chrome打开网页经常电脑卡死,鼠标也不能移动,但是音乐还在播放,然后几秒钟后恢复。一直以为是Samsung SSD的问题(另外一个用Sandisk SSD没问题)。 然后各种换……最后发现安装1.23版本的Google Pinyin输入法就好很多了,至少不会这么频繁的卡死。 所以可能的原因是: Samsung SDD读写可能在某些高并发的时候有较大的延时,毕竟Sandisk的没问题,LITEON的也没问题 Google Pinyin 2.7和Chrome46冲突,但是为啥在其他SSD上没这个问题。输入法和浏览器对硬盘的访问都不小吧 继续测试中,看看会不会再有其他的现象。

Posted in Memo | Tagged , , , | Comments Off on google拼音输入法和google chrome冲突……

About microblaze architecture version

I work on microblaze recently. And mb32 is confuse me.There are not architecture version? or instruction set version? So I check all mb_ref_guide.pdf I have. This is microblaze version list. Begin from 7.1i there are Processor Version Register 0 (PVR0) … Continue reading

Posted in Memo | Tagged , , , , | Comments Off on About microblaze architecture version

python version and visual c++ version

在编译Python扩展的时候常常会遇到版本不匹配的问题,以下搜集了常见的版本的VC版本的对应关系。 * MSC v1310: Visual Studio 2003 * Python 2.4.x Python 2.5.x * MSC v1500: Visual Studio 2008 * Python 2.6.x Python 2.7.x Python 3.0.x Python 3.1.x Python 3.2.x * MSC v1600: Visual Studio 2010 * Python 3.3.x Python 3.4.x

Posted in Memo | Tagged , , | Comments Off on python version and visual c++ version