blog - re construct the blog files
authorPeng Li <seudut@gmail.com>
Fri, 3 Mar 2017 15:15:19 +0000 (23:15 +0800)
committerPeng Li <seudut@gmail.com>
Fri, 3 Mar 2017 15:15:19 +0000 (23:15 +0800)
21 files changed:
A-new-package-for-working-with-multiple-workspaces.org [deleted file]
Blog-with-org-mode.org [deleted file]
My-work-flow-with-tmux-vim-zsh-iterm.org [deleted file]
blog.el [new file with mode: 0644]
css/worg.css [deleted file]
git-note.org [deleted file]
linux-note.org [deleted file]
posts/A-new-package-for-working-with-multiple-workspaces.org [new file with mode: 0644]
posts/Blog-with-org-mode.org [new file with mode: 0644]
posts/My-work-flow-with-tmux-vim-zsh-iterm.org [new file with mode: 0644]
posts/elisp-tips.org [new file with mode: 0644]
posts/git-note.org [new file with mode: 0644]
posts/linux-note.org [new file with mode: 0644]
posts/org-tips.org [new file with mode: 0644]
posts/print-vs-message-in-emacs.org [new file with mode: 0644]
posts/raspberrypi-note.org [new file with mode: 0644]
posts/test.org [new file with mode: 0644]
res/code.css [new file with mode: 0644]
res/org.css [new file with mode: 0644]
res/worg.css [new file with mode: 0644]
sitemap.org [new file with mode: 0644]

