- 博客(33)
- 资源 (3)
- 收藏
- 关注
原创 setup and test samba server
samba /etc/samba/smb.conf You knew it. Only security and [homes] are not default, the others are default. In this configuration, all the \\server\\username can be accessed. [global] workgro
2014-08-20 23:18:14
972
原创 解决VNC有些键不能输入的问题
今天ubuntu 12.04中安装了vnc server 不知咋搞的就没法输入p 之前安装也遇到不能输入d的事情 先看keyboard里的shortcuts,没有和p相关的 再看compizconfig也没有 sudo apt-get install compizconfig-settings-manager General -> General Options -> Key bind
2014-03-07 21:53:45
11589
原创 Build gdbserver for x86 Android
http://blog.youkuaiyun.com/yuleslie/article/details/7226767 http://omappedia.org/wiki/Android_-_How-to_Rebuild_gdbserver
2014-01-15 21:37:12
2235
原创 Linux Software RAID step by step
http://download.youkuaiyun.com/detail/telnetchen/6839989 本文档记录了作者以VBOX+ubuntu10.04测试Software RAID的过程,包括: 1.为已有系统增加Software RAID, 2.如何恢复非启动盘受损, 3.在Software RAID上安装系统, 4.系统盘损坏时如何恢复
2014-01-12 15:27:18
840
转载 Android 4.2.2_r1 online-gcm-ref及couldn't locate source file编译错误解决
http://www.rover12421.com/2013/06/30/android-4-2-2_r1-sdk-compile-error-resolution.html 错误信息 Docs droiddoc: out/target/common/docs/online-sdk DroidDoc took 278 sec. to write docs to out/target/commo
2013-12-26 23:41:24
2001
原创 Debug with Android Emulator
Get Android module list grep 'LOCAL_MODULE[^a-zA-Z_)]' $(find | grep -e '.*Android.mk$')
2013-12-25 10:37:05
931
原创 去掉那讨厌的windows域
有时候在windows访问网上邻居的共享(或者linux samba)时,它总是自做主张帮你加个域,不去掉这个域登不了共享。 现在发现在用户名前加个\可以去掉域。 windows8上测试OK
2013-12-16 10:08:45
2158
原创 HTTPS post: bypass SSL security check and trust all the hosts
import com.eviware.soapui.model.testsuite.TestRunContext; import javax.net.ssl.* import java.net.URL import java.net.URLEncoder import java.net.CookieHandler; import java.net.CookieManager; import j
2013-10-25 18:01:01
1878
原创 Parse CSV file with Groovy
#!/usr/bin/groovy class CsvParser { static void parse(String filePath, Closure closure) { File file = new File(filePath) file.eachLine() {line -> def fields = line.spl
2013-10-25 16:36:17
965
转载 Write a simple HTTP server in Python
http://www.acmesystems.it/python_httpserver
2013-10-24 15:44:11
868
原创 Groovy and SoapUI
Groovy Groovy JDK Process Management Java Java API String SoapUI SoapUI API
2013-09-27 16:42:17
1221
原创 TF卡,Micro SD卡,Micro SDHC卡
SD卡从卡身大小来看包括:普通SD,MiniSD,MicroSD。相机一般用普通SD,手机一般用MicroSD。感觉MiniSD已经很少见。Micro SD 分 Micro SD(也叫TF卡,SD1.1), Micro SDHC(SD2.0)。2006年5月SD协会发布SD2.0规范。手机是否支持SDHC取决于主芯片的SD控制器是SD 1.1还是SD 2.0现在手机一般支持SD2.0,也就意味着同
2013-09-15 22:36:11
1520
原创 用U盘安装ubuntu 12.04
从ubuntu官方下载了最新的12.04-3的ISO,准备安装到PC上。 在刻盘的时候,不知道出了什么问题,刻盘失败,光盘已经用完。咋办? 用grub4dos直接从硬盘上的ISO安装linux也可行,但是操作比较困难。 刚好今天买了MicroSDHC卡,同时家里也有读卡器(SD转USB)。于是就决定用U盘来安装。 步骤如下: 从ubuntu官方下载最新版本ISO,默认是32-bit,
2013-09-15 22:20:41
1530
原创 Beaglebone - Getting Started
what is BeagleBone http://beagleboard.org/Products/BeagleBone System Reference Mannual https://github.com/CircuitCo/BeagleBone-RevA6/blob/master/BeagleBone_SRM_A6_0_1.pdf?raw=true Getting Star
2013-07-28 20:57:09
1634
原创 Microsoft SQL 2008 Setup: Performance Counter Registry Hive consistency check failed
windows XP Microsoft SQL 2008 安装的过程出了一个问题 The performance counter registry hive is corrupted. To continue, you must repair the performance counter registry hive. For more information, see http://su
2013-05-15 14:35:20
1386
原创 程序员有什么好当的?
忽然有人问我为何技术做得这么投入。 小兄弟,你还不是很了解我。其实我也想飞黄腾达,名利双收,搞搞投资,做做慈善。可是我深知目前只能偶尔想想,偶尔投资投资体育(彩票),做做慈善(福利彩票)。 生活所迫,又无其它技能,有程序员做也不错。 我总要生活,刚好会写几行代码,那就继续写着。收入怎么说呢,撑不饱,也饿不死。 生活是现实的,现实是残酷的,残酷的也没有什么好说的,说说有意思的。
2013-03-06 23:40:11
1259
原创 Thunderbird migration or backup
For migration, it is better to install the save version on different OS. In my case, I migrate Thunderbird from OSX to Windows. OSX Thunderbird 17.02 ~/Library/Thunderbird/Profiles/vvzvylel.defaul
2013-01-27 23:28:40
582
原创 ubuntu 12.04 mediawiki 安装配置及备份恢复
安装 参考:https://help.ubuntu.com/community/MediaWiki sudo apt-get install tasksel sudo tasksel install lamp-server sudo apt-get install mediawiki sudo apt-get install imagemagick mediawiki-math php5-
2012-09-30 11:43:53
2623
原创 Get n days before now
When I tried to google and get a way to get a Date() n days before now. Lots of the answer are trying to do with Calendar.set() or GregorianCalendar.roll(). When n > 30, enven > 366, the solution b
2012-08-23 22:58:08
1982
1
原创 vnc service on ubuntu
install vnc4server sudo apt-get install vnc4server or install with Synaptic Package Manager setup $ vncserver # run first time, set a password $ cat /home/g555184/.vnc/xstartup #!/bin/sh
2012-07-04 13:38:03
950
原创 mount
mount samba server for current user(not root): #!/bin/sh server=//192.168.1.156/departments/ mount_dir=/${HOME}/departments/ first_grp=$(groups ${USER} | sed -n -e 's/^[^:]*:[[:space:]]*\([^[:space
2012-05-04 09:50:37
555
原创 linux commands
Linux Command Line tips that every Linux user should know http://www.linuxstall.com/linux-command-line-tips-that-every-linux-user-should-know/
2012-03-23 12:49:51
460
原创 bash shell tips
http://www.linuxsir.org/main/doc/abs/abs3.7cnhtm/options.html http://tldp.org/LDP/abs/html/options.html 选项用来更改shell或/和脚本行为的机制 用set 或者#!/bin/bash -e 来更改脚本的执行选项。如同运行/bin/bash时的命令行配置选项 比如#!/bin/bash
2012-03-16 09:50:45
1128
1
原创 ubuntu configuration
Configure auto start services usage: update-rc.d [-n] [-f] remove update-rc.d [-n] defaults [NN | SS KK] update-rc.d [-n] start|stop NN runlvl [runlvl] [...] . update-rc
2012-03-10 16:40:18
1175
原创 linux下将资源文件加入可执行文件中
<br />http://www.linuxjournal.com/content/embedding-file-executable-aka-hello-world-version-5967<br />http://www.finiderire.com/post/2009/06/02/Et-un-fichier-exe-pour-les-gouverner-tous<br /> <br />以上两篇文章介绍了在linux环境下将资源加入可执行文件的方法。<br />(1)用xxd 或者 hexdump直接
2010-12-12 18:58:00
1381
原创 vim+ctags+taglist+cscope
http://sourceforge.net/projects/vimcdoc/ vim中文文档 vim + ctags +taglist http://nchc.dl.sourceforge.net/project/vim-taglist/vim-taglist/4.5/taglist_45.ziphttp://nchc.dl.sourceforge.net/project/
2010-05-09 21:28:00
925
转载 Thread-Local Storage(TLS)
http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Thread-Local.html Thread-local storage (TLS) is a mechanism by which variablesare allocated such that there is one instance of the variable per exta
2010-03-03 17:53:00
907
原创 testing badework in MacBook
OS: Mac OS X 10.6.1 (10A2047)Kernel: Darwin 10.1.1 Download: http://www.bedework.org/bedework/update.do?artcenterkey=2Bedework Manual v.3.6 : http://www.bedework.org/bedework/update.d
2010-02-28 21:49:00
1265
原创 mac software
WBIM - a chinese wubi input methodIt is hard to download, you had better use XunLei to download it.http://www.pawpawsoft.com/downloads/ Remote Desktop Connection Client for Mac 2Easily conne
2010-02-28 16:52:00
683
转载 Google黑板报 - 数学之美系列
数学之美系列 二十四 从全球导航到输入法——谈谈动态规划数学之美系列 二十三 输入一个汉字需要敲多少个键 — 谈谈香农第一定律数学之美系列二十二 由电视剧“暗算”所想到的 — 谈谈密码学的数学原理数学之美系列二十一 - 布隆过滤器(Bloom Filter)数学之美 系列二十 -自然语言处理的教父 马库斯数学之美 系列十九 - 马
2010-02-26 20:00:00
961
Linux Software RAID step by step
2014-01-12
Linux Software RAID step by step v1.1
2014-01-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