Profile cover photo
Profile photo
wang aguo (wangaguo)
46 followers
46 followers
About
wang aguo (wangaguo)'s posts

Post has attachment
Linux commands note
* w
* who

*generate password*
pwgen 15 3

*use wget sync web size*

Post has attachment
OpenFoundry Projects 要關站了
OpenFoundry Projects 要關站了, 先Export Projects到自己身上了 https://github.com/wangaguo?tab=repositories

Post has attachment
從Subversion轉換為Git參考方式
舊文件記錄~ 在OpenFoundry的專案,VCS從Subversion轉換為Git,以下提供一個可行的方式,或您可使用其它更好的方式。若您使用Subversion,欲轉換為Git,可以使用git-svn進行clone,接著再將VCS切換為Git,進行後續的動作: 以下假定''testgit''專案,原本為使用Subversion,要轉換至Git。 1. 取出提交者的列表 這是為了提供Git的Author對應的email,先checkout一份從根目錄開始的工作複本,然後執行以下指令: $ svn co h...

Post has attachment
Test transaction page performance
Usually we test web page performance. Maybe test 1000 with 5 concorrent. If we test a transaction page performance. Will left many ugly transaction data. So we can desgin a dryrun mode. below is ruby sample. class PurchasesController < ApplicationController...

Post has attachment

Post has attachment
Nginx Reverse proxy from VirtualHost to VirtualHost
www.demo.com DNS is go to Server1. /and Reverse proxy to Server2 by server2.demo.com . But Server2 need to known www.demo.com. So we need set header by proxy_set_header. *Server1* ``` server {   listen 80;   server_name www.demo.com;   location / {       ...

Post has attachment
ffmpeg create thumbnail from local or remote video. with Ruby on Rails example.
ffmpeg create thumbnail from local or remote video. Important point is -ss is before input file. If you place after input file And remote video. create thumbnail will very slow. local video $ ffmpeg -ss 5.3 -i "/home/ubuntu/video.mpg" -vframes 1 -f image2 "...

Post has attachment
王小翎開始使用角膜塑形
2014/10/09(四)今天是拿到角膜塑形片的第一天,在內湖路上的大學眼鏡 2014/10/09(四)晚:祼視:右0.0,左0.0;眼鏡:右0.6,左0.6 2014/10/10(五)早:祼視:右0.2,左0.3 2014/10/12(日)早:祼視:右0.6,左0.7

Post has attachment
翎8歲160天
身高140CM, 體重35kg

Post has attachment
翎8歲160天
身高140CM, 體重35kg
Wait while more posts are being loaded