show code js

2011年1月31日 星期一

Airport Express

這是一個非常好用的裝置。






盒內除了裝置主體外,只有一片內含win、mac工具程式的CD



裝置的外觀很漂亮,大小如同一般的變壓器



除了隱藏式的插頭外,亦可選購延長式插頭


裝置還有有線網路、USB、AUDIO三種連接埠及無線網路模組
1、有線網路埠:可透過此埠對裝置作設定、有無線網路相互橋接及撥接上網
2、USB埠:可連接印表機並分享爲網路印表機,須支援air print
3、AUDIO埠:可以iphone、ipad至apple store下載並安裝remote軟體,用來操控pc上的itunes將音樂透過網路傳輸至airport express的audio埠,將音樂輸出至音響撥放,即air play,只可惜不是由iphone或ipad直接將音樂(效)直接輸出至此埠撥放
4、無線網路模組:可加入或延伸現有無線網路、自建新的無線網路環境



狀態顯示燈號,可快速了解裝置的狀態



有如將網路隨身帶著走,真的很方便

-- Send by my iPad

2011年1月25日 星期二

Snes(HD) for iPad & iPhone

You can use iPhone control Snes emulator on iPad by Bluetooth

Website SNES(HD)







Add source in Cydia and you can install controlipad on iphone, and install snes(hd) on ipad.













Download roms from www.doperoms.com and move to /var/mobile/media/roms/snes/

If you can't save game, that you will to check permission of directory

Open bluetooth both iPhone(x2) and iPad and connected.













Select game and click {power} on iPad to start game.



















Have fun.

- Posted using BlogPress from my iPhone

2011年1月24日 星期一

VS config SQL Server

1.open vs
2.see on right frame the [server explorer]
3.mouse right click [data connections] and click [add connection] to open message box
..a.choose [Microsoft SQL Server (SqlClient)]
..b.keyin [server name] or IP
..c.choose [use sql server authentication] and keyin dbuser and dbpassword
..d.at [connect to a database], choose main dbname
..e.click [test connection] to test this connection or click [ok] to finish

Exchange DNS配置

1以右鍵點選server_name的內容
a在{轉寄站}標籤中,加入dns.hinet.net或168.95.1.1
b在{監視}標籤中,鉤選{對這部DNS伺服器進行簡單查詢}及鉤選{在下列間隔中執行自動測試}並在{測試間隔}中自訂時間
2以右鍵點選server_name的{伺服器過時/清除內容},鉤選{清理過時的資源記錄}後,使用預設時間值,按{確定}

反向對應區域
1.新增數個區域名稱 (以Server主機或服務所對應的外部IP為主)
..a.xxx.xxx.xx1.in-addr.arpa.dns
..b.xxx.xxx.xx2.in-addr.arpa.dns

正向對應區域
1.新增一區域名稱 domain.local
2.確認SOA記錄
..a.SOA server_name.domain.local
3.新增name server,與上層所設定的要對應
..a.NS ns1.domain.local {鉤選[建立關聯的指標(PTR)記錄]}
..b.NS ns2.domain.local {鉤選[建立關聯的指標(PTR)記錄]}
4.新增MX記錄
..a.MX 10 mail.domain.local {鉤選[建立關聯的指標(PTR)記錄]}
5.新增A記錄
..a.A serverip_address {鉤選[建立關聯的指標(PTR)記錄]}
..b.A ns1.domain.local {鉤選[建立關聯的指標(PTR)記錄]}
..c.A ns2.domain.local {鉤選[建立關聯的指標(PTR)記錄]}
..d.A mail.domain.local {鉤選[建立關聯的指標(PTR)記錄]}
6.新增SPF記錄
..a.TXT v=spf1 mx -all {鉤選[建立關聯的指標(PTR)記錄]}
..b.TXT v=spf1 -all {鉤選[建立關聯的指標(PTR)記錄]}

反向對應區域
1.檢查各記錄是否與正向對應區域之記錄相符
..a.SOA server_name.domain.local
..b.NS ns1.domain.local
..c.NS ns2.domain.local
..d.MX 10 mail.domain.local
..e.PTR serverip_address
..f.PTR ns1.domain.local
..g.PTR ns2.domain.local
..h.PTR mail.domain.local
..i.TXT v=spf1 mx -all
..j.TXT v=spf1 -all

exchange管理主控台

基本設定

