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

Phantom Of The Opera 25周年謝幕特別演出

By admin, May 30, 2014 2:45 pm

我最喜歡的Sarah Brightman和多位曾經飾演歌劇魅影的男主角同台共唱,Bravo !!!

車模收藏為何沒售後保障?

By admin, May 29, 2014 8:45 pm

今天看見一個車模批發商發牢騷,原來是北京東西王朝的何老闆,內容真實,值得反思。

10295319_10201007005937193_6170081827096843738_o

以上就是他向EXOTO入的10萬美元貨,慘啊!

干模型這個行業有9年了,苦辣酸甜愛恨交加,愛,是愛模型這個東西.漂亮!可耐!看着喜歡!恨,是恨這個行業,本是奢侈品的工藝品.投入和回報不成正比也就算了.更郁悶的是這么一個极度容易損坏和容易出現瑕疵的東西作為模型品牌商基本毫無質量保障.
与不少品牌都打過交道,只有极少數一些品牌在進貨時收到貨的三天內把有問題的產品赶緊報上去,可以給你換.不管你進了几千台……反正就是三天內……還有些模型品牌你后期發現了少配件等問題,很禮貌的回复你已經做登記,讓你等配件,換是不可能了,等的期限這就無法預計了,可能會超過你的壽命…..不過這已經算很好了.大部分模型品牌運輸損坏了,品牌商都叫你找運輸的去….因為他們都是稱”EWX”工厂交貨!貨一旦离開工厂,發生了意外就与他們無關了.囧!

慢慢的接受也習慣了這個默認的游戲規則.一些商家也制定出了防范于未然的制度.但是你訂你的,又有多少買家會仔細看呢?于是乎一些賣家就有抱怨,甚至引用駱家輝的對天朝人的評判: “計較的不是不公平,而是自己不是受益者”.我承認,這种現象确實有.并且一些時段也許我們都這樣做過.買家和賣家自古就是敵我矛盾的,誰都离不開誰,又都想從對方那里得到最大受益. 開始我确實頭痛買家這种無視商家提示的做法.但是!現在我開始理解買家了.尤其是理解那些白板玩家或者是偶爾買送禮的人,他們認為快遞運輸收到模型坏了或者少零件了,商家給退貨天經地義.也許看到這里又有商家要鄙視我了,說我是收買人心,說我是漢奸叛徒…..但是別急,听我分析一下您在鄙視我好嗎.

你說說,咱去市場買個100多的DVD,隨身听.或者去我之前60塊錢買的小霸王游戲机…..哪個沒有保修?我買的60塊錢小霸王當時攤主爽快的告訴我15天包換!1年內保修!還記得閒扯了一句,老板你這坏了退回厂啊?老板鄙夷的看了我一眼,牛X的說,那當然了.這都品牌貨!我XXOOXXOO模型啊!您們哪個不是成百上千啊!

回憶當初剛剛開始做模型的時候,100多大洋進回來的馬莎圖,發現有好多天生殘疾,不美麗啊!回去找批發商換,也無意問了問,這有毛病的返厂嗎?北京某某著名商家告訴我.100多的返厂,說笑話呢呀,几百的京商,迷你切也沒有听說返厂的啊.開始覺得可能是商家想讓我念好,忽悠我呢.后來真接触了品牌厂商才知道.NND當年他沒騙我啊.
模型可怜啊!病了沒人看,坏了沒人管!慢慢的深入,我又了解到,原來每一款模型開發制作時候,代工厂都要打出10%的富裕給品牌商作為不合格產品之更換!也就是說訂單100台工厂就會做110台交給品牌商!那為何我們經銷商的商品出現問題沒人管?在被邀請下去國內某某頂級工厂時候,我得到了答案.原來那10%被換成大洋了!也就是說品牌商把該有的售后變成了自己兜里的大洋…….好吧….也許這是這個行業的潛規則.
不過也有不按這個潛規則做的品牌.EXOTO!!!几年前傳言這個牌子倒閉了.其實是退出了中國,并且這個家喻戶曉的老板Tony先生被不少行內人喚作”騙子”!和Tony打交道也快2年了,我覺得Tony還不錯!這家伙特點總是催你付款…要錢…,不過以富二代來說,他很勤勞了!只有一次10万美元的貨拖了我2個月沒發,我聯系他,找不到人,總是助手接電話!又快了3月!這廝回來了,告訴我他帶着全家度假去了!我就KKKK!NND,想死我了,你總算回來了!后來又拖了3個月!原來是EXOTO工厂罷工,從新培訓新人!結果我之前訂單作廢,換了其他貨發給我!這是我最不滿意的一次!

