Time of Update: 2015-04-14
標籤:apache 伺服器 1.首先找到windows任務計劃2.通過建立windows任務計劃來定時調用 .bat 程式去指向相應的操作1)備份Mysql資料了.bat代碼如下@echo offset "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"E:/AppServ/MySQL/bin/mysqldump --opt -u root --password=password
Time of Update: 2015-04-13
標籤:臨界區是線程同步的一種實現方式。Windows提供了4個關於臨界區的函數(InitializeCriticalSection,EnterCriticalSection,LeaveCriticalSection,DeleteCriticalSection),要想使用這些函數,必須先有一個臨界區變數, CRITICAL_SECTION cs;
Time of Update: 2015-04-13
標籤:我們前面講過的臨界區,如同一個小房間,張三進去了,李四就不能進,如果李四要進,必須等張三出來。 今天我們要講的互斥鎖,像一個物件,這個物件只能同時被一個線程持有。如此一來,便可以通過互斥鎖來實現線程的同步。 一、建立 建立互斥鎖的方法是調用函數CreateMutex: CreateMutex(&sa, bInitialOwner, szName); 第一個參數是一個指向SECURITY_ATTRIBUTES結構體的指標,一般的情況下,可以是nullptr。
Time of Update: 2015-04-15
標籤:1、WinKey + R,在對話方塊中輸入“gpedit.msc”,點“確定”; 2、展開:電腦配置--Windows設定--安全設定--本地策略--安全選項,找到“帳戶:使用空白密碼的本地賬戶只允許進行控制台登入”雙擊開啟選項視窗,選“已禁用”-“確定”; 3、WinKey + R,在對話方塊中輸入“compmgmt.msc”
Time of Update: 2015-04-16
標籤:兩種方法:1. 安裝Service,然後將VS附加到該Service進行調試。2.修改Program.cs檔案。 1 namespace MyProject.Service 2 { 3 static class Program 4 { 5 /// <summary> 6 /// The main entry point for the application. 7 /// </summary> 8
Time of Update: 2015-04-16
標籤:參考文章:1、http://www.abin.cn/?p=2632、https://support.microsoft.com/zh-cn/kb/824344/zh-cn Step 1: 方法一:使用WinDBG的全域標誌設定命令gflags.exe設定,在對話方塊中的Image
Time of Update: 2015-04-16
標籤:有兩種方法:1. 在VS2010及以下版本中首先在設計檢視中開啟service主程式檔案,點擊右鍵選擇“Add Installer”添加完ProjectInstaller後設定相應屬性一般設定如下:設定serviceInstaller1組件的屬性: 1) ServiceName = 服務名稱 2) StartType = Automatic ,即自動設定serviceProcessInstaller1組件的屬性 1) Account =
Time of Update: 2015-04-16
標籤:windows 顯示器 Windows下提示顯示器資訊主要通過兩個函數實現。一個是EnumDisplayDevices(),
Time of Update: 2015-04-15
標籤:1.下載檔案, 下載最新版本subversion,我這裡選擇VisualSVN-Server-2.5.7.exe 2.安裝Subversion 伺服器 由於我下載的是setup.exe版本,安裝程式安裝後會自動化佈建系統變數.如果你下載的是zip版就需要手動設定系統變數. setup.exe版直接安裝就可以了.安裝到D:/Program
Time of Update: 2015-04-16
標籤:Windows一批機器,需要批量換程式。寫個指令碼給大家。net stop sharedaccess (關閉防火牆)del /s d:\*.log d:\*.vbs d:\*.pdb d:\*.vbs d:\*.dmp (刪除日誌)D:cd D:\Newsvrftp 192.168.1.1 (程式先放在FTP裡,windows2003是不能直接拖拽的哦)adminadmincd guoyabinget
Time of Update: 2015-04-15
標籤:環境(64位Win7): IIS7+PHP5.4(NTS非安全執行緒版本) vs Apache2.4(32位)+PHP5.4 靜態檔案處理: ab -k -c100 -n10000 http://127.0.0.1/info.htm # IIS RPS 1709 ab -k -c100 -n10000 http://127.0.0.1:8080/info.htm # Apache RPS 1847
Time of Update: 2015-04-15
標籤:WINDOWS的錯誤碼對應的故障 0000 操作已成功完成。 0001 錯誤的函數。 0002 系統找不到指定的檔案。 0003 系統找不到指定的路徑。 0004 系統無法開啟檔案。 0005 拒絕訪問。 0006 控制代碼無效。 0007 儲存區控制塊已損壞。 0008 可用的儲存區不足,無法執行該命令。 0009 儲存區控制塊地址無效。 0010 環境錯誤。 0011 試圖使用不正確的格式載入程式。 0012 存取碼無效。 001
Time of Update: 2015-04-13
標籤:windows 網路連接 下一步 伺服器 server 1.準備至少兩塊網卡,清除網卡上的現有配置在設定——添加網路介面卡—下一步——完成650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/6B/5C/wKiom1UruQKxqn9OAAImT1TDuGg44
Time of Update: 2015-04-13
標籤:1.Control Panel\All Control Panel Items\Administrative Tools 下找到Server Manager2. 開啟Server Manager, 在roles裡面 右側 點擊 Add Roles3.對 File Services和Web Server(IIS)打鉤 install4.選擇安裝好的Web Server(IIS),點擊Add Role Services 添加對應的services除了FTP
Time of Update: 2015-04-13
標籤:Installing Virtual Box and Windows XP SP3 during Fedora 21The first step:Download and Install Virtual BoxThe first method:Download address:https://www.virtualbox.org/wiki/Downloads ;According to system, we click
Time of Update: 2015-04-13
標籤:之前直接安裝完Node.js後,運行npm install -g yo命令,結果出現什麼"要安裝framework2.0 sdk,vcbuild"什麼的錯誤,怎麼也弄不好,結果是各種前提環境沒搭建好->-> 1.安裝Ruby:http://rubyinstaller.org/downloads/注意選擇64位或32位版本注意勾選安裝介面三個複選框安裝完後開啟命令列,輸入:ruby
Time of Update: 2015-04-13
標籤:1.2 Windows Workflow概覽微軟的Windows Workflow Foundation(簡稱WF)是.NET架構3.0版的一部分。.NET3.0其它主要部分是Windows Presentation Foundation(簡稱WPF)和Windows Communication Foundation(簡稱WCF)。微軟將在Windows XP,Windows Server 2003 和Windows
Time of Update: 2015-04-13
標籤: 今天碰到個問題,需要自動關閉網頁,網上找了方法,一直在Firefox測試,一直沒反應,還以為寫錯了,後來發現用Firefox需要進行設定(後文有提供方法),IE可正常使用。。。下面提供部分代碼: 需要自動關閉網頁,可以用下面的代碼:1 <input type="button" onclick="clickWindow()" value="click" />2 3 <script language="JavaScript"
Time of Update: 2015-04-13
標籤:轉載請標明出處: http://www.yaosansi.com/原文:http://www.yaosansi.com/post/1396.html Memcached官方:http://danga.com/memcached/關於Memcached的介紹請參考:Memcached深度分析下載Windows的Server端:http://code.jellycan.com/memcached/安裝Memcache Server(也可以不安裝直接啟動)1.
Time of Update: 2015-04-14
標籤:在Windows下使用freeglut來開發OpenGL應用過程中,有諸多不便:Windows下Cygwin的OpenGL有兩種實現方式. 一是win32api方式,但這種方式並不支援freeglut. 另一種方式雖支援freeglut,但只適用於X