這是給我自己看的
URL
google map track: http://gps-log.googlecode.com/svn/trunk/
- 其他有用的 url: http://descent-incoming.blogspot.com/2010/04/url.html
- 未來書單: http://descent-incoming.blogspot.com/2009/06/firefox.html
- 電腦好書: http://stackoverflow.com/questions/1711/what-is-the-single-most-influential-book-every-programmer-should-read
- 台灣 opensource 社群: http://descent-incoming.blogspot.com/2011/10/opensource.html
- 常用的 firefox add-ons: http://descent-incoming.blogspot.com/2008/07/firefox-tree-tab.html
- qt 相關資源: http://descent-incoming.blogspot.com/2008/03/mount-samba-file-system.html
install mac osx in vmware: http://wiki.osx86project.org/wiki/index.php/Vmware
QuickTime 7.1.6 on Linux with Wine: http://www.wine-reviews.net/applications/quicktime-716-on-linux-with-wine.html
Executable and Linking Format
共筆網頁: http://openetherpad.org/Mbcbg4gXVn
用Vim画三角形+乘法口诀: http://www.xixingge.com/content/linux/article.aspx?id=922515
arm-linux head.S 源代码分析: http://blog.chinaunix.net/uid-26969690-id-3227341.html
互動式 gcc -> assembly code:
http://gcc.godbolt.org/
c++ ABI:
http://sourcery.mentor.com/public/cxx-abi/abi-mangling.html
256色抖动算法(Floyd-Steinberg dithering): http://lingyungiu.blog.163.com/blog/static/17820780200932125055382/
memory barrier: http://october388.blogspot.tw/2008/12/memory-barrier.html
linux 0.11 with gcc 4.6.1:
http://blog.chinaunix.net/uid-23917107-id-3173253.html
intel architecture software developer's manual:
http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html
C99 的 offsetof macro:
- http://blog.linux.org.tw/~jserv/archives/001399.html
- http://eetimes.com/design/embedded/4024941/Learn-a-new-trick-with-the-offsetof--macro
Why BIOS loads MBR into 0x7C00 in x86 ?
http://www.glamenv-septzen.net/en/view/6
git magic: http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/zh_tw/index.html
linux framebuffer:
- http://home.gamer.com.tw/creationDetail.php?sn=429293 http://www.360doc.com/content/09/0518/15/150654_3551956.shtml
Xv6, a simple Unix-like teaching operating system: http://pdos.csail.mit.edu/6.828/2011/xv6.html
AT&T 汇编学习: http://www.cnblogs.com/brucewoo/archive/2010/07/27/2252032.html
What I Dislike About GAS: http://x86asm.net/articles/what-i-dislike-about-gas/
resources and discussion on 64-bit programming with GAS:
http://www.x86-64.org/
Python Web 框架:
http://pyclassroom.appspot.com/2009/09/13/python-web-framework.html
http://blog.ez2learn.com/2010/01/27/introduction-to-wsgi/
c/c++ 複雜的宣告: http://www.codeproject.com/Articles/7042/How-to-interpret-complex-C-C-declarations
SM 版 Hello World: http://blog.linux.org.tw/~jserv/archives/001773.html
Intel的64位扩展技术简介: http://www.njyangqs.com/hardware/ia-32etech.htm
C Startup: http://www.bravegnu.org/gnu-eprog/c-startup.html
在德國逃票之後: http://www.dfg.cn/big5/cszd/shzr/21-taopiao.htm
XIM协议的输入法原理与实现:
letoh 介紹的書籍 SICP 或 HTDP
履歷加分圖: http://stevehanov.ca/blog/index.php?id=56
irssi+screen+中文:
- http://blog.seety.org/everydaywork/2005/3/15/253/
- http://irssi.org/beginner/
- http://lzy-blah.blogspot.com/2007/08/screen-irssi-irc-q.html
debian multimedia:
http://debian-multimedia.org/
Q: Why apt-get doesn't find this public key : NO_PUBKEY 07DC563D1F41B907 ?
A: Install the debian-multimedia-keyring package with "dpkg -i debian-multimedia-keyring_2008.10.16_all.deb" (click on the link above to download the package).
And then do an 'apt-get update'.
GBUB4DOS一開始一定是先處理MBR:stage1.S
Intel Mac 多系统(Mac OS X、GNU/Linux、Windows)原理和实践: http://rainux.org/intel-mac-multi-boot-macosx-gnu-linux-windows-xp-theory-and-practice
llvm:
http://old.js.cnkk.org/2010/04/llvm.html
http://www.slideshare.net/jserv/llvm-introduction
blog.tinlans.org/2010/09/10/拖稿很久的-llvm-使用文/#more-1667
UTF-8文件的Unicode签名BOM(Byte Order Mark)问题
状态机的两种写法
記憶體保護相關文章:
- http://www.doc88.com/p-5770305509.html
- https://docs.google.com/viewer?a=v&pid=gmail&attid=0.1&thid=1365788bfcd539c0&mt=application/pdf&url=https://mail.google.com/mail/?ui%3D2%26ik%3D43e544e776%26view%3Datt%26th%3D1365788bfcd539c0%26attid%3D0.1%26disp%3Dsafe%26realattid%3Df_h0buyzpn0%26zw&sig=AHIEtbTdZclYexwhvFCopJs7sk86X8W8mA&pli=1
debian apt server site list: http://www.debian.org/mirror/list
Mount Partitions Automatically: https://help.ubuntu.com/community/AutomaticallyMountPartitions
Member Function Pointers and the Fastest Possible C++ Delegates (很長的文章) : http://www.codeproject.com/KB/cpp/FastDelegate.aspx
web msn: https://www.meebo.com/messenger
Linux X11 - Global Keyboard Hook: http://stackoverflow.com/questions/6560553/linux-x11-global-keyboard-hook
python抓露天拍賣 part 1 (有網頁分析工具Fiddler2和Charles這種監控http協定)
反組譯 c/c++ disassembly
高雄圖書館: http://www.ksml.edu.tw/informactions/search/search.aspx
台南圖書館: http://www.tnml.tn.edu.tw/reader_query.htm
台南二手書店:http://www.wretch.cc/blog/wn112/10117290
顯示你可能會有興趣的文章的外掛: http://www.linkwithin.com/learn
讓skype可以正常使用語音通話: http://david-ubuntu.blogspot.com/2011/01/skype.html
如何在 mysql 上將查詢資料匯出成一個檔案: http://chuiwenchiu.wordpress.com/2005/09/27/%E5%A6%82%E4%BD%95%E5%9C%A8-mysql-%E4%B8%8A%E5%B0%87%E6%9F%A5%E8%A9%A2%E8%B3%87%E6%96%99%E5%8C%AF%E5%87%BA%E6%88%90%E4%B8%80%E5%80%8B%E6%AA%94%E6%A1%88/
Blogger加入相關文章的功能: http://www.pptrar.tw/2011/04/blogger_4135.html
Debugging kernel with qemu and gdb: http://dc0d32.blogspot.com/2010/03/debugging-kernel-with-qemu-and-gdb.html
字串比對: http://caterpillar.onlyfun.net/Gossip/AlgorithmGossip/MatchString.htm
一口氣看穿5種Google搜尋技巧:
http://www.techbang.com.tw/posts/7754?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+techbang+%28T%E5%AE%A2%E9%82%A6+%E6%9C%80%E6%96%B0%E6%96%87%E7%AB%A0%29
C++0x:Lambda expression:
http://kheresy.wordpress.com/2010/05/27/c0x%EF%BC%9Alambda-expression/
Clients, Servers, the Internet and the World Wide Web:
- http://www.linuxtopia.org/online_books/programming_book/python_programming/python_ch36s02.html
- http://fragments.turtlemeat.com/pythonwebserver.php
httplib — HTTP protocol client: http://docs.python.org/library/httplib.html
刘未鹏之《boost源码剖析》系列: http://www.kuqin.com/cpluspluslib/20071020/1679.html
高階GPS碼表採購前必讀評比:Garmin Edge-800 對決 Xplova G3:
http://tw.myblog.yahoo.com/bikefun-bikefun/article?mid=9887
別人的德國瑞士自助旅行遊記: http://glavine.pixnet.net/blog/post/23595647
javascript 畫線圖: http://www.highcharts.com/
雜誌下載: http://fafa99.weebly.com/6/post/2011/11/-485-4-vs.html
幾個 command line tools: http://kkovacs.eu/cool-but-obscure-unix-tools
MySQL中文參考手冊: http://twpug.net/docs/mysql323/manual_Tutorial.html
mysql data type:
http://ithelp.ithome.com.tw/question/10030564
http://apt.nc.hcc.edu.tw/pub/FreeSoftware/php_doc/20031214%B4%BF%B5Y%B4I%A6%D1%AEvPHP%C1%BF%B8q/3-2.htm
multiboot:
http://www.gnu.org/software/grub/manual/multiboot/multiboot.html
http://ksrenevasan.blogspot.com/2005/10/writing-multiboot-pe-kernels-using.html
python + mysql 中文處理:
http://hi.baidu.com/litertiger/blog/item/506cb5debaa3d55bccbf1aed.html
http://hi.baidu.com/kunp/blog/item/486dc2fd25dde343d7887dec.html
MySQL Python tutorial: http://zetcode.com/databases/mysqlpythontutorial/
python socket: http://blog.csdn.net/cp62/article/details/3980773
linux suspend command: https://bbs.archlinux.org/viewtopic.php?id=58273
重新設定 mysql 密碼: http://blog.tmu.edu.tw/tedyeng/000096.html
sql 語法: http://dev.mysql.com/doc/refman/5.1/zh/sql-syntax.html#select
web msn: https://www.meebo.com/messenger
觸控面板產業: http://zhe09.pixnet.net/blog/post/83111111
TenFourFox: 給 tiger mac os user 的 web browser
http://www.floodgap.com/software/tenfourfox/
icewm:
- http://tetralet.luna.com.tw/index.php?op=ViewArticle&articleId=68&blogId=1
- http://people.ofset.org/~ckhung/b/mi/icewm.php
https://netbank.jihsunbank.com.tw/
https://ebank.tcb-bank.com.tw/netbank/
https://ebank.taipeifubon.com.tw/ibank/html/pages/jsp/home.jsp
https://consumer.chinatrust.com.tw/CTCBPortalWeb/appmanager/ebank/rb
https://ibank.landbank.com.tw/
http://www.esunbank.com.tw/
歡迎來到JuluOS開發中文社群: http://julu.staros.mobi/
Creating a 64-bit kernel: http://wiki.osdev.org/Creating_a_64-bit_kernel
文字轉圖檔: http://img4me.com/
CJK-LaTeX:用hyperref宏包產生PDF書籤 (中文書籤問題)
動手玩機器碼: http://novus.pixnet.net/blog/post/28956842-%E5%8B%95%E6%89%8B%E7%8E%A9%E6%A9%9F%E5%99%A8%E7%A2%BC
x86 指令 leave (和 c runtime 有關): http://hi.baidu.com/oasis15/blog/item/33f9622512656c084d088db5.html
ubuntu 11.10 and gnome: http://ubuntuguide.net/ubuntu-11-10-oneiric-login-to-classic-gnome2-and-gnome3gnome-shell
Graphics Programming Black Book by Michael Abrash's: http://drdobbs.com/high-performance-computing/184404919
VGA mode X (320x240x256): http://www.programmersheaven.com/download/1957/69/ZipView.aspx
vga text mode to graphic mode in protected mode:
- http://forum.osdev.org/viewtopic.php?f=1&t=17230
- http://bos.asmhackers.net/docs/vga_without_bios/
- http://wiki.osdev.org/Drawing_In_Protected_Mode
Hardware Level VGA and SVGA Video Programming Information Page
facebook 增加按爛的按鈕: http://www.fbdislikebutton.net/
http://www.fbdislikebutton.net
tortoisegit: http://code.google.com/p/tortoisegit/downloads/list
Debian / Ubuntu Linux 網路設定範例: http://blog.longwin.com.tw/2011/02/linux-network-set-example-2011/
gas:
http://c9s.blogspot.com/2008/06/linux-gnu-as-1.html
http://www.ibm.com/developerworks/linux/library/l-gas-nasm/index.html
emacs 中文文件:
http://www.cbi.pku.edu.cn/chinese/documents/csdoc/emacs/
http://man.chinaunix.net/newsoft/Emac/book.html
dvdrip (linux):
http://darkranger.no-ip.org/archives/v5/document/linux/dvd_rip_linux.htm
avi 分割/合併軟體(linux):
http://briian.com/?p=7385
http://save-coco.blogspot.com/2008/11/avidemux.html
網路收音機: http://www.sky.fm/
17.7 What should I do with those "near" and "far" declarations? http://www.delorie.com/djgpp/v2faq/faq17_7.html
v-gear driver: http://my-prog.googlecode.com/svn/trunk/V-GEAR103.EXE
讀卡機 (reflex usb lite) card reader winxp driver : download
網絡監控工具 IPTraf: http://linux.chinaitlab.com/administer/7893.html
查 IP: http://www.pttip.com/
kiwin: http://www.ohloh.net/p/kiwin/analyses/latest
tcp/ip源碼(19)——Scatter/Gather I/O在L3中的應用: http://my.chinaunix.net/space.php?uid=23629988&do=blog&id=196823
GNU gcc and ld: http://blog.chhsu.org/2008/01/gnu-gcc-and-ld.html
倚天忘形99: http://www.softking.com.tw/soft/download.asp?fid3=402
深入分析Linux内核源码: http://oss.org.cn/kernel-book/
程式碼不要被最佳化, 真的去 access memory, 而非 register 的值, 避免 out of order:
http://blogold.chinaunix.net/u/6071/showart_2049460.html
Feature: High Memory In The Linux Kernel: http://kerneltrap.org/node/2450
Mac OS X 的誕生故事: http://whiteappleer.tw/2010/12/03/the-story-of-the-birth-of-mac-ox-x/
computer ebook: http://www.2cto.com/ebook/pro/c/2.html
MES工程師: http://tw.myblog.yahoo.com/jw!6JocOyeRExvkofdcEaGr/article?mid=8050&next=8049&l=a&fid=20
U-Boot:Startup Code - Relocation:http://blogold.chinaunix.net/u2/82019/showart_1296529.html
Boost Pointer Container Library: http://www.boost.org/doc/libs/1_46_1/libs/ptr_container/doc/ptr_container.html
alignment: http://www.lslnet.com/linux/f/docs1/i19/big5189683.htm
有關程式設計的網站:
MIME Media Types: http://www.iana.org/assignments/media-types/index.html
test blog: http://test-template0.blogspot.com/
firefox: http://www.ie7.com/
- 為 Git 管理下的檔案,自動加上 Revision 或 Id 資訊
- http://stackoverflow.com/questions/1704907/how-can-i-get-my-c-code-to-automatically-print-out-its-git-version-hash
BogoMips: http://en.wikipedia.org/wiki/BogoMips
Folding Bike Manufacturer Directory: http://www.foldingcyclist.com/folding-bike-manufacturer-directory.html
電阻式觸控面板 v.s 電容式觸控面板: http://dolphinwing.pixnet.net/blog/post/16621725
blogger data element: http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=47270
Blogger 文章分類階層工具 (第二版)
將Blogger標籤(分類)變成下拉式選單
| 讓blogger文章在首頁顯示等比例縮圖 |
Fitting a JTAG interface to an iPAQ 3600:
http://openwince.sourceforge.net/jtag/iPAQ-3600/
IPAQ h3600 linux patch:
http://mad.is-a-geek.org/h3600/index.html
在瀏覽器上可以選擇要列印的部份:http://www.printwhatyoulike.com/bookmarklet
Memory Mapped IO vs Port IO: http://compusilli.wordpress.com/2007/08/28/memory-mapped-io-vs-port-io/
Linux Setting processor affinity for a certain task or process
→ cupset, taskset
How do I reduce the size of postscript figure files?
嵌入式即時作業系統設計
ubuntu 架設 telnet server: http://mybeauty.pixnet.net/blog/post/26400330
qemu + debian + arm
http://www.aurel32.net/info/debian_arm_qemu.php
這裡有各種平台的 netboot image 可以下載。
http://ftp.de.debian.org/debian/dists/unstable/main/installer-armel/current/images/
flex & bison:
install ubuntu to usb storage:
http://www.ubuntu.com/desktop/get-ubuntu/download
grub4dos:
教你修改以及重构skb: http://linux.chinaunix.net/bbs/thread-1152885-1-1.html
skb pointer 圖解: http://vger.kernel.org/~davem/skb_data.html
編輯 windows applicaion icon 的軟體: http://icofx.ro/
Application Icon:
- http://doc.trolltech.com/4.3/appicon.html
- http://hi.baidu.com/chinsung/blog/item/9aeea2efa6c7a310fcfa3c6f.html
從應用程式送出封包到 NIC 上流程 (linux):http://www.csie.ntu.edu.tw/~b92092/Pakage%20Send%200.14.doc
Linux網路代碼導讀v0.2: http://www.linuxuser.com.tw/skill_detail.php?cid=1654
Network Buffers and Memory Management: http://www.linuxjournal.com/article/1312
CJK 全型標點符號「對齊」行尾:http://apansharing.blogspot.com/2008/02/cjk.html
mtd-utils:http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:mtd-utils
如何交叉编译mkfs.jffs2等工具链mtd-utils(包括zlib.so库和lzo.so库)
Why The Array Index Should Start From 0
約耳談軟體(Joel on Software)翻譯計畫:
http://local.joelonsoftware.com/wiki/Main_Page
不爽網:http://www.busong.org/forum-80-1.html
您現在正在使用的瀏覽器安全嗎?
QextSerialPort: http://sourceforge.net/projects/qextserialport/
mac osX + boot camp 安裝 xp service pack 3 會有 "out of disk space" error message。
ref: http://forums.macrumors.com/showthread.php?t=466996
Static, Shared Dynamic and Loadable Linux Libraries:
http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html
關掉 Windows 2K 的自動播放功能: http://dora2002.twbbs.org/2009/02/windows-2k.html
Linux assemblers: A comparison of GAS and NASM: http://www.ibm.com/developerworks/library/l-gas-nasm.html
刪除 XP 系統無用的檔案
貼程式碼的好地方: http://nopaste.csie.org/
在Ubuntu 9.10中使用Acidrip將DVD轉檔
Address Resolution Protocol (ARP):http://linux-ip.net/html/ether-arp.html
把Mac OSX 10.5 Leopard裝在Eee PC電腦上
調整 X 解析度的方法:http://blog.roodo.com/fox/archives/10427545.html
或是安裝 grandr
apt-get install grandr
鄉民低調碼還原: http://hugojay.com/0rz/#
Expect 教程中文版
Introduction to VESA programming
AT&T 組合語言指令詳解
個人電腦 (x86) 的最小啟動程式 (gas AT&T語法)
Grub2 集中討論 [論壇 - Ubuntu基本設定]
GRUB 2, graphical boot tips to set the desired VGA console mode.
Real mode in C with gcc : writing a bootloader
PC-DOS and MS-DOS memory map: http://www.osdata.com/system/physical/memmap.htm
Using gcc and ld to Compile Other Binary Formats
Brennan's Guide to Inline Assembly
無廣告 msn
ARM GNU GCC Inline Assembler Part II
ARM-Linux 對於 IRQ 的底層處理
arm linux 啟動流程之解壓內核
Vim + Trinity + Source Explorer + Tag List + NERD_tree + ctags
C語言裏嵌入組合語言
NOTE
make a patch
diff -Naur old new > patch_file
patch -pN < patch_file 更新
patch -R -pN < patch_file 還原
Run X client in linux console
DISPLAY=:0.0 gnome-terminal
ubuntu compizconfig
sudo apt-get install compizconfig-settings-manager
vim replace
s/a>\r\(.*\)<\/span>/{\\bf \1}/
%s/\(.*\)<\/span>/\\section{\1}/gc
:s/\(.*\)<\/b>/{\\bf \1}/
Dropbox for Linux
網站雖然有 linux dropbox tool,
但是拜其 opensource 之賜, 在 debian 裡頭,
apt-get install dropbox
輕鬆搞定。
在 unix/linux 系統, 用指令找出硬碟裡的大檔案
du ' sort 以及head 三個 三個常見的指令
du -cks * | sort -rn | head -11
alias hunter='du -cks * | sort -rn | head -11'
svn "gnome keyring" issue
http://old.nabble.com/disable-warning-about-gnome-keyring--td23506009.html
create config file
svn --config-dir /tmp/svn-config help
see the setting
password-stores = kwallet
ref: http://wei-hu-tw.blogspot.com/2007/11/embedded-linux.html
名稱 用途 官方網站
PearPC 模擬PowerPC http://pearpc.sourceforge.net
ARMphetamine 模擬ARM(發展中止) http://armphetamine.sourceforge.net/
Tarmac 模擬ARM(發展中止) http://davidsharp.com/tarmac/
SkyEye 模擬ARM http://www.skyeye.org/
ARMware 模擬ARM http://www.csie.ntu.edu.tw/~r88052/ARMware/tw/frame.html
表:常見的嵌入式平台模擬器
vsftpd.conf
anonymous 的設定, 可以 overwirte 檔案。
anon_umask=022
anon_other_write_enable=YES
imagemagick convert
convert 是 imagemagick 所提供的程式之一, 有許多用途, 其中之一, 轉換圖檔格式, 調整解析度。
轉檔
convert a.jpg a.eps
調整解析度
convert -geometry 25%x25% a.eps a.eps
convert -geometry 640x480 a.eps a.eps
順時針方向轉 90 度
convert imgp1006.jpg.eps -rotate 90 imgp1006.jpg.eps
逆時針方向轉 90 度
convert imgp1006.jpg.eps -rotate 90 imgp1006.jpg.eps
http://hi.baidu.com/%C4%CF_%BC%AB_%B1%F9_%CE%DD/blog/item/d12fb5ea7e20c7dbd439c9f6.html
加浮水印: http://litybook.blogspot.com/2010/09/imagemagick.html
windows shutdown
C:\WINDOWS\system32\at.exe 2:00 Shutdown -s
svn "gnome keyring" issue
http://old.nabble.com/disable-warning-about-gnome-keyring--td23506009.html
create config file
svn --config-dir /tmp/svn-config help
see the setting
password-stores = kwallet
模擬器:
ref: http://wei-hu-tw.blogspot.com/2007/11/embedded-linux.html
名稱 用途 官方網站
PearPC 模擬PowerPC http://pearpc.sourceforge.net
ARMphetamine 模擬ARM(發展中止) http://armphetamine.sourceforge.net/
Tarmac 模擬ARM(發展中止) http://davidsharp.com/tarmac/
SkyEye 模擬ARM http://www.skyeye.org/
ARMware 模擬ARM http://www.csie.ntu.edu.tw/~r88052/ARMware/tw/frame.html
表:常見的嵌入式平台模擬器
vsftpd.conf
anonymous 的設定, 可以 overwirte 檔案。
anon_umask=022
anon_other_write_enable=YES
imagemagick convert
convert 是 imagemagick 所提供的程式之一, 有許多用途, 其中之一, 轉換圖檔格式, 調整解析度。
轉檔
convert a.jpg a.eps
調整解析度
convert -geometry 25%x25% a.eps a.eps
convert -geometry 640x480 a.eps a.eps
順時針方向轉 90 度
convert imgp1006.jpg.eps -rotate 90 imgp1006.jpg.eps
逆時針方向轉 90 度
convert imgp1006.jpg.eps -rotate 90 imgp1006.jpg.eps
http://hi.baidu.com/%C4%CF_%BC%AB_%B1%F9_%CE%DD/blog/item/d12fb5ea7e20c7dbd439c9f6.html
加浮水印: http://litybook.blogspot.com/2010/09/imagemagick.html
windows shutdown
C:\WINDOWS\system32\at.exe 2:00 Shutdown -s
add svn version in source code
add $Rev$ to string.
svn propset svn:keywords "Rev" style.css
ref: http://dev.juokaz.com/php/automatic-svn-revision-number-in-source-code
在 maklefile 中使用 ifeq 和 or
$(filter ,)
名稱:過濾函數——filter。
功能:以模式過濾字符串中的單詞,保留符合模式的單詞。可以有多個模式。
返回:返回符合模式的字串。
ex:
if SELECT_A==y || SELECT_B==y
ifeq (y, $(filter $(SELECT_A) $(SELECT_B), y))
goto head file in vim
by ptt timTan
在 你的header file 上按 gf 或是 ctrl w + f
vim 預設會在 .,/usr/include 這兩個地方找 檔案。
你的 project header 如果 是放在 /your/pwd/header/
請在你的 vimrc 上多做一件事 set path+=/your/pwd/header/
當然,cscope 也是不錯的好工具。
NFS root support linux kernel config
│ │ [*] Networking support --->
│ │ Networking options --->
│ │ [*] IP: kernel level autoconfiguration
│ │ [*] IP: DHCP support
│ │ File systems --->
│ │ [*] Network File Systems --->
│ │ <*> NFS client support
│ │ [*] Root file system on NFS
煮飯口訣
內鍋水量: 米 X 1.2
外鍋水量: 米 X 0.5
稀飯:
內鍋水量: 米 X 6
外鍋水量: 米 X 0.5
兩人份:
1.5 杯的米
BBSFox 2.0.21
在 firefox 下玩 bbs:https://addons.mozilla.org/en-us/firefox/addon/bbsfox/
安裝完畢之後, 在網址列打 telnet://ptt.cc 就會連到 ptt 了。
hot key : chrome://bbsfox/locale/help.htm
利用簡單的 Shell Script 抓你的IP:
http://www.ylarge.com.tw/cms/article/27/220.html# ifconfig eth0 | grep "inet addr" | tr -s ' ' ' ' | cut -d ' ' -f3 | cut -d ':' -f2
samba access symbolic link
ref: http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=128058
edit smb.conf
follow symlinks = yes
unix extensions = no
wide links = yes
從 file command 得到 mime type
file -i a.tar
a.tar: application/x-tar; charset=binary
使用 smbclient copy smb server 檔案
ref: http://www.linuxso.com/command/smbclient.html
--user username%passwd, 此例子的密碼是空字串 ''
get <remote file name>
Copy the file called remote file name from the server to the
machine running the client. If specified, name the local copy local
file name. Note that all transfers in smbclient are binary. See
also the lowercase command.
from samba server copy to local
$ smbclient -c "get e.iso /tmp/e.iso" \\\\127.0.0.1\\smb_test --user username%''
put<local file name> [remote file name]
Copy the file called local file name from the machine running the
client to the server. If specified, name the remote copy remote
file name. Note that all transfers in smbclient are binary. See
also the lowercase command.
from local copy to samba server copy
$ /usr/bin/smbclient -c "put /tmp/exam.d e.txt" //127.0.0.1/smb_test/ --user username%''
get timestamp in linux
git archive
git archive --format=tar --prefix=code/ HEAD | gzip > /tmp/code.`date +%Y%m%d-%I%M%S`.tar.gzgit log:
runpc! no 164 p: 162 探討 boost.tuple by 侯捷
sed 刪除某些行
sed -e '/^AAA$/,/^BBB$/d' afilemprotect
man mprotectmprotect - set protection on a region of memory
ref: http://blog.linux.org.tw/~jserv/archives/2012/05/_python_shellco.html
mount samba filesystem in linux
# mkdir /mnt/cifs
# mount -t cifs //server-name/share-name /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount -t cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraftref: http://www.cyberciti.biz/faq/linux-mount-cifs-windows-share/
xvidcap
linux 桌面錄影軟體