wget --reject-regex "(.*)\?(.*)" --mirror --no-parent --convert-links -p -U Mozilla https://program-think.blogspot.com/
find . -type f -name '*.html' -exec sed -i '' 's|https://program-think.blogspot.com/|/|g' {} +
alias ba := build-all | |
alias b := build | |
alias ts := test-one | |
alias l := log | |
alias d := dev | |
alias d21 := dev21 | |
build-all: | |
x b |
阐述最清楚的两篇是两篇中文的:
网路启动服务器安装和配置方法 (pxe+tftp+dhcpd)
ubuntu 的官方文档比较久了,步骤也很繁琐,不推荐。
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <set> | |
#include <stdio.h> | |
#include <assert.h> | |
using namespace std; | |
enum OpType { |
package main | |
import ( | |
"flag" | |
"fmt" | |
"go/ast" | |
"go/parser" | |
"go/token" | |
"io/ioutil" | |
"os" |
//http://en.wikipedia.org/wiki/XOR_linked_list | |
//use one pointer to construct double-link list | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
struct item{ | |
void* nextprev; |
# Class Tree | |
# ruby prog.rb > class.dot;dot -Tpng class.dot -o class.png; | |
def readable(str) | |
if str.length >= 30 | |
return false | |
end | |
for k in 0..str.length-1 | |
s = str[k] | |
if not ((s>='a' and s<='z') or (s>='A' and s<='Z') or (s >='0' and s<='9')) |
mysqldump --opt -h192.168.0.156 -uusername -ppassword --skip-lock-tables databasename > database.sql | |
/******************************************************************************* | |
* | |
* @name : DELEGATE_H | |
* | |
* @author : BigBird (peng@nextopsoftware.com) | |
* @date : 2012-10-16 21:58:04 | |
* | |
* @brief : | |
* |
#include <algorithm> | |
#include <ctime> | |
#include <iostream> | |
int main() | |
{ | |
// generate data | |
const unsigned arraySize = 32768; | |
int data[arraySize]; |