顯示或者隱藏檔案

@echo offCOLOR 3Fecho ******************************************************echo.echo. 顯示隱藏檔案batechohttp://blog.csdn.net/agoago_2009echo.echo ******************************************************echo 1.隱藏檔案echo 2.顯示檔案set /p

非同步通訊端編程

部分說明:#define UM_SOCK WM_USER+1ON_MESSAGE(UM_SOCK ,OnSock)afx_msg void OnSock(WPARAM wParam , LPARAM lParam);BOOL CMyDlg::InitSocket(){    m_socket=WSASocket(AF_INET,SOCK_DGRAM,0,NULL,0,0);if(INVALID_SOCKET==m_socket){MessageBox("建立通訊端失敗!");return

簡易沙箱原理 ——Placing Restrictions on a Job’s Processes

Placing Restrictions on a Job's ProcessesAfter creating a job, you will typically want to set up the sandbox (set restrictions) on what processes within the job can do. You can place several different types of restrictions on a job:The basic limit

web.py搭建簡易網站

import webimport webbrowser urls = ('/' ,'Index' , '/upload', 'Upload')class Upload:def GET(self):return """<html><head><title>web.py test</title></head><body><form method="POST" action=""

DOS設定IE代理

設定IE代理:@echo offreg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 127.0.0.1:8050 /freg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v

隱藏副檔名

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced中的HideFileExt鍵,它的值為0表示顯示副檔名,為1不顯示。@echo offCOLOR 3Fecho ******************************************************echo.echo.

COM操作excel

#========================================================# 2012/07/31 23:18:22 #========================================================from win32com.client import Dispatchimport timeapi =

利用cx_Freeze將py檔案打包成exe檔案

     在python中比較常用的python轉exe方法有三種,分別是cx_freeze,py2exe,PyInstaller。py2exe恐怕是三者裡面知名度最高的一個,但是同時相對來說它的打包品質恐怕也是最差的一個。pyinstaller打包很好,但是操作工序較為複雜。so個人還是推薦cx_freeze。    但是py2exe不支援我的 python-3.2.2,沒辦法,只有用 cx_freeze,愛問上面有cx_Freeze-4.2.3.win32-py3.2,下載下來還不錯。   

使用pcap_findalldevs_ex 編程出現問題

       使用pcap_findalldevs_ex()函數編程,在文檔中是這樣介紹這個函數的:This function is a superset of the old 'pcap_findalldevs()', which is obsolete, and which allows listing only the devices present on the local machine.   Vice versa, pcap_findalldevs_ex() allows

Submitting values and clicking buttons in IE

# Use the makepy utility for the "Microsoft Internet Controls (1.1)"# object library to get early binding.from win32com.client import Dispatchfrom time import sleep ie = Dispatch("InternetExplorer.Application") #Create browser instance.ie.Visible =

大數運算(加減乘除,模數,乘方)

//=============================================================================================================#include "Big__CALC.h"int main(){char str1[200]="9876543210987"; char str2[200]="1234567890"; char result[200]={0};printf("str1

Favicon-網站自動下載favicon.ico

Favicon是favorites icon的縮寫,亦被稱為website icon(網頁表徵圖)、page

sslstrip+ettercap 對HTTPS/SSL進行攻擊

一、安裝ettercap要安裝ettercap,需要先安裝:1.libnet-1.1.2.1.tar.gz2.libpcap-1.0.0.tar.gz3.ettercap-NG-0.7.3.tar.gz4.更新gtk2: yum install curl-devel gtk2-devel boost-devel (不然報錯Package requirements (gtk+-2.0 >= 2.0.0 pango >= 1.0 atk >= 1.)tar xvf

關於gethostbyname在多線程環境下的阻塞問題

轉自:http://blog.csdn.net/zouxinfox/article/details/2234225Unix/Linux下的gethostbyname函數常用來向DNS查詢一個網域名稱的IP地址。

總算是搞明白了IE的PAC代理設定方式

主要的參考資料:PAC自動代理檔案格式,教你如何寫PAC檔案 (主要看這篇就夠了,通俗易懂)自動設定IE代理指令碼 (這篇的討論較多一些)基本就是看著教程一步步做就可以了!我是走了些彎路,主要是由於自己是撥號網路環境,而教程中都是以區域網路環境為例來說明的!撥號網路的話,應該是修改這裡的配置:最後附上我用的proxy.pac代碼:function FindProxyForURL(url, host) { var mySSH="SOCKS5 127.0.0.1:7070"; if

mysqldumpslow bug— does not aggregate times

在使用mysqldumpslow 對慢查詢日誌進行分析時,發現有關於查詢時間,鎖住時間,檢查的行數等不能正確顯示,都是NHow to repeat:I activated the slow query log and produced some slow queries. The slow query log contains now entries like # Time: 080129 11:51:12# User@Host: root[root] @ localhost []#

About GDT LDT IDT

(轉自 : http://blog.csdn.net/lihenair/article/details/5168396)Intel   Architecture   Software   Developer’s   Manual Volum 3A: SystemProgramming

HOOK 與 DLL的執行個體

1.DLL建立:  #include<windows.h>#include<iostream.h>#include<stdio.h>#pragma data_seg("mydata") HHOOK glhHook=NULL;         //安裝的滑鼠勾子控制代碼  HINSTANCE glhInstance=NULL; //DLL執行個體控制代碼 #pragma data_seg() LRESULT CALLBACK KeyboardProc(int

API HOOK之註冊表簡單監控

一、HOOK DLL的編寫:#include <windows.h>#include <Tlhelp32.h>#include <stdio.h>//==========================================================================================HINSTANCE glhInstance=NULL; //DLL執行個體控制代碼 BYTE

通過修改cookie進行非授權操作

1.登陸機制:if(isset($_COOKIE["LoginState"]) && $_COOKIE["LoginState"]=='on'){$state = 0;$_SESSION["login"] = "YES";setcookie("LoginState", "on" ,time()+3600*3); //到期時間為3小時echo

總頁數: 61357 1 .... 13413 13414 13415 13416 13417 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.