Category: Others (其它)

二八定律(巴萊多定律)

By admin, July 18, 2014 5:28 pm

19世紀末20世紀初意大利的經濟學家巴萊多認為,在任何一組東西中,最重要的只占其中一小部分,約20%,其余80%盡管是多數,卻是次要的。社會約80%的財富集中在20%的人手里,而80%的人只擁有20%的社會財富。這种統計的不平衡性在社會、經濟及生活中無處不在,這就是二八法則。

二八法則告訴我們,不要平均地分析、處理和看待問題,企業經營和管理中要抓住關鍵的少數;要找出那些能給企業帶來80%利潤、總量卻僅占20%的關鍵客戶,加強服務,達到事半功倍的效果;企業領導人要對工作認真分類分析,要把主要精力花在解決主要問題、抓主要項目上。

臥虎藏龍

By admin, July 8, 2014 3:56 pm

今天在FB看到一個驚為天人的視頻,一個骨瘦如柴的殘疾人在廣州街頭賣藝,唱的是陳百強的首本名曲”偏偏喜歡你”。說實在的,當時真的有些震撼,因為此君的嗓音仿彿Danny仔再世。

2

其後細聽之下發現”咪嘴”情況嚴重,深入調查才發現原來背後的原唱者是一個籍籍無名叫鐘明秋的廣東年輕人。

姑且不談”咪嘴”,此君的表演的確能煥發圍觀途人的同情心,哎。。。不過事實也說明了現在很多歌星根本就是表演家,只不過外表比此君出眾得多而已,錄音時每個音都已經用電腦矯正過,現場不一樣也是”咪嘴”。

這種通過形象包裝、大製作堆砌和買通傳媒瘋狂洗腦式的宣傳現象正因為得到了現今普羅大眾的接受而變得更加變本加厲,所以真正的唱家班反而沒人懂得欣賞,也就是說內涵這種東西已經變得過時了,又是一個劣幣驅逐良幣的好例子。

滄海遺珠

By admin, July 8, 2014 1:52 pm

這兩天聽畢Rolling Stone Magazine 500 Greatest Songs of All Time,發現了以下4首從未聽過的金曲,奇怪的是歌手竟然全部都是黑人,難道我真的喜歡上了Soul和R&B?

Fats Domino – Blueberry Hill

The Impressions – People Get Ready

Bob Marley And The Wailers-No Woman, No Cry (Live Version)

Ray Charles – I Can’t Stop Loving You

Equallogic Firmware Upgrade Checkup List

By admin, July 5, 2014 4:53 pm

I’ve received an alert this morning saying “Time-of-day clock battery charge is low” from my Equallogic array.

clock

Googled a bit and turned out to be a false alarm (this was also double verified with Dell Pro-Support with EQL Diag log), it only happens with older firmware prior to v5.2.10 (and currently I’m still using v5.2.2). The only way to dis-alarm such warning is to upgrade to the latest firmware release (ie, >v5.2.10).

However I do remember there are certain EQL components depend on specific firmware version. Luckily, I’ve found out this chart, it’s really a time-saver and it’s advised to check out this list every time you plan to do a major firmware upgrade.

For me, my MEM is v1.1.0, SANHQ is 2.2.0, EQL Virtual Storage Manager for VMware is v3.1.1, so my best and most safe play is upgrade to EQL firmware v5.2.11 which is the latest. If I upgrade to v6 or v7, then many related components may not work.

eql_chart
Of course this chart also shows the possible upgrade path:

upgrade_path

Extra Notes:

* Something special for latest MEM v1.2 only supports ESXi v5.0 or above, so for those of you still running ESX/ESXi 4.x, please stay with v.1.1.2.

* Also found out all Release Notes contains tips regarding upgrade path or different versions compatibilities, so better check out this document first.

Finally, saw this Unfortunate Reminder from the latest EQL v7.x firmware Release Notes…so older Equallogic arrays can loaded with the latest firmware IS NO LONGER TRUE, sigh…

ops

In additional, there is a good stuff that finally we can use 4k or 512-byte sectors, so this should save a lot of wasted space in Snapshots.

4k

Update: July 6, 2014

Problem still exists after upgrading to v5.2.11, what the hell? Local Pro-Support at XiaMen remains unprofessional probably even worst than 4 years ago as he asked me “Can you accept Downtime” when restarting the controller? $#%R$#@!@!!!!!

The other thing I found out is the Restart Button in EQL Group Manager GUI is actually a way for active controller to failover, so your volume will still remain on-line just like firmware upgrade controller restarting  process.

Update: July 7, 2014

Dell L2 support team head called me this morning, he mentioned US EQL support also noticed this specific error remains even with latest firmware v6.x applied, and it will be fixed in a later firmware hopefully.


當年情

By admin, June 24, 2014 2:44 pm

這次在溫哥華家裡無意中找到了這本純影集,再次看到了那個熟悉的面孔…和他最愛的保時捷跑車。

