xinxin 4 years ago
parent
commit
21aebd9d13
9 changed files with 72 additions and 12 deletions
  1. 3 0
      .gitignore
  2. 2 2
      site/algo_b_tree.rst
  3. 16 0
      site/algo_bm25.rst
  4. 4 4
      site/conf.py
  5. 2 4
      site/daily_git.rst
  6. 14 0
      site/daily_mysql.rst
  7. 12 0
      site/daily_nginx.rst
  8. 15 0
      site/daily_postgre.rst
  9. 4 2
      site/wonderful.rst

+ 3 - 0
.gitignore

@@ -1,4 +1,6 @@
 # created by virtualenv automatically
+.idea/
+.vscode/
 bin/
 lib/
 site/__pycache__/
@@ -6,3 +8,4 @@ site/_website/
 site/.doctrees/
 site/.vscode/
 pyvenv.cfg
+

+ 2 - 2
site/programming_b_tree.rst → site/algo_b_tree.rst

@@ -5,8 +5,8 @@ B+ tree
 ==========
 
 .. post:: Jan 25, 2021
-   :tags: algorithm
-   :author: woo
+   :tags: algo
+   :author: joe
    :category: programming
 
 

+ 16 - 0
site/algo_bm25.rst

@@ -0,0 +1,16 @@
+
+.. eyefall post example, created by `ablog start` on Jan 25, 2021.
+
+B+ tree
+==========
+
+.. post:: May 4, 2021
+   :tags: algo
+   :author: joe
+   :category: programming
+
+`BM25 in details
+<https://codingnote.cc/zh-tw/p/9017/>`_.
+
+`BM25 on wikipedia
+<https://en.wikipedia.org/wiki/Okapi_BM25>`_.

+ 4 - 4
site/conf.py

@@ -35,7 +35,7 @@ blog_baseurl = u''
 # links. Dictionary keys are what should be used in ``post`` directive
 # to refer to the author.  Default is ``{}``.
 blog_authors = {
-    'woo': ('woo', None),
+    'joe': ('joe', None),
 }
 
 
@@ -132,7 +132,7 @@ html_sidebars = {
 
 # Link to `Font Awesome`_ at `Bootstrap CDN`_ and use icons in sidebars
 # and post footers.  Default: ``None``
-# fontawesome_link_cdn = None
+fontawesome_link_cdn = 'https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.3/css/fontawesome.min.css'
 
 # Sphinx_ theme already links to `Font Awesome`_.  Default: ``False``
 # fontawesome_included = False
@@ -186,8 +186,8 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Eyefall'
-copyright = u'2021, woo'
-author = u'woo'
+copyright = u'2021, joe'
+author = u'joe'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the

+ 2 - 4
site/programming_git_useful.rst → site/daily_git.rst

@@ -1,13 +1,11 @@
 .. eyefall post example, created by `ablog start` on Jan 25, 2021.
 
-Git in real world
+Daily git usage
 ===================
 
 .. post:: Jan 30, 2021
    :tags: git
-   :category: programming
-
-
+   :category: notes
 
 Fetch tags from remote repository
 ----------------------------------

+ 14 - 0
site/daily_mysql.rst

@@ -0,0 +1,14 @@
+Daily mysqls usage
+===================
+
+.. post:: 3 May, 2021
+    :tags: mysql
+    :category: notes
+
+1. Show table schema
+---------------------
+
+.. code-block:: shell
+
+    mysql> DESCRIBE business.student;
+    mysql> show create table business.student;

+ 12 - 0
site/daily_nginx.rst

@@ -0,0 +1,12 @@
+Daily nginx usage
+===================
+
+.. post:: 3 May, 2021
+    :tags: nginx
+    :category: notes
+
+`location 配置
+<https://github.com/oufeng/Blog/issues/1>`_.
+
+`route to different backend by path
+<https://gist.github.com/soheilhy/8b94347ff8336d971ad0>`_.

+ 15 - 0
site/daily_postgre.rst

@@ -0,0 +1,15 @@
+Daily postgre usage
+===================
+
+.. post:: 4 May, 2021
+    :tags: postgre
+    :category: notes
+
+`postgres basics
+<http://www.ruanyifeng.com/blog/2013/12/getting_started_with_postgresql.html>`_.
+
+`postgre in details
+<http://tw.gitbook.net/postgresql/index.html>`_.
+
+`streaming replication
+<https://blog.yasking.org/a/postgresql-12-streaming-replication.html>`_.

+ 4 - 2
site/wonderful.rst

@@ -3,6 +3,8 @@ Wonderful
 =========
 
 .. post:: Feb 04, 2021
-   :tags:
-   :category:
+   :tags: 
+   :category: notes
 
+check `rst cheat sheet
+<https://github.com/ralsina/rst-cheatsheet/blob/master/rst-cheatsheet.rst>`_.