UWInfo Blog
發表新文章
[Join] | [忘記密碼] | [Login]
搜尋

搜尋意見
文章分類-#Author#
[所有文章分類]
所有文章分類
  • ASP.NET (48)
  • ASP.NET2.0 (15)
  • ASP.NET4.0 (34)
  • JavaScript (49)
  • jQuery (26)
  • FireFox (4)
  • UW系統設定 (3)
  • SQL (39)
  • SQL 2008 (25)
  • mirror (4)
  • SVN (4)
  • IE (9)
  • IIS (20)
  • IIS6 (1)
  • 閒聊 (7)
  • W3C (6)
  • 作業系統 (9)
  • C# (24)
  • CSS (12)
  • FileServer (1)
  • HTML 5 (11)
  • CKEditor (3)
  • UW.dll (13)
  • Visual Studio (16)
  • Browser (8)
  • SEO (1)
  • Google Apps (3)
  • 網站輔助系統 (4)
  • DNS (5)
  • SMTP (4)
  • 網管 (11)
  • 社群API (3)
  • SSL (4)
  • App_Inventor (1)
  • URLRewrite (2)
  • 開發工具 (6)
  • JSON (1)
  • Excel2007 (1)
  • 試題 (3)
  • LINQ (1)
  • bootstrap (0)
  • Vue (3)
  • IIS7 (3)
  • foodpanda (2)
  • 編碼 (2)
  • 資安 (3)
  • Sourcetree (1)
  • MAUI (1)
  • CMD (1)
  • my sql (1)
最新回應
  • Newtonsoft.Json.JsonConvert.DeserializeObject 失敗的情況
    test...more
  • dotnet ef dbcontext scaffold
    ...more
  • [ASP.NET] 利用 aspnet_regiis 加密 web.config
    ...more
  • IIS ARR (reverse proxy) 服務安裝
    ...more
  • [錯誤訊息] 請加入 ScriptResourceMapping 命名的 jquery (區分大小寫)
    ...more
  • 用 Javascript 跨網頁讀取 cookie (Cookie cross page, path of cookie)
    ...more
  • 線上客服 - MSN
    本人信箱被盜用以致資料外洩,是否可以請貴平台予以協助刪除該信箱之使用謝謝囉...more
  • 插入文字到游標或選取處
    aaaaa...more
  • IIS 配合 AD (Active Directory) 認証, 使用 .Net 6.0
    太感謝你了~~~你救了我被windows 認證卡了好幾天QQ...more
  • PostgreSQL 的 monitor trigger
    FOR EACH ROW 可能要改為 FOR EACH STATEMENT ...more
標籤
  • if21211211
  • 檔案
  • max
  • [u2]
  • MS8qKi9hTm
  • 4426-4292
  • 死
  • 8
  • 100
  • 412
  • SQL2008
  • en order b
  • 備份21211211
  • 5986
  • U2
  • 28
  • config ord
  • HTML 的上標字與
  • 232
  • .
  • mibs
  • 0,
  • aHR0cDovL3
  • ClientIP
  • Data
  • images
  • ad
  • 0
  • a
  • cookie
  • ie
  • .net
  • RSA
  • aspnet ORD
  • SU
  • List.where
  • -4768
  • bike
  • IP
  • c
  • 288
  • 防火牆
  • vs
  • 梨子
  • Rf
  • Ubuntu
  • dns
  • jquery
  • svn
  • mod
頁數 10 / 14 上一頁 下一頁
搜尋 IP 結果:
SQL 2008 內建備份功指定到網路磁碟機
不同主機,windows登入帳號不同時,需先指定帳密才可備份。

-- 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.開啟xp_cmdshell功能
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.執行動作
RECONFIGURE
GO


DECLARE @DBPath nvarchar(120)
--指定磁碟機Z的路徑為\\192.168.8.201\SQLBackupLeon
exec master..xp_cmdshell 'net use z: \\192.168.8.201\SQLBackupLeon 密碼 /user:帳號'
--指定備份路徑檔名
SET @DBPath = 'Z:\' + 'ReikoTEST' + '_' + Convert(varchar(10),Getdate(),112) + Replace(Convert(varchar(8),Getdate(),108),':','') + '.bak'
--DATENAME(Weekday,GETDATE())=>會顯示為"星期N"
--SET @DBPath = 'Z:\' + 'Leon' + '_' + DATENAME(Weekday,GETDATE()) + '.bak'
--備份資料庫ReikoTEST到路徑檔名
BACKUP DATABASE ReikoTEST TO DISK = @DBPath
--刪除磁碟機Z
exec master..xp_cmdshell 'net use Z: /delete'
GO


-- To enable the feature.關閉xp_cmdshell功能
EXEC sp_configure 'xp_cmdshell', 0
GO
-- To update the currently configured value for this feature.執行動作
RECONFIGURE
GO
-- To allow advanced options to be changed.關閉進階選項
EXEC sp_configure 'show advanced options', 0
GO
-- To update the currently configured value for advanced options.執行動作
RECONFIGURE
GO


