← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 87
  1. I found some mystery visitors in nginx’s access log.

  2. This problem appered when I was checking out older tag from the Chromium project.

  3. First, check out and install the depot_tools package. $ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $ export PATH=$PATH:/path/to/depot_tools Checkout source code $ mkdir ~/chromium_build && cd $_ ~/chromium_build$ fetch --n…

  4. This is a How-To article that include installation and compile LaTeX file to PDF using Texmaker, Sublime Text 3, and Vim.

  5. Real-Time Monitor for rpi-monitor: Update system status every 5 seconds.

  6. Core Hollow Body Hold Plank Variation L Sit Upper Chest/Push up Exercises & Variations Pull-up Dips Lower Lower Back Leg workout Other resources Full Body workout Core beginner to advanced Push beginner to advanced Push beginner to advanced Comprehensive…

  7. I recently switched my blog from Google Blogger to GitHub Pages, here is how I built my blog.

  8. Baking 2014

    原味戚風蛋糕(Chiffon Cake) 芋頭麵包(Taro Bread) 小餅乾(Biscuit) 萬聖節餅乾(Halloween Cookies) 海蒂白麵包(アルプスの少女ハイジ・ハイジの白パン) 黑糖饅頭(Brown Sugar Steamed Bread) 蛋糕土司(Cake Toast) 香蕉土司(Banana Toast)

  9. Generating SSH keys for GitHub Here are github account and work account.

  10. installation Requirements $ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \ libreadline-dev libsqlite3-dev wget curl llvm install pyenv $ cd ~ $ git clone git://github.com/yyuu/pyenv.git .pyenv $ echo 'export PYENV_ROOT="$…

  11. Advanced Bash-Scripting Guide sed awk Internal Variables #current parent pid $$ #last background process pid $!

  12. Use RRDTool monitor Raspberry Pi, include CPU temperture, Memory usage, Disk I/O, Network I/O… Install install packages $sudo apt-get install libcairo2-dev libpango1.0-dev libglib2.0-dev libxml2-dev \ librrd-dev python2.7-dev rrdtool python-rrdtool $wget

  13. Baking 2013

    起司麵包 綜合麵包 平底鍋做麵包 戚風蛋糕 香蕉核桃馬芬蛋糕 鮭魚炒飯

  14. This is a git tutorial, create svn upstream on GitHub.

  15. Building MOC

    clone MOC svn repository to github Ref: Converting a Subversion repository to Git $ sudo apt-get install subversion git-svn $ mkdir moc-svn $ cd moc-svn $ svn co svn://daper.net/moc/trunk $ svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $…

  16. Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. jQuery Mobile base on jQuery for mobile device. jQuery vs. jQuery Mobile vs. jQuery UI Install bottle: $ sudo apt-get install python-setuptools $ easy_install bottle Demo server

  17. Here is a text/plain MIME type parts in official exmaple code.

  18. Redirect port 8080 to 80 sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 Check iptables setting sudo iptables -t nat -L Save configure to iptables.rules sudo iptables-save > /etc/iptables.rules Save Solution #1 Con…

  19. install jayDeBeApi & jpype $ sudo apt-get install python-setuptools $ sudo easy_install JayDeBeApi $ sudo easy_install jpype Download Oracle JDBC Drivers ojdbc6.jar to local. import jpype import jaydebeapi jHome = jpype.getDefaultJVMPath() print jH…

  20. Here is an error occurred if installed directly: install.sfx.XXX: not found Solution: install g++-mltilib and JDK $ sudo apt-get install g++-multilib $ chmod +x j2sdk-1_4_2_19-linux-i586.bin $ .

  21. 有時在整理照片或文件時, 需要比對2個資料匣, 把重覆的檔案拿掉.

  22. Raspberry Pi Setup

    Install Raspbian “wheezy” image Download image from Raspberry Pi offical website Mount HOME to HDD Copy HOME data to disk $ sudo mkdir /media/new_home $ sudo mount /dev/sda1 /media/new_home $ sudo rsync -aXS /home/.

  23. Create git.SHA1 property in build.xml file.

  24. nginx version: nginx/1.1.19, OS: Ubuntu12.04 Default nginx accepted body size limitation is 1MB.

  25. Currently, AWS web console not provide folder downloading.

  26. WSGI Micro Framworks 這陣子一直在找適合的Micro Framwork玩第一次的Web Application.

  27. #### [2015-02-12]This article doesn't render properly since I switched from Google Blogger to Github Pages.

  28. Install uWSGI Configure uWSGI $ sudo apt-get install python-dev python-pip $ sudo pip uwsgi ################# uWSGI configuration ################# pcre = False kernel = Linux malloc = libc execinfo = False ifaddrs = True ssl = True math…

  29. About Markup

    Markup Language 寫文件或blog最困擾的就是排版, 大略看一下目前較流行的Markdown & reStructuredText, 決定用Markdown來寫, rst給我的感覺就是要再學另一種語言, 雖然強大, 但我只要夠用就好, 必竟都有人用Markdown寫書了 XD.

  30. O.S. : Ubuntu12.04 LTS OpenNMS Version : 1.10.7 OpenNMS base on TMN & FCAPS network management models.

  31. Baking 2012

    結束上份工作後, 不想閒著, 也就開始找新"玩具", 做麵包好像滿有趣的, 又不用出門可以在家陪小朋友,於是爬了2~3天的文章,了解需要的東西.

  32. boot_cm9.img file from mk802_legacy-compatibility_v1.zip Device: Rikomagic MK802 Script files : Split_bootimg.pl , extract-ikconfig ( in {kernel_source}/script ) Split boot.img Copy boot_cm9.img, Split_bootimg.pl, extract-ikconfig into ‘split_boot’ $ mkdir

  33. Get extract-ikconfig in kernel-source/scripts/ $mkdir extreact-uImage $cd extreact-uImage $cp {kernel-source}/scripts/extract-ikconfig .

  34. XBMC announced XBMC for Android.

  35. Install required packages # sudo apt-get install build-essential default-jdk git curl autoconf \ unzip zip zlib1g-dev gawk gperf Getting the Android SDK and NDK http://developer.android.com/sdk/index.html SDK : android-sdk_r20.0.1-linux.tgz crystax-5 NDK

  36. 先看過Processes and Threads會有比較清楚的概念, 當Adnroid Application 啟動後, 系統會建一個主要的thread 稱 “main thread” or “UI thread”, 所有的components 皆跑在這個UI thread, system calls 也是透過UI thread dispatched給各個component, ex: onKeyDown, touch event.

  37. 這次的Computex show 中Micorsofte主要是強打windows 8系統的 Ultrabook, Tablet , AIO(All in One) PC, 主要大廠ASUS, Acer, Compal, Gigabyte, MSI, Samsung …等都有展出, 除了這些來看看其它有趣的東西吧.