Working on the Puppet manifest to install the newrelic-sysmond package to all the nodes. I want to host the newrelic-sysmond.rpm on the company repository server but in that case the i have to re-sign the rpm .
What i need to do is to download the rpm from the New Relic repository , move it to the RPM build server and run the following command.
rpm --resign newrelic-sysmond-1.3.1.437-1.x86_64.rpm
You will be prompted to enter the passphrase and that’s it.
Done =)
Reference: Maximum RPM – Signing Packages
中國遼寧小販夏俊峰遭「城管」暴力欺凌,反抗刺死兩名「城管」,被判死刑。執行前一小時通知妻子探望。妻子想拍張照、擁抱一下,遭到「法院」拒絕。
殺人償命,在刑法上沒有話講。但是中國時時宣傳:「合情、合理、合法」,在「合法」之外,還要合情合理。
小販是社會的底層人,在街頭擺賣。夏俊峰賣點燒烤肉串,不是反政府的顛覆份子,與成千上萬順民百姓一樣,無權無勢,只想在艱難的夾縫中討營生。若是天生好勇鬥狠之輩,早就做了賊匪流氓。大陸不容民間組織,所以小販也沒有幫會,夏俊峰也不可能「尋釁閙事」,主動去毆打城管。
大陸的城管,是中國人社會狗腿家丁的基因變種。這個中國式的物種,幾千年沿襲下來,不知何故,或因教育低下,或因天生暴戾,有些微權力在手,對不相識的善良百姓,必有暴虐欺凌的一股強悍動物性,而且會將事情狠手做絕。
Continue reading 陶傑 – 無題 →
Never underestimate the power of somebody with sourcecode, a text editor, and the willingness to totally hose their system.
Rob Landley
Source: https://plus.google.com/+JuanValencia/posts
----------------------------------------
/ Never underestimate the power of \
| somebody with sourcecode, a text |
| editor, and the willingness to totally |
| hose their system. |
| |
\ -- Rob Landley <telomerase@yahoo.com> /
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
In Apache Ant , we can use the <exec> task to execute shell command in Ant script . Previously i have shown you how to integrate Apache Ant with SVN .
If you only want to do some simple SVN actions, you can consider using the <exec> task. The build.xml below is a simple example to get the current SVN version number.
Continue reading Apache Ant – Get the SVN revision number by exec task →
We could setup a SVN client in Apache Ant . Here is an example.
1. Download the following .jar files @ the repository.pentaho.org
svnant-1.3.0.jar
svnClientAdapter-svnant-1.3.0.jar
svnjavahl-svnant-1.3.0.jar
Continue reading Apache Ant and SVN Integration →
It’s better walk alone, than with a crowd going in the wrong direction.
Diane Grant
總領事夏千福支持香港民主,引起哄動。香港人對這位美國人有好感,因為他從善如流,當香港新一代網民不喜歡領事的網誌將Virginia譯為不雅的「弗吉尼亞州」,夏千福即刻改正,復稱香港傳統譯名「維珍尼亞」。
這一步做得漂亮,顯示了器度和學養。如果對中英譯名有研究,就知道一九四九年之後中國對美國名字的音譯,由於政治的惡意,都有醜化成份,如韓戰的美軍司令Matthew Ridgway,官方譯「李奇威」,但大陸不想他威風,故意貶譯為「李奇微」。還有Al Haig,國務卿,台灣香港譯「海格」,大陸叫「黑格」,都是發洩仇恨。
夏千褔是漢學家,香港華文傳媒的編輯看不到的,他看到了。但他認為香港應該「一國兩制」,他不知道香港在譯名方面早跟大陸「統一」了,例如本來「紐西蘭」,現在跟大陸「新西蘭」(那麼紐約是否應改稱「新約」?)還有什麼「澳大利亞」、「悉尼」、「德克薩斯」。香港真的想「一國兩制」? 從這些小處的犯賤,我認為香港其實想一國一制。
Continue reading 陶傑 – 改不掉 →
英法兩國的反伊斯蘭婦女面紗辯論,進入新的回合。
阿拉伯婦女戴面紗,是男權壓制婦女的「文化傳統」。剝奪女性表露本相的權利,即是剝奪她們的人格。女人不但不可以將美貌公諸於世,一張臉孔,是一個人基本的身份,千百年來,不獲伸張。
阿拉伯的宗教洗腦,令女人自己對於戴面紗、穿黑罩袍,只露一對眼睛,覺得理所當然。幾年前我去東南亞某國,女導遊是回教徒,誇誇而談女人一生應該如何服從男性。我笑問:「你身為婦女,你覺得這樣公平嗎?」她厲盯我一眼:「這是我們從小的家教,我們從來不質疑。」
當西方擁有常識的文明人告訴她們:你們上了男人的當,你們正在受到霸主的欺凌壓迫。許多偏激的人卻憤怒地揮舞拳頭,辱罵西方「干涉內政」,企圖改變她們的傳統。
正如遠東某大地區許多傻蛋一樣,你告訴他們,他們膜拜的那個「偉大領袖」,餓死了四千萬人、「文革」迫害了一兩億,這個人對你們及貴子孫禍害無窮,他們也青筋暴現,認定你侮辱了他們的民族尊嚴,你是他們的敵人。
Continue reading 陶傑 – 罩袍與面具 →
Today is the Chinese New Year Eve , good timing for a blog review. =P
Another year passed~ i have been writing blog post for almost four and a half years . Last year is another life changing year.
Started the teaching for General Assembly gave me the chance to get in touch with the people from different part of the world.
Joined two hackathons (ODHK and AngelHack ) gave me a new experience on how to covert your idea into a prototype.
Participated in the Open Data Hong Kong meets.
Wish everyone has a fulfilling 2014 and HAPPY CHINESE NEW YEAR !
2013 Jan – 77,418
2013 Feb – 72,316
2013 Mar – 83,401
2013 Apr – 83,999
2013 May – 68,702
2013 Jun – 53,342
2013 Jul – 52,452
2013 Aug – 43,646
2013 Sep – 33,306
2013 Oct – 35,019
2013 Nov – 31,629
2013 Dec – 28,267
2013 Total – 663,497
Posts navigation
Dream BIG and go for it =)