1.收信配置(任一網域可投褫信件至內部帳戶)
..a.進入{組織組態>集線傳輸}的{公認的網域},新增對應的外部網域名稱,先以{授權網域}配置,內部帳號均可收發寄至此網域至信件,可自選是否為預設網域
..b.進入{組織組態>集線傳輸}的{公認的網域},新增{電子郵件地址原則}
....(1)在{簡介}中設定{名稱}、{收件者容器}及{收件者類型}並按{下一步}
....(2)在{條件}中直接使用預設值並按{下一步}
....(3)在{電子郵件地址}中點選{新增}後,{電子郵件地址本機部份}使用預設,另在{選取電子郵件地址的公認網域}中選取已設置好的外部網域名稱並按{確定},再按{下一步}
....(4)在{排程}中使用預設值,並按{下一步}
....(5)在{新增 電子郵件地址原則}中確認資訊無誤後,按{新增}以完成動作
..c.進入{伺服器設定>集線傳},點選{Default _servername}的{內容},在{權組權限}標籤中,將{匿名使用者}鉤選

2.外部發信配置(內部帳戶可投褫信件至任一網域)
..a.進入{系統管理工具>服務},將{Microsoft Exchange IMAP4及POP3}改{手動}為{自動},並且啟動該服務
..b.進入{組織組態>集線傳輸}的{公認的網域},新增{傳送連結器}
....(1)在{簡介}中設定{名稱},並在{選取此傳送連結器的用途}選擇{網際網路}後按{下一步}
....(2)在{位址空間}按{新增},在{SMTP 位址空間}對話盒中,設定{位址}為{*}並鉤選{包含所有子網域},按{下一步}
....(3)在{網路設定}中使用預設值,若有配置外部DNS區域時,則可另外鉤選{在傳輸伺服器上使用外部DNS查詢設定},按{下一步}
....(4)在{來源伺服器}中,確認所配置之EXCHANGE SERVER是否在列表中,若此為傳輸主要伺服器,亦可增加其他(非)陣列中的EXHCANGE SERVER,按{下一步}
....(5)在{新增連結器}中,確認訊息無誤後,按{新增}完成動作
..c.進入{伺服器設定>集線傳},點選{Client _servername}的{內容},在{權組權限}標籤中,將{匿名使用者}鉤選

3.其他配置
..a.防火牆,開啟{25/443/587/993/995}並對應至exchange server ip 80/110/143
....(1)25: 外部網域投信至內部帳戶用
....(2)443: Outlook Web Access
....(3)587: 內部帳戶投信至外部網域用
....(4)993: IMAP SSL
....(5)995: POP3 SSL
....(6)其他 80/110/143 應使用SSL所以不用開

asp.net config of security

  1. in VS2010
  2. in tool bar, click [project\asp.net configuration]
  3. click [security] tag
  4. Enable Roles
  5. Create and Manage Roles (ex.users or guest to get different permission)
  6. Create and Manage Users

Could not load type projectName.MvcApplication

if you modify sql connect string in web.config, and the page of asp.net config to happen below event, you must compile your project after open that page again.

-------------------------------------------------------------------
error messeng
-------------------------------------------------------------------

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.

The following message may help in diagnosing the problem: Could not load type 'xxx.MvcApplication'.

2011年1月15日 星期六

Cydia Go!

  • your device already jailbreaked
  • cydia installed
1.run {cydia}
2.click {developer or user} and {omplete}
3.install {afc2add} for use ifunbox
4.click {sources} below to add some sources
a.click [edit] and [add] to add url below, and click [add source] and [add anyway]
(1)sinfuliphonerepo.com
(2)cydia.hackulo.us
(3)cydia.xsellize.com
(4)i.danstaface.net/deb/
(5)cydia.myrepospace.com/HackStor/
(6)cydia.myrepospace.com/sniperlan/ (my list)
b.click [return cydia] or [done] to finish
c.install nice apps or not
(0)installous (from hackulo.us)
(1)ifile
(2)SBSettings (from bigboss), touch panel top from left to rigth can call sbs, and touch top anyaway to close
(a)Autolock SBSettings
(b)iPod Widget
(c)SBSettings Tethering Toggle
(d)SBSettings VPN Toggle
(e)Veency SBSettings Toggle, when you have installed {Veency}
(f)Display Out
(3)infinidock (iphone, add app icon below into sprintboard)
(4)Safari Download Manager (for Safari, it can use with iFile)
(5)Yourtube 2 (iOS4)(download video to iphone)
(6)WeekinCal
(7)AttachmentSaver (iphone)
(8)infinifolders (vertical scroll when open subfolder and select icon)
(9)MultiCleaner (the end this app when you hold on [home] button in it)
(10)My3G
(11)MyWi
(12)WeatherIcon (iphone)
(13)AnyRing (iphone)
(14)liveclock (iphone)
(15)iAcces
(16)MultiMusicInfo
(17)iBlacklist
d.other app
(1)alarm clock
(2)weatherpro(HD)
(3)Camerafor (iphone & ipad)
(4)mental note
(5)eRead
(6)土豆網
(7)SoundHound
(8)電子書工具
(9)leonradio
(10)TVUplayer
(11)air video
(12)facebook
(13)mobile fotos
(14)blogpress
(15)ostoora
(16)微博
(17)mbox mail
(18)buzzie
(19)messenger
(20)gtalk
(21)skype
(22)y!messenger
(23)nimbuzz
(24)QQ
(25)docstogo
(26)pdfreader pro
(27)offline pages
(28)web2pdf
(29)1password
(30)informant
(31)anote
(32)buzz player
(33)page capture
(34)telnet
(35)translator
(36)print hp (iprint)/ epson (eprint)
(37)realvnc
(38)worldcard
(39)萬年曆
(40)i68國道資訊
(41)PAPAGO!M8
(42)power universe
(43)solar walk
(44)retouch
(45)live cams
(46)BlueWaves (shark iphone to transfer anything by bluetooth)
(47)ezShare (SMB, FTP, DOC)
(48)appbox pro
e.game iphone connect ipad
(1)ipad kl dartboard / iphone darts pro
(2)ipad padracer

