diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2018-09-18 22:06:24 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2018-09-18 22:06:24 +0200 |
| commit | d6ecba59feb32d7598e257913d622f9ea5296d3b (patch) | |
| tree | 0298475eec703b47ff1217a1021a13c3c0c02c53 | |
| parent | e8a9ace7698834b4d88c693dd666939b7de5ad73 (diff) | |
| download | mitjafelicijan.com-d6ecba59feb32d7598e257913d622f9ea5296d3b.tar.gz | |
content update
| -rw-r--r-- | .jekyll-metadata | bin | 33204 -> 34395 bytes | |||
| -rw-r--r-- | .jsbeautifyrc | 10 | ||||
| -rw-r--r-- | _drafts/2018-08-10-test.md | 15 | ||||
| -rw-r--r-- | _includes/site.css | 14 | ||||
| -rw-r--r-- | _includes/site.min.css | 2 | ||||
| -rw-r--r-- | _layouts/page.html | 3 | ||||
| -rw-r--r-- | assets/site.min.css | 2 | ||||
| -rw-r--r-- | learn/python-0001.md | 53 |
8 files changed, 76 insertions, 23 deletions
diff --git a/.jekyll-metadata b/.jekyll-metadata index 783c51a..09cbbe5 100644 --- a/.jekyll-metadata +++ b/.jekyll-metadata | |||
| Binary files differ | |||
diff --git a/.jsbeautifyrc b/.jsbeautifyrc index bf1d1da..5d90dea 100644 --- a/.jsbeautifyrc +++ b/.jsbeautifyrc | |||
| @@ -16,14 +16,14 @@ | |||
| 16 | }, | 16 | }, |
| 17 | "css": { | 17 | "css": { |
| 18 | "allowed_file_extensions": ["css", "scss", "sass", "less"], | 18 | "allowed_file_extensions": ["css", "scss", "sass", "less"], |
| 19 | "end_with_newline": false, | 19 | "end_with_newline": true, |
| 20 | "indent_char": " ", | 20 | "indent_char": " ", |
| 21 | "indent_size": 4, | 21 | "indent_size": 4, |
| 22 | "indent_with_tabs": false, | 22 | "indent_with_tabs": true, |
| 23 | "newline_between_rules": false, | 23 | "newline_between_rules": true, |
| 24 | "selector_separator": " ", | 24 | "selector_separator": " ", |
| 25 | "selector_separator_newline": false, | 25 | "selector_separator_newline": true, |
| 26 | "preserve_newlines": true, | 26 | "preserve_newlines": false, |
| 27 | "max_preserve_newlines": 10 | 27 | "max_preserve_newlines": 10 |
| 28 | }, | 28 | }, |
| 29 | "js": { | 29 | "js": { |
diff --git a/_drafts/2018-08-10-test.md b/_drafts/2018-08-10-test.md deleted file mode 100644 index 5b5776a..0000000 --- a/_drafts/2018-08-10-test.md +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | --- | ||
| 2 | layout: post | ||
| 3 | title: Software development and my favorite pitfalls | ||
| 4 | description: Couple of observations regarding project management. | ||
| 5 | --- | ||
| 6 | |||
| 7 | **Table of contents** | ||
| 8 | |||
| 9 | - [Initial thoughts22](#initial-thoughts22) | ||
| 10 | |||
| 11 | ## Initial thoughts22 | ||
| 12 | |||
| 13 | Over the years I had privilege to work on some very. | ||
| 14 | |||
| 15 | asda | ||
diff --git a/_includes/site.css b/_includes/site.css index 9a9eb05..fa9230b 100644 --- a/_includes/site.css +++ b/_includes/site.css | |||
| @@ -114,6 +114,17 @@ table td { | |||
| 114 | padding: 5px 10px; | 114 | padding: 5px 10px; |
| 115 | } | 115 | } |
| 116 | 116 | ||
| 117 | summary { | ||
| 118 | outline: none; | ||
| 119 | cursor: pointer; | ||
| 120 | font-weight: 600; | ||
| 121 | user-select: none; | ||
| 122 | } | ||
| 123 | |||
| 124 | details .highlighter-rouge { | ||
| 125 | margin-top: 10px !important; | ||
| 126 | } | ||
| 127 | |||
| 117 | .highlighter-rouge { | 128 | .highlighter-rouge { |
| 118 | padding: 0 15px; | 129 | padding: 0 15px; |
| 119 | font-size: 80%; | 130 | font-size: 80%; |
| @@ -140,11 +151,13 @@ table td { | |||
| 140 | body { | 151 | body { |
| 141 | padding: 0 20px; | 152 | padding: 0 20px; |
| 142 | } | 153 | } |
| 154 | |||
| 143 | footer, | 155 | footer, |
| 144 | header, | 156 | header, |
| 145 | nav { | 157 | nav { |
| 146 | text-align: center; | 158 | text-align: center; |
| 147 | } | 159 | } |
| 160 | |||
| 148 | .responsive-table { | 161 | .responsive-table { |
| 149 | width: 100%; | 162 | width: 100%; |
| 150 | overflow: scroll; | 163 | overflow: scroll; |
| @@ -155,6 +168,7 @@ table td { | |||
| 155 | @page { | 168 | @page { |
| 156 | margin: 2cm; | 169 | margin: 2cm; |
| 157 | } | 170 | } |
| 171 | |||
| 158 | header, | 172 | header, |
| 159 | nav, | 173 | nav, |
| 160 | .comments { | 174 | .comments { |
diff --git a/_includes/site.min.css b/_includes/site.min.css index 0a10107..6fd8932 100644 --- a/_includes/site.min.css +++ b/_includes/site.min.css | |||
| @@ -1 +1 @@ | |||
| *{box-sizing:border-box}body{font-family:'Times New Roman',Times,serif;font-size:16px;line-height:1.8;color:#000;margin:0;padding:0 0 50px}article,footer,header,main,nav{max-width:700px;margin:0 auto}header,main ul{margin-top:30px}header a,nav ul li a{text-decoration:none}header a{font-size:150%;font-weight:700;color:#000}nav ul{margin-top:10px;padding:0}nav ul li{display:inline-block}nav ul li a{color:#444;font-size:85%;margin-right:10px}h1{font-size:200%}h2{font-size:160%}h3{font-size:140%}h4{font-size:120%}article img{max-width:100%;display:block}time{display:block;font-size:85%;color:#444}ul{list-style-type:square}main ul{padding:0 20px}main ul li{margin-bottom:10px}main ul div{font-size:116%}blockquote{margin:40px 0 40px 20px;border-left:5px solid #eee;padding:5px 0 10px 20px}.highlighter-rouge,table,table td,table th{border:2px solid #f1f1f1}table{width:100%;border-collapse:collapse;border-spacing:0}table td,table th{text-align:left;padding:5px 10px}.highlighter-rouge{padding:0 15px;font-size:80%;overflow:auto}.highlighter-rouge table,.highlighter-rouge table td{border:0!important}::selection{background:#ff0;color:#000}::-moz-selection{background:#ff0;color:#000}@media only screen and (max-width:768px){body{padding:0 20px}footer,header,nav{text-align:center}.responsive-table{width:100%;overflow:scroll}}@media print{@page{margin:2cm}.comments,header,nav{display:none}} \ No newline at end of file | *{box-sizing:border-box}body{font-family:'Times New Roman',Times,serif;font-size:16px;line-height:1.8;color:#000;margin:0;padding:0 0 50px}article,footer,header,main,nav{max-width:700px;margin:0 auto}header,main ul{margin-top:30px}header a,nav ul li a{text-decoration:none}header a{font-size:150%;font-weight:700;color:#000}nav ul{margin-top:10px;padding:0}nav ul li{display:inline-block}nav ul li a{color:#444;font-size:85%;margin-right:10px}h1{font-size:200%}h2{font-size:160%}h3{font-size:140%}h4{font-size:120%}article img{max-width:100%;display:block}time{display:block;font-size:85%;color:#444}ul{list-style-type:square}main ul{padding:0 20px}main ul li{margin-bottom:10px}main ul div{font-size:116%}blockquote{margin:40px 0 40px 20px;border-left:5px solid #eee;padding:5px 0 10px 20px}.highlighter-rouge,table,table td,table th{border:2px solid #f1f1f1}table{width:100%;border-collapse:collapse;border-spacing:0}table td,table th{text-align:left;padding:5px 10px}summary{outline:0;cursor:pointer;font-weight:600;user-select:none}details .highlighter-rouge{margin-top:10px!important}.highlighter-rouge{padding:0 15px;font-size:80%;overflow:auto}.highlighter-rouge table,.highlighter-rouge table td{border:0!important}::selection{background:#ff0;color:#000}::-moz-selection{background:#ff0;color:#000}@media only screen and (max-width:768px){body{padding:0 20px}footer,header,nav{text-align:center}.responsive-table{width:100%;overflow:scroll}}@media print{@page{margin:2cm}.comments,header,nav{display:none}} \ No newline at end of file | ||
diff --git a/_layouts/page.html b/_layouts/page.html index 7e38ee9..a5d132d 100644 --- a/_layouts/page.html +++ b/_layouts/page.html | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | <meta name="theme-color" content="{{ site.theme_color }}"> | 11 | <meta name="theme-color" content="{{ site.theme_color }}"> |
| 12 | <meta name="author" content="{{ site.author }}"> | 12 | <meta name="author" content="{{ site.author }}"> |
| 13 | <meta name="description" content="{{ page.description }}"> | 13 | <meta name="description" content="{{ page.description }}"> |
| 14 | 14 | ||
| 15 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA"> | 15 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA"> |
| 16 | 16 | ||
| 17 | <title>{{ page.title }}</title> | 17 | <title>{{ page.title }}</title> |
| @@ -56,3 +56,4 @@ | |||
| 56 | </body> | 56 | </body> |
| 57 | 57 | ||
| 58 | </html> | 58 | </html> |
| 59 | |||
diff --git a/assets/site.min.css b/assets/site.min.css index 0a10107..6fd8932 100644 --- a/assets/site.min.css +++ b/assets/site.min.css | |||
| @@ -1 +1 @@ | |||
| *{box-sizing:border-box}body{font-family:'Times New Roman',Times,serif;font-size:16px;line-height:1.8;color:#000;margin:0;padding:0 0 50px}article,footer,header,main,nav{max-width:700px;margin:0 auto}header,main ul{margin-top:30px}header a,nav ul li a{text-decoration:none}header a{font-size:150%;font-weight:700;color:#000}nav ul{margin-top:10px;padding:0}nav ul li{display:inline-block}nav ul li a{color:#444;font-size:85%;margin-right:10px}h1{font-size:200%}h2{font-size:160%}h3{font-size:140%}h4{font-size:120%}article img{max-width:100%;display:block}time{display:block;font-size:85%;color:#444}ul{list-style-type:square}main ul{padding:0 20px}main ul li{margin-bottom:10px}main ul div{font-size:116%}blockquote{margin:40px 0 40px 20px;border-left:5px solid #eee;padding:5px 0 10px 20px}.highlighter-rouge,table,table td,table th{border:2px solid #f1f1f1}table{width:100%;border-collapse:collapse;border-spacing:0}table td,table th{text-align:left;padding:5px 10px}.highlighter-rouge{padding:0 15px;font-size:80%;overflow:auto}.highlighter-rouge table,.highlighter-rouge table td{border:0!important}::selection{background:#ff0;color:#000}::-moz-selection{background:#ff0;color:#000}@media only screen and (max-width:768px){body{padding:0 20px}footer,header,nav{text-align:center}.responsive-table{width:100%;overflow:scroll}}@media print{@page{margin:2cm}.comments,header,nav{display:none}} \ No newline at end of file | *{box-sizing:border-box}body{font-family:'Times New Roman',Times,serif;font-size:16px;line-height:1.8;color:#000;margin:0;padding:0 0 50px}article,footer,header,main,nav{max-width:700px;margin:0 auto}header,main ul{margin-top:30px}header a,nav ul li a{text-decoration:none}header a{font-size:150%;font-weight:700;color:#000}nav ul{margin-top:10px;padding:0}nav ul li{display:inline-block}nav ul li a{color:#444;font-size:85%;margin-right:10px}h1{font-size:200%}h2{font-size:160%}h3{font-size:140%}h4{font-size:120%}article img{max-width:100%;display:block}time{display:block;font-size:85%;color:#444}ul{list-style-type:square}main ul{padding:0 20px}main ul li{margin-bottom:10px}main ul div{font-size:116%}blockquote{margin:40px 0 40px 20px;border-left:5px solid #eee;padding:5px 0 10px 20px}.highlighter-rouge,table,table td,table th{border:2px solid #f1f1f1}table{width:100%;border-collapse:collapse;border-spacing:0}table td,table th{text-align:left;padding:5px 10px}summary{outline:0;cursor:pointer;font-weight:600;user-select:none}details .highlighter-rouge{margin-top:10px!important}.highlighter-rouge{padding:0 15px;font-size:80%;overflow:auto}.highlighter-rouge table,.highlighter-rouge table td{border:0!important}::selection{background:#ff0;color:#000}::-moz-selection{background:#ff0;color:#000}@media only screen and (max-width:768px){body{padding:0 20px}footer,header,nav{text-align:center}.responsive-table{width:100%;overflow:scroll}}@media print{@page{margin:2cm}.comments,header,nav{display:none}} \ No newline at end of file | ||
diff --git a/learn/python-0001.md b/learn/python-0001.md new file mode 100644 index 0000000..6ff91c9 --- /dev/null +++ b/learn/python-0001.md | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | --- | ||
| 2 | layout: page | ||
| 3 | title: Learn Python by working on a project | ||
| 4 | description: Couple of observations regarding project management. | ||
| 5 | --- | ||
| 6 | |||
| 7 | Application will fetch and cache Flickr feed and in the second phase display these images on a webpage. | ||
| 8 | |||
| 9 | Categories: Python, Bottlepy, SQLite3, RSS | ||
| 10 | |||
| 11 | **Table of contents** | ||
| 12 | |||
| 13 | - [Prepare environment](#prepare-environment) | ||
| 14 | - [sdfsd](#sdfsd) | ||
| 15 | |||
| 16 | #### Prepare environment | ||
| 17 | |||
| 18 | Over the years I had privilege to work on some very. | ||
| 19 | |||
| 20 | ```go | ||
| 21 | package main | ||
| 22 | |||
| 23 | func dummy_benchmark() { | ||
| 24 | fmt.Println("sencond set ...") | ||
| 25 | for i := 0; i < 9182312232; i++ { | ||
| 26 | i *= 2 | ||
| 27 | i /= 2 | ||
| 28 | } | ||
| 29 | } | ||
| 30 | ``` | ||
| 31 | #### sdfsd | ||
| 32 | |||
| 33 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi mollis tempus sodales. Nulla sit amet laoreet ligula. Quisque fermentum auctor congue. Nulla dignissim enim neque, efficitur commodo enim condimentum iaculis. | ||
| 34 | |||
| 35 | ```css | ||
| 36 | body { | ||
| 37 | text-align: center; | ||
| 38 | } | ||
| 39 | ``` | ||
| 40 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi mollis tempus sodales. Nulla sit amet laoreet ligula. Quisque fermentum auctor congue. Nulla dignissim enim neque, efficitur commodo enim condimentum iaculis. | ||
| 41 | |||
| 42 | |||
| 43 | <script> | ||
| 44 | // auto encloses all code blocks into details in case of tutorials | ||
| 45 | document.querySelectorAll('*[class^="language-"]').forEach(function(snippet, idx) { | ||
| 46 | let details = document.createElement('details'); | ||
| 47 | let summary = document.createElement('summary'); | ||
| 48 | summary.innerText = 'Show solution'; | ||
| 49 | details.appendChild(summary); | ||
| 50 | details.appendChild(snippet.cloneNode(true)); | ||
| 51 | snippet.parentNode.replaceChild(details, snippet); | ||
| 52 | }); | ||
| 53 | </script> | ||
