--2017-09-19 16:32:25-- https://github.com/facebook/wdt/archive/v1.27.1612021.tar.gz
正在解析主机 github.com (github.com)... 192.30.255.112, 192.30.255.113
正在连接 github.com (github.com)|192.30.255.112|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://codeload.github.com/facebook/wdt/tar.gz/v1.27.1612021 [跟随至新的 URL]
--2017-09-19 16:32:27-- https://codeload.github.com/facebook/wdt/tar.gz/v1.27.1612021
正在解析主机 codeload.github.com (codeload.github.com)... 192.30.255.120, 192.30.255.121
正在连接 codeload.github.com (codeload.github.com)|192.30.255.120|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
This file contains 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<iostream> | |
#include<cmath> | |
#include<string> | |
#include<set> | |
using std::endl; | |
using std::cout; | |
bool isFancyNum(int value) | |
{ | |
std::set<char> st = {'0','1','6','8','9'}; |
This file contains 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<iostream> | |
#include<ctime> | |
#include<random> | |
using std::cout; | |
using std::cin; | |
using std::endl; | |
int partition(int arr[],int low,int high) | |
{ | |
int i = low + 1; |
This file contains 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
#How to download streaming video | |
Streaming just means a download that they don't want you to keep. But Chrome's developer tools make it easy to access what's really going on under the hood. | |
##Open Developer Tools | |
From the page where you want to download some things, go into your chrome menu to open the developer tools. You can either: | |
1. (On a mac): Command-option-J | |
2. (On a PC): Control-alt-J |
This file contains 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<math.h> | |
int imgoffset; | |
char bmpheader[54]; | |
int imgwidth; | |
int imgheight; | |
int bitperpixel; | |
int scanwidth; |
This file contains 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
location ^~ /demo { | |
alias /var/www/demo/; | |
autoindex on; | |
# set to on means use localtime | |
autoindex_localtime on; | |
# show size with unit 'MB' instead of 'Byte' | |
autoindex_exact_size off; | |
} |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000