有點扯遠了!哈哈,應該是表揚EXOTO,結果批評了!哈哈!現在說說表揚!EXOTO的XS零件多的是讓人發指的!進一批回來,難免有個少零件的!第一次進回來發現有捷豹D-TYPE ,5000多大洋的少零件!你說咋辦!?意想不到的事情發生了!美國人馬上發快遞發來一台全新的!并告知!之前那個少零件就當做以后配件用吧…..NND,仗義啊!這品牌售后做的!無敵了!更有之前有朋友的EXOTO車少零件了,美國人把缺的配件一一記錄了,答复說只有模具還在,他們就可以生產給我,當然這是收費的了!那我也很樂意啊!最起碼還有保修呀!我确實不得不承認!這給訂制配件我還是第一听說!也讓我對模型行內看到光明!在提一句!SPARK也是管維修的!AUTOart可以給訂配件!
看看吧!哪個做模型的不是殘車如山!!厂商只是一笑而過…….你們能不能給咱們這些金貴品提供點保障啊!?上百塊的東西,P都不管.我買個60的小霸王還有保修啊!?運費我們出還不行么?咱們別怪買家矯情,市場就是這樣,東西坏了,出于正常想法都會覺得厂家會給予維修的!誰也想不到厂商只管出貨不管售后……普拉達,愛馬仕,就連阿瑪尼的西服都有售后保修……為啥你就不能有呢?

我在溫哥華BESTBUY買了一個三星打印机,老卡紙,可是我只剩下机器和電源了,包裝盒和說明書等等全丟掉了,抱着試試的心態拿回去,心想找人家換一個得了,把盒子給人家留下,就拿個机器完了.沒想到到BESTBUY一听我要換.連忙NO.NO.!只能Return(退貨),哈哈,我這個樂!好,退吧!退完客气的告訴我,你可以再去購買你需要的商品!真和諧!真好!這品牌工厂真不錯!我那個打印机只要100多加幣,合計800RMB!
扯了好多!

只想呼喚一個政策!希望模型厂商可以提供出維修服務!像家電一樣,多久免費,多久收費也行!這樣最起碼是個保障!消費者買的放心,經銷商賣的也不會膽戰心惊!可能我這中文大多數厂商老板都”麻痹”的看不懂!(別告訴我看的懂麻痹2字)!但是希望會國語的厂商員工們看看.我相信出了這种維修服務!對厂商是一筆財富的收入!也是讓你們客源不斷的政策!哪天哥們外語有成了!一定發表德語,英語,日語版本的!

以上文章本人原創!沒有對任何模型厂商惡意攻擊的意思!小弟還得跟着你們混呢.只是幫你們出個多賺錢的法子…………如有雷同純屬巧何!

原來近年拍賣史上最貴的法拉利

By admin, May 29, 2014 9:58 am

可以這樣坐的… :)

10329959_139786089525111_2521961236740382144_o

換車熱潮

By admin, May 27, 2014 6:53 pm

最近頻頻發現樓下和附近的鄰居都在測試二手超跑,而且幾乎清一色都是08/09年版的林寶Gallardo,都說5年車齡的超跑是最”抵玩”的了。

這台帶尾翼透明引擎蓋橙色的Superleggera也不例外,唯一就是車主看樣子應該之前沒有駕駛過超跑的經驗,所以看來他比較生手,有點戰戰兢兢的感覺。

IMG_0944

賣車心得

By admin, May 27, 2014 6:31 pm

最近忙於出售我那堆珍藏,因此接觸了不少形形色色的收藏家,幸運的是不見了一批對品質要求極高的人群,可能跟我廣告裡的一早聲明有關。

總的來說,原來江湖上那句是真的: 買絕版難,賣絕版更難,沒有最難,只有更難!!!

A Simple Anti-Spam Technique That Works!

By admin, May 27, 2014 6:25 pm

Out of blue, after years of searching for the best way to prevent spammer from inside. I think I probably found the solution by extending Delay between Recipients to 5 seconds on Outgoing SMTP, which keeps the email password cracker away. :)

It’s really more a mind tactic than the actual technical solution, as the spammer will give up right away if they find your SMTP server is so slow sending out emails per second. I strongly suspect they have a set of standards, say if a SMTP server can’t deliver more than 10 email per second, then they won’t use it…after all, why bother to use a slow SMTP while they are plenty powerful ones out there.

In contrast, by using Grey Listing on incoming SMTP also greatly reduced the spam or email DDOS by a large percentage.

Just my 2 cents.

Update: Jan 16, 2018

Today client’s email server had a DDOS attack, one of the users got tens of thousands of email and this made the spooler almost crashed, hence CPU stays at 100%. Solution is to decrease the SMTP Delay from 5 seconds to 1 second, so the email server can quickly bounce back the email (of course, remove that user temporarily).

Lesson learned, Delay SMTP delivery may cause dearly at a specific occasion, so use it wisely according to the actual filed scenario.

惟妙惟肖的汽車維修場景

By admin, May 24, 2014 12:06 pm

這個特別的場景是我一個日本車模朋友的作品,做得還真不錯!

10714573_778294065563554_9016836163091822914_o

Damn…Even eBay Got Hacked!

By admin, May 24, 2014 8:30 am

Received a letter from Devin Wenig, President, eBay asking everyone to change their password.

ebay

If you used the same eBay password on any other site, I encourage you to change your password on those sites too. And if you are a PayPal user, we have no evidence that this attack affected your PayPal account or any PayPal financial information, which is encrypted and stored on a separate secure network.

Pages: 1 2 3 Next