iphone 3GS ios 4.2.1 8c148a jailbreak by redsn0w

  • iTunes upgrade to newest
  • iPad connect to pc and backup
  • download {iPhone2,1_4.2.1_8C148a_Restore.ipsw}
  • download {redsn0w.exe version 0.9.6rc8}

2011年1月12日 星期三

Outlook Web Access 尚未初始化

今天exchange server 的outlook web access終於,掛點

-------------------------------------------------------------------------------------------------
錯誤訊息
-------------------------------------------------------------------------------------------------

Outlook Web Access 尚未初始化。已記錄事件,讓系統管理員能夠解決問題。請連絡組織的技術支援人員。 Unable to create Internet Information Services (IIS) directory entry. Error message is: 發生例外狀況於 HRESULT: 0x80005008. HResult = -2147463160.
Request
Url: https://mail.domain.com:443/owa/auth/error.aspx?replaceCurrent=1&url=https%3a%2f%2fmail.domain.com%2fowa%2f
User host address: 114.25.153.160

Exception
Exception type: Microsoft.Exchange.Clients.Owa.Core.OwaInvalidConfigurationException
Exception message: Unable to create Internet Information Services (IIS) directory entry. Error message is: 發生例外狀況於 HRESULT: 0x80005008. HResult = -2147463160.

Call stack

於 Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager() 於 Microsoft.Exchange.Clients.Owa.Core.Globals.InitializeApplication() 於 Microsoft.Exchange.Clients.Owa.Core.Global.ExecuteApplicationStart(Object sender, EventArgs e)

Inner Exception
Exception type: Microsoft.Exchange.Management.Metabase.IISGeneralCOMException
Exception message: Unable to create Internet Information Services (IIS) directory entry. Error message is: 發生例外狀況於 HRESULT: 0x80005008. HResult = -2147463160.

Call stack

於 Microsoft.Exchange.Management.Metabase.IisUtility.GetProperties(DirectoryEntry webObj) 於 Microsoft.Exchange.Management.SystemConfigurationTasks.OwaVirtualDirectoryHelper.UpdateFromMetabase(ADOwaVirtualDirectory adOwaVirtualDirectory) 於 Microsoft.Exchange.Clients.Owa.Core.Configuration..ctor(ADSystemConfigurationSession session, String virtualDirectory, String webSiteName, ADObjectId distinguishedName, Boolean isPhoneticSupportEnabled) 於 Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.LoadConfiguration() 於 Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()

Inner Exception
Exception type: System.Runtime.InteropServices.COMException
Exception message: 發生例外狀況於 HRESULT: 0x80005008

Call stack

於 System.DirectoryServices.Interop.UnsafeNativeMethods.IAdsPropertyList.Item(Object varIndex) 於 System.DirectoryServices.PropertyCollection.KeysEnumerator.get_Current() 於 Microsoft.Exchange.Management.Metabase.IisUtility.GetProperties(DirectoryEntry webObj)

-------------------------------------------------------------------------------------------------
解決方案 http://support.microsoft.com/kb/939573
-------------------------------------------------------------------------------------------------

鉤選適用的版本後,輸入email二次送出,將會寄一封下載信件,裡面包含了下載連結及解壓密碼
下載並解壓後,完成安裝並重新啟動系統即可正常運作