2012年6月21日

夏至

夏至耶! 感覺根本沒夏天啊
農曆真的滿厲害的, 過端午才叫夏天
如果今年沒有這個潤四月, 上禮拜還在梅雨就怪異了..
陰陰的
竟然這樣就是一年中白晝最長的一日
之後白日就會慢慢縮短咧 >.<

2012年6月20日

小老鼠警官

日前在推理書部落格看到介紹小老鼠警官繪本, 就去找了一下.. 一來推理書是本小犬的菜, 二來倉鼠飼主(現暫無)本小犬算是很買鼠鼠的帳, 雖然mouse跟我可愛的hamster並不一樣!


2012年6月18日

在fb post ithome文章的link

要交待一下如何po出這樣內容是ithome的fb發文

(拖了好久 =.=; )
以ithome文章 http://www.ithome.com.tw/itadm/article.php?c=74438 為例..

在fb post ithome文章link時, 總是出現logo圖示, 也沒有title和文章摘要


po出之後, 不出所料! 得到以下結果.. 這是正常的,
在完全不加工的情況下, 關於link區塊的image、title、摘要, 是很沒fu的呈現..


2012年6月16日

端陽時節的搶案

初讀十萬貫錢搶案時, 一直不明白『梁世傑讓楊志押生辰綱運往汴京, 於黃泥崗被晁蓋吳用等人智取劫走』這一幕
宋代不是有飛錢嗎? 不能搞匯兌 一定得押實體錢? 不奇怪咩?

原來是已經買了玩器金銀珠寶, 貨運標的不是錢啊~
時值端陽, 應景地突然想到了這點 ^^

2012年6月11日

C# Reference Types

啊就是有人要搞不清楚, 又誤用版本, 是能怎麼辦 ╮( ̄_ ̄")╭
MSDN都說得很清楚啦~

2012年6月8日

xp_cmdshell 路徑有空白

就是有人愛搞出有空白的路徑, 麻煩耶 :(

今天把xp_cmdshell要執行的.exe放到Server上 讓SQL command call來執行, 沒料竟然執行路徑有空白字元, 浪費本宅犬20秒愣住..



和其他console / bat 準備執行file path含有空白字元的檔案時一樣, 要把整個執行檔 file path用「"」括起來才行~

一台Server放project的路徑竟然有空白 ╮( ̄▽ ̄")╭
雖不是不行, 但‧‧‧

2012年6月7日

Programming editor with minimap view

In past few weeks, I often program with Sublime Text Editor.
then have an idea, again... want to use minimap in vs 2010.

Because the Productivity Power Tools extension for vs 2010 is too fat.
minimap, an Enhanced Scrollbar feature, is only a (small ?) part of this extension.

To substitute for it by using the MetalScroll extension for vs 2005/2008, the RockScroll extension for vs 2008, the MetalMargin extension for vs 2010.

MetalScroll: http://visualstudiogallery.msdn.microsoft.com/3a50c69b-9b35-4eb2-b06a-328758afcaa2
MetalMargin: http://visualstudiogallery.msdn.microsoft.com/3373784a-8dc5-4e4e-8d34-3d88fea0d6ff
RockScroll: http://www.hanselman.com/blog/IntroducingRockScroll.aspx

2012年6月6日

A note for sql: xp_cmdshell & sp_configure

-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO

-- Execute file
EXEC master..xp_cmdshell 'C:\Users\Irene\Desktop\FromSQLExecute.exe -memberid 9527'

2012年6月4日

Stupid google blogger domain space

blogger的expanding the Internet domain space這件蠢事, 害拎北一直被Google Maps報錯, alert Key不對..

有沒有搞錯, 你們家自己的東西互打巴掌, 也要來煩拎北, 嫌拎北今天解的bug還不夠多嗎? 不過是要查自己的blogger, 解一下ExtensionAttribute搞鬼, 也要惹我? 早餐也沒吃, 午餐也沒吃, 一整天bug配空氣, 只是要自己翻找自己的筆記而已, 真x的貝戈戈耶~

反正本宅犬挨到下午是很粗殘地加JS止住Google Maps不斷噴key錯的alert!

if(window.location.hostname!='ir1n1.blogspot.com') window.location.href = 'http://ir1n1.blogspot.com/ncr'+window.location.pathname+window.location.hash+window.location.search;

X! 真是迫力地醜..
或許該魄力地換網址是嗎?