3

古董老爺相機

By admin, June 18, 2014 12:52 pm

這次在溫哥華帶回來了老爸將近60年前的老爺雙鏡RolleiFlex相機,有機會可以拿來拍彩色照片。

IMG_1291

Rolleiflex T (1958-1966)

Taking lens: Carl Zeiss Tessar 75mm F3.5
Viewing lens: Heidosmat 75mm F2.8
Shutter: Synchro Compur 1/500-1s/B MX

Special Features:
-Introduced as intermediate model between the Rolleiflex 3.5F and the Rolleicord
-Aperture and shutter are controlled by a single lever
-No automatic film feeler
-6×4.5 format with optional mask
-Removable hood with direct vision finder without focus mirror
-Optional uncoupled meter

-First model was gray, later models black

t

美圖秀秀

By admin, June 4, 2014 5:18 pm

I watched a TVB Pearl documentary two days ago, it mentioned a startup called 美圖, the 3rd largest Internet company in China behind Alibaba and Tencent (ie, QQ)

Then I downloaded their flagship software MeiTuXiuXiu today…of course it’s free and you can get it from http://xiuxiu.meitu.com and installed on your iPhone and Android.

The attached is the modified photo using MeiTuXiuXiu, it only took me 5 mins to do all the effects, it’s quite amazing! This is bad for all the Photoshop designer though.

Before:

717z

After:

chichester

Windows系統中刪除com,aux,lpt,con,prn,nul等文件夾結 (轉文)

By admin, June 2, 2014 8:45 pm

今天发现一客户的网站中出现了很多隐藏的文件,文件名开头均为com,aux,lpt,con,prn,nul等字母开头的.还发现有一名为文件为”PRN.asp:.jpg”的文件.删除改名都不行.
google了一下,发现Windows 下不能够以下面这些字样来命名文件/文件夹,包括:“aux”“com1”“com2”“prn”“con”和“nul”等,因为这些名字都属于设备名称,等价于一个 DOS 设备,如果我们把文件命名为这些名字,Windows 就会误以为发生重名,所以会提示“不能创建同名的文件”等等。
当然,有一些特殊的方法可以偷机取巧,建立以这些设备名为名的文件夹,比如我们在命令提示符下执行“md C:\aux\\”,就在 C 盘建了一个名叫 aux 的文件夹。此文件夹虽然可以访问,也可以建立子文件夹,但却无法删除,因为 Windows 不允许以这种方式删除设备。在系统看来,这个 aux 文件夹就是设备。
那么,如何删除这样的文件/文件夹呢?我们只要按照完整的 UNC 路径格式,就是网上邻居的路径格式,正确输入文件路径及文件名即可。比如要删除 C 盘下的 aux 文件夹,可在命令提示符下执行:rd /s \\.\C:\aux,rd 是命令提示符删除文件夹的命令,/s 参数表示从所有子目录删除指定文件。再比如要删除 C 盘 temp 文件夹下的 nul.exe 文件,在命令提示符下执行:del \\.\C:\temp\nul.exe 即可。如果有属性可以用attrib命令去掉相关属性,attrib -s -r -h -a \\.\c:\temp\nul.exe再删除.
至于PRN.asp:.jpg,采用del \\.\D:\****\PRN.asp:.jpg的方式是删除不了的.只好用rd删除整个文件夹,有属性的话用attrib命令去掉属性.

A Forgotten Tool to Quickly Remove All Related Files

By admin, May 31, 2014 10:58 pm

Today I found out there are over 100K PHP session files locate in Windows Temp directory and it’s impossible to open the Temp directory with Windows Explorer, hence not able to remove any file.

The solution is to use a dinosaur tool called DOS Command!

del /F /Q sess*

Da Da…after a few minutes, you can open the temp directory again with Windows Explorer, this really comes handy when you need it.

Of course, I’ve also changed the session.savepath and since PHP uses garbage collection every 24 minutes, so this left over session problem is fixed as well.

Why My PHP Script is Showing Raw Code? (Fixed)

By admin, May 31, 2014 11:47 am

Recently, I need to configure PHP to run on Windows Server 2008 R2. Even I’ve done this countless previously, but things still didn’t work in the first go, my test.php below displayed the raw code when running from browser.

<? phpinfo; ?>

It turns out to be a simple parameter (ie, short_open_tag) wasn’t turned on in php.ini.

;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;

; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It’s been
; recommended for several years that you not use the short tag “short cut” and
; instead to use the full <?php and ?> tag combination. With the wide spread use
; of XML and use of these tags by other languages, the server can become easily
; confused and end up parsing the wrong code in the wrong context. But because
; this short cut has been a feature for such a long time, it’s currently still
; supported for backwards compatibility, but we recommend you don’t use them.
; http://php.net/short-open-tag

short_open_tag = On

Pages: Prev 1 2 3 4 5 6 7 ...43 44 45 ...102 103 104 Next