diff --git a/A-new-package-for-working-with-multiple-workspaces.org b/A-new-package-for-working-with-multiple-workspaces.org
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/Blog-with-org-mode.org b/Blog-with-org-mode.org
deleted file mode 100644 (file)
index ea71f87..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#+TITLE: Blog with Org Mode
-#+AUTHOR: Peng Li
-#+EMAIL: seudut@gmail.com
-#+DATE: 2016-10-26
-#+STARTUP: showall
-#+STARTUP: inlineimages
-#+OPTIONS: toc:nil date:t
-
-
-今天总算把 Blog 的框架大致弄好了。主要参考了 =Org-mode= 的 tutorial, [[http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html#Special-comment-section][Publishing Org-mode files to HTML]] 和 [[https://ogbe.net/blog/blogging_with_org.html][Blogging using org-mode (and
-nothing else)]]。 其中 =css= , 利用的是 =worg.css=, 并参考了[[http://dayigu.github.io/WhyUseOrgModeToWriteBlog.html][为什么用org-mode写 blog?]] 和  [[http://wiki.houye.xyz/blogwithorg-mode.html][用org-mode写博客]]。
-
-* Org-publish 配置
-其中有些配置可能是 =Org= 版本不同的原因,有些不同。比如 =htlm-head=, 代替 了 =style=
-#+BEGIN_SRC emacs-lisp :tangle yes :results silent
-  (require 'ox-publish)
-
-  (setq org-publish-project-alist
-        `(
-          ("org-notes"
-           :base-directory "~/Private/blog/"
-           :base-extension "org"
-           :publishing-directory "~/Private/publish_html"
-           :recursive t
-           :publishing-function org-html-publish-to-html
-           :headline-levels 4
-           :section-numbers nil
-           :auto-preamble t
-           :auto-sitemap t          ;Generate sitmap.org automagicaly...
-           :sitemap-filename "sitemap.org" ;... call it sitemap.org (it's the default )...
-           :sitemap-title "Sitemap"
-
-           :table-of-contents nil
-           :html-postamble nil            ;dont export creator auto validation info in html postamble div
-           :html-link-home "/"
-           :html-head "<link rel='stylesheet' href='./css/worg.css' />"
-           ;; :html-head-extra ,my-blog-extra-head
-           :html-head-include-default-style nil
-           :html-head-include-scripts nil)
-          ("org-static"
-           :base-directory "~/Private/blog/"
-           :base-extension "css\\|js\\|png\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
-           :publishing-directory "~/Private/publish_html"
-           :recursive t
-           :publishing-function org-publish-attachment)
-          ("org" :components ("org-notes" "org-static"))))
-#+END_SRC
diff --git a/My-work-flow-with-tmux-vim-zsh-iterm.org b/My-work-flow-with-tmux-vim-zsh-iterm.org
deleted file mode 100644 (file)
index 2a60710..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#+TITLE: My Work Flow with Tmux + Vim + Zsh + iTerm2
-#+AUTHOR: Peng Li
-#+EMAIL: seudut@gmail.com
-#+DATE: 2016-12-31
-
-My most work is on Mac OSX platform. Here are some of my efficient tools when coding. iTerm2 + Zsh + Tmux + Vim
-
-* iTem2
-The default terminal tool on Mac is Terminal.app, but [[https://www.iterm2.com/][iTerm2]] has much more enhancement features.
-
-* Zsh
-
-* Tmux
-
-* Vim
diff --git a/blog.el b/blog.el
new file mode 100644 (file)
index 0000000..4ff8179
--- /dev/null
+++ b/blog.el
@@ -0,0 +1,66 @@
+;;; blog.el --- Config file used to export blog      -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2017  Peng Li
+
+;; Author: Peng Li <seudut@gmail.com>
+;; Keywords: lisp
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; This is emacs config used to export Blog Org files in batch mode.
+
+;;; Code:
+
+(require 'org)
+(require 'ox-publish)
+(require 'htmlize)
+
+;; To prevent inline-css when exporting html. will use external css
+(setq org-html-htmlize-output-type 'css)
+
+(setq org-publish-project-alist
+      `(
+        ("org-notes"
+         :base-directory "~/Private/blog/"
+         :base-extension "org"
+         :publishing-directory "~/Private/publish_html"
+         :recursive t
+         :publishing-function org-html-publish-to-html
+         :headline-levels 4
+         :section-numbers nil
+         :auto-preamble t
+         :auto-sitemap t          ;Generate sitmap.org automagicaly...
+         :sitemap-filename "sitemap.org" ;... call it sitemap.org (it's the default )...
+         :sitemap-title "Sitemap"
+
+         :html-table-of-contents nil
+         :html-postamble nil ;dont export creator auto validation info in html postamble div
+         :html-link-home "/"
+         :html-head "<link rel='stylesheet' href='/Users/peli3/Private/blog/res/worg.css' />"
+         :html-head-include-default-style nil
+         :html-head-include-scripts nil)
+        ("org-static"
+         :base-directory "~/Private/blog/"
+         :base-extension "css\\|js\\|png\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
+         :publishing-directory "~/Private/publish_html"
+         :recursive t
+         :publishing-function org-publish-attachment
+         :table-of-contents nil)
+        ("org" :components ("org-notes" "org-static"))))
+
+
+(provide 'blog)
+;;; blog.el ends here
diff --git a/css/worg.css b/css/worg.css
deleted file mode 100644 (file)
index d0b346c..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-body {
-    font-family: Helvetica, Arial, Vernada, Tahoma, STFangsong, STXihei, "Songti SC", "Microsoft YaHei", Heiti, sans-serif;
-    font-size: 18px;
-    margin: 5% 10% 5% 10%;
-    padding: 2% 5% 5% 5%;
-    width: 70%;
-    line-height: 150%;
-    border: 1px solid LightGrey;
-}
-
-H1 {
-    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
-}
-
-H2 {
-    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
-    margin-bottom: 60px;
-    margin-bottom: 40px;
-    padding: 5px;
-    border-bottom: 2px LightGrey solid;
-    width: 90%;
-    line-height: 150%;
-    color: DarkGreen;
-}
-
-
-H3 {
-    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
-    margin-top: 40px;
-    margin-bottom: 30px;
-    border-bottom: 1px LightGrey solid;
-    width: 80%;
-    line-height: 150%;
-    color: DarkBlue;
-}
-
-
-H4 {
-    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
-    margin-top: 40px;
-    margin-bottom: 30px;
-    border-bottom: 1px LightGrey solid;
-    width: 80%;
-    line-height: 150%;
-    color: DarkBlue;
-}
-
-
-li {
-    margin-left: 10px;
-}
-
-
-blockquote {
-    border-left: 4px lightgrey solid;
-    padding-left: 5px;
-    margin-left: 20px;
-}
-
-
-pre {
-    font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
-    font-size: 75%;
-    border: solid 1px lightgrey;
-    background-color: Ivory;
-    padding: 5px;
-    line-height: 130%;
-    margin-left: 10px;
-    width: 95%;
-}
-
-
-code {
-    font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
-    font-size: 90%;
-}
-
-
-a {
-    text-decoration: none;
-    cursor: crosshair;
-    border-bottom: 1px dashed Red;
-    padding: 1px;
-    color: black;
-}
-
-
-a:hover {
-       background-color: LightGrey;
-}
-
-
-img {
-    margin-left: 10px;
-    display: block;
-    margin-left: auto;
-    margin-right: auto;
-    margin-top: 30px;
-    margin-bottom: 30px;
-}
-
-
-hr {
-    color: LightGrey;
-}
-
-body .title {
-    text-align:center;
-}
-
-#org-div-home-and-up{
-    text-align:right;
-    font-size:70%;
-    white-space:nowrap;
-}
diff --git a/git-note.org b/git-note.org
deleted file mode 100644 (file)
index cd11c5a..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#+TITLE: Git Note
-#+AUTHOR: Peng Li
-#+EMAIL: seudut@gmail.com
-#+DATE: 2016-12-18
-
-* Git Note
-** Update an forked repo on  Github
-See [[http://stackoverflow.com/questions/7244321/how-do-i-update-a-github-forked-repository]]
-#+BEGIN_SRC sh :results output replace
-  # Add the remote, called it "upstream", which is the original repo forked
-
-  git remote add upstream https://github.com/whoever/whatever.git
-
-  # Fetch upstream
-
-  git fetch upstream
-
-  # switch to master
-
-  git checkout master
-
-  # rebase all commit in upstream
-
-  git rebase upstream/master
-
-  # push the new commit
-
-  git push origin master
-#+END_SRC
-
-** Move branch pointer to commit
-Ususally, we create a branch for some bug fix. If it is a regress issue, we oftern need to rollback to some commit to fix the 
-bad commit. In this case, we need to move the branch to another commit
-[[http://stackoverflow.com/questions/5471174/git-move-branch-pointer-to-different-commit-without-checkout]]
-
-#+BEGIN_SRC sh :results output replace
-  git branch -f branch-name COMMIT
-#+END_SRC
-
-** Track local branch to remote branch
-Sometime, we enter the issue =no upstream is configured for master=, It is because of local branch tracking is not configured
-If you input ~git pull~, it hints the error
-#+BEGIN_EXAMPLE
-  peli3@[~/Private/blog]>> git pull                                                         ±[••][master]
-  There is no tracking information for the current branch.
-  Please specify which branch you want to merge with.
-  See git-pull(1) for details.
-
-      git pull <remote> <branch>
-
-  If you wish to set tracking information for this branch you can do so with:
-
-      git branch --set-upstream-to=origin/<branch> master
-#+END_EXAMPLE
-
-#+BEGIN_SRC sh :results output replace
-  git branch --set-upstream-to=origin/master master
-#+END_SRC
-
-
diff --git a/linux-note.org b/linux-note.org
deleted file mode 100644 (file)
index 03ab029..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#+TITLE: Note of Linux (Debian)
-#+AUTHOR: Peng Li
-#+EMAIL: seudut@gmail.com
-#+DATE: 2016-12-23
-
-* Install and Environment
-** Install ios in virtual box
-** install essential softwares
-*** Change the sourece.list
-163 mirrors
-#+BEGIN_EXAMPLE
-  deb http://mirrors.163.com/debian stable main non-free contrib
-  deb-src http://mirrors.163.com/debian stable main non-free contrib
-#+END_EXAMPLE
-*** Install essential packages
-- ~netselect-apt~
-  Find the fastest apt mirror server
-- vim
-- sudo
-  Add user to sudo group or change the =/etc/sudoers= to use =sudo= command
-  #+BEGIN_SRC sh :results output replace
-      sudo adduser <username> sudo
-  #+END_SRC
-- git, openssh-server, emacs, build-essential, tmux, zsh
-
-*** Build Emacs from source
-1. gnutls error, to fix, install =gnutls-dev= and =pkg-config=
-* Issue
-1. See the router table on mac 
-#+BEGIN_SRC sh :results output replace
-  netstat -nr
-#+END_SRC
-
-* VirtualBox
-** HostOnly and NAT
-** Port forward, web server
diff --git a/posts/A-new-package-for-working-with-multiple-workspaces.org b/posts/A-new-package-for-working-with-multiple-workspaces.org
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/posts/Blog-with-org-mode.org b/posts/Blog-with-org-mode.org
new file mode 100644 (file)
index 0000000..afc0759
--- /dev/null
@@ -0,0 +1,50 @@
+#+TITLE: Blog with Org Mode
+#+AUTHOR: Peng Li
+#+EMAIL: seudut@gmail.com
+#+DATE: 2016-10-26
+#+STARTUP: showall
+#+STARTUP: inlineimages
+#+OPTIONS: toc:nil date:t
+
+
+
+
+
+今天总算把 Blog 的框架大致弄好了。主要参考了 =Org-mode= 的 tutorial, [[http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html#Special-comment-section][Publishing Org-mode files to HTML]] 和 [[https://ogbe.net/blog/blogging_with_org.html][Blogging using org-mode (and
+nothing else)]]。 其中 =css= , 利用的是 =worg.css=, 并参考了[[http://dayigu.github.io/WhyUseOrgModeToWriteBlog.html][为什么用org-mode写 blog?]] 和  [[http://wiki.houye.xyz/blogwithorg-mode.html][用org-mode写博客]]。
+
+* Org-publish 配置
+其中有些配置可能是 =Org= 版本不同的原因,有些不同。比如 =htlm-head=, 代替 了 =style=
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+  (require 'ox-publish)
+
+  (setq org-publish-project-alist
+        `(
+          ("org-notes"
+           :base-directory "~/Private/blog/"
+           :base-extension "org"
+           :publishing-directory "~/Private/publish_html"
+           :recursive t
+           :publishing-function org-html-publish-to-html
+           :headline-levels 4
+           :section-numbers nil
+           :auto-preamble t
+           :auto-sitemap t          ;Generate sitmap.org automagicaly...
+           :sitemap-filename "sitemap.org" ;... call it sitemap.org (it's the default )...
+           :sitemap-title "Sitemap"
+
+           :table-of-contents nil
+           :html-postamble nil            ;dont export creator auto validation info in html postamble div
+           :html-link-home "/"
+           :html-head "<link rel='stylesheet' href='./css/org.css' />"
+           ;; :html-head-extra ,my-blog-extra-head
+           :html-head-include-default-style nil
+           :html-head-include-scripts nil)
+          ("org-static"
+           :base-directory "~/Private/blog/"
+           :base-extension "css\\|js\\|png\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
+           :publishing-directory "~/Private/publish_html"
+           :recursive t
+           :publishing-function org-publish-attachment)
+          ("org" :components ("org-notes" "org-static"))))
+#+END_SRC
diff --git a/posts/My-work-flow-with-tmux-vim-zsh-iterm.org b/posts/My-work-flow-with-tmux-vim-zsh-iterm.org
new file mode 100644 (file)
index 0000000..2a60710
--- /dev/null
@@ -0,0 +1,15 @@
+#+TITLE: My Work Flow with Tmux + Vim + Zsh + iTerm2
+#+AUTHOR: Peng Li
+#+EMAIL: seudut@gmail.com
+#+DATE: 2016-12-31
+
+My most work is on Mac OSX platform. Here are some of my efficient tools when coding. iTerm2 + Zsh + Tmux + Vim
+
+* iTem2
+The default terminal tool on Mac is Terminal.app, but [[https://www.iterm2.com/][iTerm2]] has much more enhancement features.
+
+* Zsh
+
+* Tmux
+
+* Vim
diff --git a/posts/elisp-tips.org b/posts/elisp-tips.org
new file mode 100644 (file)
index 0000000..0c1ed11
--- /dev/null
@@ -0,0 +1,5 @@
+#+TITLE: Emacs List Tips
+#+AUTHOR: Peng Li
+#+EMAIL: seudut@gmail.com
+#+DATE: 2016-12-04
+
diff --git a/posts/git-note.org b/posts/git-note.org
new file mode 100644 (file)
index 0000000..cd11c5a
--- /dev/null
@@ -0,0 +1,60 @@
+#+TITLE: Git Note
+#+AUTHOR: Peng Li
+#+EMAIL: seudut@gmail.com
+#+DATE: 2016-12-18
+
+* Git Note
+** Update an forked repo on  Github
+See [[http://stackoverflow.com/questions/7244321/how-do-i-update-a-github-forked-repository]]
+#+BEGIN_SRC sh :results output replace
+  # Add the remote, called it "upstream", which is the original repo forked
+
+  git remote add upstream https://github.com/whoever/whatever.git
+
+  # Fetch upstream
+
+  git fetch upstream
+
+  # switch to master
+
+  git checkout master
+
+  # rebase all commit in upstream
+
+  git rebase upstream/master
+
+  # push the new commit
+
+  git push origin master
+#+END_SRC
+
+** Move branch pointer to commit
+Ususally, we create a branch for some bug fix. If it is a regress issue, we oftern need to rollback to some commit to fix the 
+bad commit. In this case, we need to move the branch to another commit
+[[http://stackoverflow.com/questions/5471174/git-move-branch-pointer-to-different-commit-without-checkout]]
+
+#+BEGIN_SRC sh :results output replace
+  git branch -f branch-name COMMIT
+#+END_SRC
+
+** Track local branch to remote branch
+Sometime, we enter the issue =no upstream is configured for master=, It is because of local branch tracking is not configured
+If you input ~git pull~, it hints the error
+#+BEGIN_EXAMPLE
+  peli3@[~/Private/blog]>> git pull                                                         ±[••][master]
+  There is no tracking information for the current branch.
+  Please specify which branch you want to merge with.
+  See git-pull(1) for details.
+
+      git pull <remote> <branch>
+
+  If you wish to set tracking information for this branch you can do so with:
+
+      git branch --set-upstream-to=origin/<branch> master
+#+END_EXAMPLE
+
+#+BEGIN_SRC sh :results output replace
+  git branch --set-upstream-to=origin/master master
+#+END_SRC
+
+
diff --git a/posts/linux-note.org b/posts/linux-note.org
new file mode 100644 (file)
index 0000000..3f9ef8f
--- /dev/null
@@ -0,0 +1,68 @@
+#+TITLE: Note of Linux (Debian)
+#+AUTHOR: Peng Li
+#+EMAIL: seudut@gmail.com
+#+DATE: 2016-12-23
+
+* Install and Environment
+** Install ios in virtual box
+** install essential softwares
+*** Change the sourece.list
+163 mirrors
+#+BEGIN_EXAMPLE
+  deb http://mirrors.163.com/debian stable main non-free contrib
+  deb-src http://mirrors.163.com/debian stable main non-free contrib
+#+END_EXAMPLE
+*** Install essential packages
+- ~netselect-apt~
+  Find the fastest apt mirror server
+- vim
+- sudo
+  Add user to sudo group or change the =/etc/sudoers= to use =sudo= command
+  #+BEGIN_SRC sh :results output replace
+      sudo adduser <username> sudo
+  #+END_SRC
+- git, openssh-server, emacs, build-essential, tmux, zsh, silversearcher-ag
+
+*** Build Emacs from source
+1. gnutls error, to fix, install =gnutls-dev= and =pkg-config=
+** others package
+htop, lftp, apache2, vsftpd, silversearcher-ag,
+* Issue
+1. See the router table on mac 
+#+BEGIN_SRC sh :results output replace
+  netstat -nr
+#+END_SRC
+
+2. wget download https
+https://www.cyberciti.biz/faq/wget-example-download-from-https-web-sites/
+wget --no-check-certificate https://cyberciti.biz/foo/bar.tar.gz
+
+3. =ls= in =zsh= has no color
+
+* VirtualBox
+Install virtualbox guest addition
+https://blog.paranoidpenguin.net/2016/12/installing-the-virtualbox-guest-additions-on-debian-8-jessie/
+** HostOnly and NAT
+** Port forward, web server
+
+* Raspberry raspbian
+** start sshd on boot and vnc server
+http://www.raspberrypi-spy.co.uk/2012/05/enable-secure-shell-ssh-on-your-raspberry-pi/
+
+** Auto mount usb / external disk
+change fstab file, add one entry with the uuid of the disk
+
+** Auto mount smb folder
+1. manuall mount 
+#+BEGIN_EXAMPLE
+sudo mount -t cifs -o username=pi,password=xxx //192.168.31.1/Folder /mnt/folder
+#+END_EXAMPLE
+
+http://askubuntu.com/questions/157128/proper-fstab-entry-to-mount-a-samba-share-on-boot
+
+** apache2
+aptitude install =apache2=, start it by runing 
+
+** vsftpd
+
+** smbclient
diff --git a/posts/org-tips.org b/posts/org-tips.org
new file mode 100644 (file)
index 0000000..8612c72
--- /dev/null
@@ -0,0 +1,8 @@
+#+TITLE: Org Tips
+#+AUTHOR: Peng Li
+#+EMAIL: seudut@gmail.com
+#+DATE: 2016-11-10
+
+* Fix Chinese fonts in Org table
+
+* 
diff --git a/posts/print-vs-message-in-emacs.org b/posts/print-vs-message-in-emacs.org
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/posts/raspberrypi-note.org b/posts/raspberrypi-note.org
new file mode 100644 (file)
index 0000000..6eb968b
--- /dev/null
@@ -0,0 +1,28 @@
+#+TITLE: The note of raspberry
+#+AUTHOR: Peng Li
+#+EMAIL: seudut@gmail.com
+#+DATE: 2017-02-18
+
+* Install Raspbian 
+** format the sd card and install the image
+- earse as MBR  type  and FAT fromat  using Disk Utility on Mac
+- dd the image
+** start the system and config the network
+** Support exFat32 format mobile disk
+Install =exfat-utils= by =aptitude=
+** SSHd not started on boot
+http://www.raspberrypi-spy.co.uk/2012/05/enable-secure-shell-ssh-on-your-raspberry-pi/
+#+BEGIN_SRC sh :results output replace
+sudo raspi-config
+#+END_SRC
+It can also config  vncserver  started on boot
+** change locales to fix
+#+BEGIN_SRC sh :results output replace
+sudo dpkg-reconfigure locales
+#+END_SRC
+** set the timezone
+copy =/usr/share/zoneinfo/**Shanghai= to =/etc/localtime=
+#+BEGIN_SRC sh :results output replace
+sudo dpkg-reconfigure tzdata
+#+END_SRC
+** 
diff --git a/posts/test.org b/posts/test.org
new file mode 100644 (file)
index 0000000..37d3f0e
--- /dev/null
@@ -0,0 +1,4 @@
+#+TITLE: Test
+
+
+This is first test page for blog.
diff --git a/res/code.css b/res/code.css
new file mode 100644 (file)
index 0000000..0af242d
--- /dev/null
@@ -0,0 +1,75 @@
+.org-bold-italic{font-weight:700;font-style:italic;}
+.org-cursor{background-color:#c9c1b9;}
+.org-error{color:red;font-weight:700;}
+.org-escape-glyph{color:#a52a2a;}
+.org-fringe{color:#7d7d7d;background-color:#dfd6cd;}
+.org-glyphless-char{font-size:60%;}
+.org-header-line{color:#333;background-color:#e5e5e5;font-weight:700;}
+.org-highlight{color:#707070;background-color:#c9c1b9;}
+.org-holiday{background-color:#ffc0cb;}
+.org-isearch-fail{background-color:#ffc1c1;}
+.org-lazy-highlight{color:#646464;background-color:#c9c1b9;}
+.org-link-visited{color:#8b008b;text-decoration:underline;}
+.org-mode-line-emphasis{color:#585858;}
+.org-mode-line-inactive{color:#43757c;background-color:#f5ebe1;}
+.org-nobreak-space{color:#a52a2a;text-decoration:underline;}
+.org-org-agenda-date-today{color:#707070;background-color:#c9c1b9;font-weight:700;font-style:italic;}
+.org-org-agenda-restriction-lock{background-color:#EEE;}
+.org-org-code{color:#646464;}
+.org-org-column-title{background-color:#e5e5e5;font-weight:700;text-decoration:underline;}
+.org-org-date{color:#476238;text-decoration:underline;}
+.org-org-document-info{color:#191970;}
+.org-org-document-title{color:#191970;font-weight:700;}
+.org-org-footnote{color:#7d7d7d;text-decoration:underline;}
+.org-org-headline-done{color:#bc8f8f;}
+.org-org-level-1{color:#646464;font-size:110%;font-weight:700;}
+.org-org-level-3{color:#7d7d7d;font-weight:700;}
+.org-org-link{color:#8c4a79;text-decoration:underline;}
+.org-org-mode-line-clock-overrun{color:#7d7d7d;background-color:red;font-weight:700;}
+.org-org-scheduled-today{color:#bd745e;font-size:120%;font-weight:700;}
+.org-org-warning{color:#ff1276;text-decoration:underline;}
+.org-show-paren-match{background-color:#40e0d0;}
+.org-show-paren-mismatch{color:#FFF;background-color:#a020f0;}
+.org-success{color:#228b22;font-weight:700;}
+.org-tool-bar{color:#000;background-color:#bfbfbf;}
+.org-tooltip{color:#000;background-color:#ffffe0;}
+.org-trailing-whitespace{background-color:#ff1276;}
+.org-tty-menu-disabled{color:#d3d3d3;background-color:#00F;}
+.org-tty-menu-enabled{color:#FF0;background-color:#00F;font-weight:700;}
+.org-tty-menu-selected{background-color:red;}
+.org-warning{color:#ff1276;}
+.org-warning-1{color:#ff1276;background-color:#dfd6cd;}
+.org-window-divider{color:#999;}
+.org-window-divider-first-pixel{color:#CCC;}
+.org-window-divider-last-pixel{color:#666;}
+.org-bold,.org-buffer-menu-buffer,.org-comint-highlight-input,.org-completions-first-difference,.org-org-checkbox,.org-org-list-dt,.org-org-tag,.org-org-tag-group,.org-regexp-grouping-backslash,.org-regexp-grouping-construct{font-weight:700;}
+.org-builtin,.org-org-ellipsis,.org-org-level-7,.org-outline-7,.org-preprocessor{color:#1a8591;}
+.org-button,.org-link{color:#697024;text-decoration:underline;}
+.org-calendar-month-header,.org-function-name,.org-mode-line-buffer-id,.org-outline-1{color:#bd745e;font-weight:700;}
+.org-calendar-today,.org-org-target,.org-underline{text-decoration:underline;}
+.org-calendar-weekday-header,.org-constant,.org-negation-char,.org-org-level-6,.org-outline-6{color:#697024;}
+.org-calendar-weekend-header,.org-comment,.org-comment-delimiter,.org-doc,.org-org-block-begin-line,.org-org-block-end-line,.org-org-meta-line,.org-outline-4{color:#a9a9a9;}
+.org-comint-highlight-prompt,.org-keyword,.org-minibuffer-prompt,.org-mode-line-highlight,.org-org-checkbox-statistics-todo,.org-org-priority,.org-org-todo,.org-outline-3{color:#4a858c;font-weight:700;}
+.org-completions-annotations,.org-help-argument-name,.org-italic{font-style:italic;}
+.org-diary,.org-org-date-selected{color:red;}
+.org-file-name-shadow,.org-org-agenda-dimmed-todo,.org-org-archived,.org-shadow{color:#7f7f7f;}
+.org-isearch,.org-query-replace{background-color:#c9c1b9;color:#ff1276;font-weight:700;}
+.org-match,.org-org-agenda-clocking,.org-org-clock-overlay,.org-secondary-selection{background-color:#FF0;}
+.org-mode-line,.org-org-agenda-filter-category,.org-org-agenda-filter-regexp,.org-org-agenda-filter-tags,.org-org-mode-line-clock{background-color:#dfd6cd;color:#7d7d7d;font-weight:700;}
+.org-next-error,.org-region{background-color:#585858;color:#f5ebe1;}
+.org-org-agenda-calendar-event,.org-org-agenda-calendar-sexp,.org-org-agenda-diary,.org-org-default{background-color:#f5ebe1;color:#585858;}
+.org-org-agenda-column-dateline,.org-org-column{background-color:#e5e5e5;}
+.org-org-agenda-current-time,.org-org-time-grid{color:#b8860b;}
+.org-org-agenda-date,.org-org-agenda-date-weekend,.org-org-agenda-structure{background-color:#c9c1b9;color:#707070;font-weight:700;}
+.org-org-agenda-done,.org-org-level-4{color:#b4ada6;}
+.org-org-block,.org-org-level-2,.org-org-quote,.org-org-verse,.org-vertical-border{color:#707070;}
+.org-org-checkbox-statistics-done,.org-org-done{color:#b4ada6;font-weight:700;}
+.org-org-document-info-keyword,.org-org-special-keyword{color:#bd745e;}
+.org-org-drawer,.org-org-table{color:#00F;}
+.org-org-formula,.org-org-scheduled-previously,.org-org-upcoming-deadline{color:#b22222;}
+.org-org-hide,.org-org-sexp-date,.org-org-verbatim{color:#7d7d7d;}
+.org-org-latex-and-related,.org-org-macro{color:#8b4513;}
+.org-org-level-5,.org-org-scheduled,.org-outline-5,.org-type{color:#8c4a79;}
+.org-org-level-8,.org-outline-8,.org-string{color:#b3534b;}
+.org-outline-2,.org-variable-name{color:#476238;}
+
diff --git a/res/org.css b/res/org.css
new file mode 100644 (file)
index 0000000..b1a15a8
--- /dev/null
@@ -0,0 +1,117 @@
+html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
+body{margin:0}
+article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}
+audio,canvas,progress,video{display:inline-block}
+audio:not([controls]){display:none;height:0}
+progress{vertical-align:baseline}
+[hidden],template{display:none}
+a{background-color:transparent;-webkit-text-decoration-skip:objects}
+a:active,a:hover{outline-width:0}
+abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}
+b,strong{font-weight:inherit;font-weight:bolder}
+dfn{font-style:italic}
+h1{font-size:2em;margin:.67em 0}
+mark{background-color:#ff0;color:#000}
+small{font-size:80%}
+sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
+sub{bottom:-.25em}
+sup{top:-.5em}
+img{border-style:none}
+svg:not(:root){overflow:hidden}
+code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}
+figure{margin:1em 40px}
+hr{box-sizing:content-box;height:0;overflow:visible}
+button,input,select,textarea{font:inherit;margin:0}
+optgroup{font-weight:700}
+button,input{overflow:visible}
+button,select{text-transform:none}
+[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}
+[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}
+[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}
+fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
+legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}
+textarea{overflow:auto}
+[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}
+[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}
+[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
+[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}
+::-webkit-input-placeholder{color:inherit;opacity:.54}
+::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}
+body{width:95%;margin:2%;font:normal normal normal 16px/1.6em Helvetica,sans-serif;color:#333}
+@media (min-width:769px){body{width:700px;margin-left:5vw}
+}
+::-moz-selection{background:#d6edff}
+::selection{background:#d6edff}
+.title{margin:auto;color:#000}
+.subtitle,.title{text-align:center}
+.subtitle{font-size:medium;font-weight:700}
+.abstract{margin:auto;width:80%;font-style:italic}
+.abstract p:last-of-type:before{content:"    ";white-space:pre}
+.status{font-size:90%;margin:2em auto}
+[class^=section-number-]{margin-right:.5em}
+[id^=orgheadline]{clear:both}
+#footnotes{font-size:90%}
+.footpara{display:inline;margin:.2em auto}
+.footdef{margin-bottom:1em}
+.footdef sup{padding-right:.5em}
+a{color:#527d9a;text-decoration:none}
+a:hover{color:#035;border-bottom:1px dotted}
+figure{padding:0;margin:0;text-align:center}
+img{max-width:100%;vertical-align:middle}
+@media (min-width:769px){img{max-width:85vw;margin:auto}
+}
+.MathJax_Display{font-size:90%;margin:0!important;width:90%!important}
+h1,h2,h3,h4,h5,h6{color:#a5573e;line-height:1.6em;font-family:Georgia,serif}
+h4,h5,h6{font-size:1em}
+dt{font-weight:700}
+table{margin:auto;border-top:2px solid;border-collapse:collapse}
+table,thead{border-bottom:2px solid}
+table td+td,table th+th{border-left:1px solid gray}
+table tr{border-top:1px solid #d3d3d3}
+td,th{padding:5px 10px;vertical-align:middle}
+caption.t-above{caption-side:top}
+caption.t-bottom{caption-side:bottom}
+th.org-center,th.org-left,th.org-right{text-align:center}
+td.org-right{text-align:right}
+td.org-left{text-align:left}
+td.org-center{text-align:center}
+code{padding:2px 5px;margin:auto 1px;border:1px solid #ddd;border-radius:3px;background-clip:padding-box;color:#333;font-size:80%}
+blockquote{margin:1em 2em;padding-left:1em;border-left:3px solid #ccc}
+kbd{background-color:#f7f7f7;font-size:80%;margin:0 .1em;padding:.1em .6em}
+.todo{background-color:red;padding:2px}
+.done,.todo{color:#fff;border-radius:3px;background-clip:padding-box;font-size:80%;font-family:Lucida Console,monospace}
+.done{background-color:green;padding:3px}
+.priority{color:orange;font-family:Lucida Console,monospace}
+#table-of-contents li{clear:both}
+.tag{font-family:Lucida Console,monospace;font-size:70%;font-weight:400}
+.tag span{padding:0 5px;float:right;margin-right:5px;border:1px solid #bbb;border-radius:3px;background-clip:padding-box;color:#333;background-color:#eee;line-height:1.6}
+.timestamp{color:#bebebe;font-size:90%}
+.timestamp-kwd{color:#5f9ea0}
+.org-right{margin-left:auto;margin-right:0;text-align:right}
+.org-left{margin-left:0;margin-right:auto;text-align:left}
+.org-center{margin-left:auto;margin-right:auto;text-align:center}
+.underline{text-decoration:underline}
+#postamble p,#preamble p{font-size:90%;margin:.2em}
+p.verse{margin-left:3%}
+pre{border:1px solid #ccc;box-shadow:3px 3px 3px #eee;font-family:Lucida Console,monospace;margin:1.2em;padding:8pt}
+pre.src{overflow:auto;padding-top:1.2em;position:relative;font-size:80%}
+pre.src:before{display:block;position:absolute;background-color:#ccccd0;top:0;right:0;padding:.25em .5em;border-bottom-left-radius:8px;border:0;color:#fff;font-size:80%}
+pre.src:hover:before{display:inline}
+pre.src-sh:before{content:'sh'}
+pre.src-bash:before{content:'bash'}
+pre.src-emacs-lisp:before{content:'Emacs Lisp'}
+pre.src-R:before{content:'R'}
+pre.src-org:before{content:'Org'}
+pre.src-c+:before{content:'C++'}
+pre.src-c:before{content:'C'}
+pre.src-html:before{content:'HTML'}
+.inlinetask{background:#ffc;border:2px solid gray;margin:10px;padding:10px}
+#org-div-home-and-up{font-size:70%;text-align:right;white-space:nowrap}
+.linenr{font-size:90%}
+.code-highlighted{background-color:#ff0}
+#bibliography{font-size:90%}
+#bibliography table{width:100%}
+.creator{display:block}
+@media (min-width:769px){.creator{display:inline;float:right}
+}
+
diff --git a/res/worg.css b/res/worg.css
new file mode 100644 (file)
index 0000000..d0b346c
--- /dev/null
@@ -0,0 +1,115 @@
+body {
+    font-family: Helvetica, Arial, Vernada, Tahoma, STFangsong, STXihei, "Songti SC", "Microsoft YaHei", Heiti, sans-serif;
+    font-size: 18px;
+    margin: 5% 10% 5% 10%;
+    padding: 2% 5% 5% 5%;
+    width: 70%;
+    line-height: 150%;
+    border: 1px solid LightGrey;
+}
+
+H1 {
+    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
+}
+
+H2 {
+    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
+    margin-bottom: 60px;
+    margin-bottom: 40px;
+    padding: 5px;
+    border-bottom: 2px LightGrey solid;
+    width: 90%;
+    line-height: 150%;
+    color: DarkGreen;
+}
+
+
+H3 {
+    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
+    margin-top: 40px;
+    margin-bottom: 30px;
+    border-bottom: 1px LightGrey solid;
+    width: 80%;
+    line-height: 150%;
+    color: DarkBlue;
+}
+
+
+H4 {
+    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
+    margin-top: 40px;
+    margin-bottom: 30px;
+    border-bottom: 1px LightGrey solid;
+    width: 80%;
+    line-height: 150%;
+    color: DarkBlue;
+}
+
+
+li {
+    margin-left: 10px;
+}
+
+
+blockquote {
+    border-left: 4px lightgrey solid;
+    padding-left: 5px;
+    margin-left: 20px;
+}
+
+
+pre {
+    font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
+    font-size: 75%;
+    border: solid 1px lightgrey;
+    background-color: Ivory;
+    padding: 5px;
+    line-height: 130%;
+    margin-left: 10px;
+    width: 95%;
+}
+
+
+code {
+    font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
+    font-size: 90%;
+}
+
+
+a {
+    text-decoration: none;
+    cursor: crosshair;
+    border-bottom: 1px dashed Red;
+    padding: 1px;
+    color: black;
+}
+
+
+a:hover {
+       background-color: LightGrey;
+}
+
+
+img {
+    margin-left: 10px;
+    display: block;
+    margin-left: auto;
+    margin-right: auto;
+    margin-top: 30px;
+    margin-bottom: 30px;
+}
+
+
+hr {
+    color: LightGrey;
+}
+
+body .title {
+    text-align:center;
+}
+
+#org-div-home-and-up{
+    text-align:right;
+    font-size:70%;
+    white-space:nowrap;
+}
diff --git a/sitemap.org b/sitemap.org
new file mode 100644 (file)
index 0000000..6a45f41
--- /dev/null
@@ -0,0 +1,12 @@
+#+TITLE: Sitemap
+
+   + [[file:Blog-with-org-mode.org][Blog with Org Mode]]
+   + [[file:elisp-tips.org][Emacs List Tips]]
+   + [[file:git-note.org][Git Note]]
+   + [[file:index.org][My Personal Wiki]]
+   + [[file:linux-note.org][Note of Linux (Debian)]]
+   + [[file:org-tips.org][Org Tips]]
+   + [[file:README.org][README]]
+   + [[file:remember.org][Remember]]
+   + [[file:test.org][Test]]
+   + [[file:print-vs-message-in-emacs.org][ij]]