This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * P I N G . C | |
| * | |
| * Using the InterNet Control Message Protocol (ICMP) "ECHO" facility, | |
| * measure round-trip-delays and packet loss across network paths. | |
| * | |
| * Author - | |
| * Mike Muuss | |
| * U. S. Army Ballistic Research Laboratory | |
| * December, 1983 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <dshow.h> | |
| #pragma comment(lib, "strmiids") | |
| int _tmain(int argc, _TCHAR* argv[]) | |
| { | |
| ICreateDevEnum *pSysDevEnum = NULL; | |
| HRESULT hr = CoInitialize(NULL); | |
| hr = CoCreateInstance(CLSID_SystemDeviceEnum,NULL, CLSCTX_INPROC_SERVER, | |
| IID_ICreateDevEnum, (void **)&pSysDevEnum); | |
| if(FAILED(hr)){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #coding:utf8 | |
| __author__ = 'bowman' | |
| import thread,time | |
| import httplib | |
| alive = 0 | |
| limit = 100 | |
| aliveLock = thread.allocate_lock() | |
| finished = 0 | |
| succeed = 0 | |
| fLock = thread.allocate_lock() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "net/http" | |
| "net/url" | |
| "log" | |
| "io/ioutil" | |
| "regexp" | |
| "fmt" | |
| //"net/http/httputil" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ##################################### | |
| #Author: Leon Lee # | |
| #email: lendylongli@gmail.com # | |
| #QQ: 730395591 # | |
| #Version: 1.0 # | |
| #Note: If you have some good ideas # | |
| # or advice, please mail me^^ # | |
| ##################################### |
NewerOlder