- 编辑器 sublime text 2.
- HTML+CSS (2周左右时间)
-
HTML 在线练习记住采用的标签及其含义。不需要全部掌握,只需要过一遍有个印象。http://www.w3school.com.cn/html/ , 左边有课程表,需要过一下内容。
HTML 基础教程 HTML 教程
-
HTML 简介
| ; ido | |
| (require 'ido) | |
| (ido-mode t) | |
| (require 'project-root) | |
| (setq project-roots | |
| '( | |
| ("Git Project" | |
| :root-contains-files (".git/index") | |
| :on-hit (lambda (p) |
| 173.194.127.120| 173.194.127.216| 173.194.127.248| 173.194.127.56| 173.194.72.94| 74.125.128.94| 74.125.129.94| 74.125.224.191| 74.125.235.248| 74.125.239.152| |
| <?php | |
| /** | |
| * UUID class | |
| * | |
| * The following class generates VALID RFC 4211 COMPLIANT | |
| * Universally Unique IDentifiers (UUID) version 3, 4 and 5. | |
| * | |
| * UUIDs generated validates using OSSP UUID Tool, and output | |
| * for named-based UUIDs are exactly the same. This is a pure | |
| * PHP implementation. |
| # markdown2mediawiki | |
| # http://www.mediawiki.org/wiki/Help:Formatting | |
| cat 1.md | sed -e " | |
| # # list | |
| # s/^\(\s*\)#/\1\*/ | |
| # s/^*/1\./ | |
| #title |
HTML 在线练习记住采用的标签及其含义。不需要全部掌握,只需要过一遍有个印象。http://www.w3school.com.cn/html/ , 左边有课程表,需要过一下内容。
HTML 基础教程
HTML 教程
HTML 简介
| # vimwiki2markdown | |
| find . | grep '\.wiki$' | xargs -i \ | |
| sed -i ' | |
| /{{{class="brush:\S\+;"/,/}}}/ !{ | |
| # list | |
| s/^\(\s*\)#/\1\*/ | |
| s/^*/1\./ | |
| # title | |
| s/^====\s*\(.*\)\s*====\s*$/#### \1/ |
| cat file | tr -s "\r\n" "\n" > file.tmp1 | |
| awk '{ORS="\r\n";print $0}' file.tmp1 > file |
| <?php | |
| function gen_uuid() { | |
| return sprintf( '%04x%04x-%04x-%04x-%04x-%04x%04x%04x', | |
| // 32 bits for "time_low" | |
| mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), | |
| // 16 bits for "time_mid" | |
| mt_rand( 0, 0xffff ), | |
| // 16 bits for "time_hi_and_version", |
| <?php | |
| $arr = array( | |
| 'www.baidu.com', | |
| 'tieba.baidu.com', | |
| 'www.163.com', | |
| 'www.sina.com.cn', | |
| ); | |
| $reads = array(); | |
| foreach ($arr as $k=>$r) { | |
| $writes[] = stream_socket_client("tcp://$r:80",$errno, $errstr, 0.5); |
| <?php | |
| interface Worker | |
| { | |
| public function getCommand(); | |
| public function done($stdout, $stderr); | |
| public function fail($stdout, $stderr, $status); | |
| } |