※ xp_cmdshell不要常開著,有風險,用完要關掉。
※ 網路磁碟機路徑要開啟安全性設定,設定為:\\[IP]\[資料夾],不可用\\[IP]\D$\[資料夾]
※ net use 指定資料夾後方,不可加 \
參考資料:http://ithelp.ithome.com.tw/question/10086406
More...
Reiko, 2013/12/12 上午 10:36:00
onkeypress 和 keyCode 在 Firefox 的問題
在 firefox 抓不到 window.event,所以要用以下的 function 來處理 keyCode:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title> new document </title>
  <meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
  <meta name="generator" content="editplus" />
  <meta name="author" content="" />
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <script language="javascript">
  function myKeyPress(evt){
    evt = (evt) ? evt : ((window.event) ? window.event : "") //兼容IE和Firefox获得keyBoardEvent对象
    var key = evt.keyCode?evt.keyCode:evt.which; //兼容IE和Firefox获得keyBoardEvent对象的键值
    if(evt.ctrlKey && (key == 13 || key == 10)){
      alert("send");//同时按下了Ctrl和回车键
      
    }
  }
</script>
</head>


<body onkeypress="myKeyPress(event)"> 
</body>
</html>



參考: http://www.felix021.com/blog/read.php?1171
More...
Bike, 2013/12/6 下午 02:13:09
大榮
這是一篇加密文章,需輸入密碼才可閱讀
More...
Reiko, 2013/12/6 上午 11:50:32
修正 CKEditor img tag 被拿掉
參考: http://stackoverflow.com/questions/16832513/problems-with-image-tag-when-using-ckeditor


原:
<script type="text/javascript">
    CKEDITOR.replace('Content', { toolbar: 'basic', height: 200 });
</script>


調整後:
<script type="text/javascript">
     CKEDITOR.replace('Content, { toolbar: 'basic', height: 360, allowedContent: {
               img: {
                   attributes: '!src, alt', // src is required
                   styles: 'height, width'
               }
         }
     });
</script>
More...
Reiko, 2013/12/4 下午 02:54:37
限制 IIS 使用的 IP
在 cmd 下輸入:

netsh http add iplisten ipaddress=xxx.xxx.xxx.xxx

顯示目前 listen 的 IP:

netsh http show iplisten
More...
Bike, 2013/12/2 下午 05:30:31
使用 Clonezilla 來複製硬碟
  1. 下載 再生龍單機板 zip 檔.
  2. 如果您的 USB 裝置已經存在一個 FAT 格式的分割區(至少 200 MB),請跳到步驟(3).
    否則,請 在您的 USB裝置上產生一個 FAT16或 FAT32 格式的分割區(至少 200 MB)
  3. 解壓縮 zip 並把其中所有的檔案放置您的 FAT 分割去中,並保持目錄架構. 例如:"COPYING" 檔案應該在 USB 裝置的根目錄下(如:G:\COPYING).
  4. 瀏覽您的 USB 裝置,在 utils\win32\ 目錄下(如:G:\utils\win32\) 並以『管理者身分執行』 makeboot.bat 
    警告! makeboot.bat 必須在您的 USB 裝置上執行.
  5. 依畫面指示進行.
    (PS: 上述是由下面資訊修改而來 : http://www.pendrivelinux.com/2007/01/02/all-in-one-usb-dsl. 感謝 PDLA : http://pendrivelinux.com)
參考: http://clonezilla.nchc.org.tw/clonezilla-live/liveusb.php
More...
Bike, 2013/11/25 下午 06:16:01
FortiGate 指定對外的 IP
Fortigate 要指定對外的 IP,可以在 "規則 > 防火牆策略 > 防火牆策略" 之下設定,可能必需配合路由的 "政策路由",有空再來試試。

1. 先建立位址:
 
2. 建立 IP Pool:
 
3. 建立策略:
 
More...
Bike, 2013/11/25 下午 02:21:10
Direct Server Return on Windows 2008 using loopback adpter (server load balance)
要執行以下的指令:

netsh interface ipv4 set interface "net" weakhostreceive=enabled
netsh interface ipv4 set interface "loopback" weakhostreceive=enabled
netsh interface ipv4 set interface "loopback" weakhostsend=enabled

其中 "net" 是外接網卡的名稱,"loopback"是虛擬網站的名稱。

請參考: http://blog.loadbalancer.org/direct-server-return-on-windows-2008-using-loopback-adpter/
More...
Bike, 2013/10/27 上午 11:33:00
揚生基金會DNS
這是一篇加密文章,需輸入密碼才可閱讀
More...
Reiko, 2013/10/23 下午 01:49:39
vpracing DNS
這是一篇加密文章,需輸入密碼才可閱讀
More...
Reiko, 2013/10/22 下午 05:26:04
|< 12345678910… >|
頁數 10 / 14 上一頁 下一頁
~ Uwinfo ~