From 8179a885f11c23ca3128ad6862c53692f23e9e61 Mon Sep 17 00:00:00 2001 From: "AAVN\\ltthanh" Date: Mon, 30 Dec 2019 15:29:34 +0700 Subject: [PATCH 1/3] Move website to blog folder --- README.md | 1 + {about => blog/about}/index.html | 0 {assets => blog/assets}/main.css | 0 {contact => blog/contact}/index.html | 0 feed.xml => blog/feed.xml | 0 ...estion-interview-front-end-developers.html | 0 blog/index.html | 170 +++++++++++++++++ .../2017/06/01/how-to-write-a-blog.html | 0 .../update/2017/06/02/welcome-to-jekyll.html | 0 index.html | 176 +----------------- 10 files changed, 180 insertions(+), 167 deletions(-) create mode 100644 README.md rename {about => blog/about}/index.html (100%) rename {assets => blog/assets}/main.css (100%) rename {contact => blog/contact}/index.html (100%) rename feed.xml => blog/feed.xml (100%) rename {front => blog/front}/end/2017/06/05/question-interview-front-end-developers.html (100%) create mode 100644 blog/index.html rename {jekyll => blog/jekyll}/update/2017/06/01/how-to-write-a-blog.html (100%) rename {jekyll => blog/jekyll}/update/2017/06/02/welcome-to-jekyll.html (100%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..7fdefc3 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +My blog \ No newline at end of file diff --git a/about/index.html b/blog/about/index.html similarity index 100% rename from about/index.html rename to blog/about/index.html diff --git a/assets/main.css b/blog/assets/main.css similarity index 100% rename from assets/main.css rename to blog/assets/main.css diff --git a/contact/index.html b/blog/contact/index.html similarity index 100% rename from contact/index.html rename to blog/contact/index.html diff --git a/feed.xml b/blog/feed.xml similarity index 100% rename from feed.xml rename to blog/feed.xml diff --git a/front/end/2017/06/05/question-interview-front-end-developers.html b/blog/front/end/2017/06/05/question-interview-front-end-developers.html similarity index 100% rename from front/end/2017/06/05/question-interview-front-end-developers.html rename to blog/front/end/2017/06/05/question-interview-front-end-developers.html diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 0000000..16d6dcd --- /dev/null +++ b/blog/index.html @@ -0,0 +1,170 @@ + + + + + + + + + My Blog + + + + + + + + + + + + + + + +
+
+
+ +

Posts

+ + + + + + +

subscribe via RSS

+ +
+ +
+
+ + + + + + + diff --git a/jekyll/update/2017/06/01/how-to-write-a-blog.html b/blog/jekyll/update/2017/06/01/how-to-write-a-blog.html similarity index 100% rename from jekyll/update/2017/06/01/how-to-write-a-blog.html rename to blog/jekyll/update/2017/06/01/how-to-write-a-blog.html diff --git a/jekyll/update/2017/06/02/welcome-to-jekyll.html b/blog/jekyll/update/2017/06/02/welcome-to-jekyll.html similarity index 100% rename from jekyll/update/2017/06/02/welcome-to-jekyll.html rename to blog/jekyll/update/2017/06/02/welcome-to-jekyll.html diff --git a/index.html b/index.html index 16d6dcd..62d359c 100644 --- a/index.html +++ b/index.html @@ -1,170 +1,12 @@ - - - - - - - My Blog - - - - - - - + + + + + Home - - - - - - - -
-
-
- -

Posts

- - - - - - -

subscribe via RSS

- -
- -
-
- - - - - - - + + Go to my blog + + \ No newline at end of file From 41671dd82546586d8aa5c44a4c7b4540bceae285 Mon Sep 17 00:00:00 2001 From: "AAVN\\ltthanh" Date: Mon, 30 Dec 2019 18:14:10 +0700 Subject: [PATCH 2/3] - Split to another folder - Add pagination --- blog/.gitignore | 5 + blog/404.html | 25 + blog/_config.yml | 60 +++ blog/_layouts/page.html | 7 + blog/_layouts/post.html | 9 + .../2019-10-20-how-to-write-a-blog.markdown | 44 ++ .../2019-11-21-a-new-post-for-paging.markdown | 9 + .../2019-12-30-welcome-to-jekyll.markdown | 29 ++ blog/_posts/2019-12-30-welcome.markdown | 10 + blog/_sass/base.scss | 273 ++++++++++ blog/about.markdown | 18 + blog/about/index.html | 153 ------ blog/assets/main.css | 470 ------------------ blog/atom.xml | 27 + blog/contact/index.html | 141 ------ blog/css/main.scss | 1 + blog/feed.xml | 189 ------- ...estion-interview-front-end-developers.html | 279 ----------- blog/index.html | 201 ++------ .../2017/06/01/how-to-write-a-blog.html | 193 ------- .../update/2017/06/02/welcome-to-jekyll.html | 161 ------ index.html | 12 - 22 files changed, 549 insertions(+), 1767 deletions(-) create mode 100644 blog/.gitignore create mode 100644 blog/404.html create mode 100644 blog/_config.yml create mode 100644 blog/_layouts/page.html create mode 100644 blog/_layouts/post.html create mode 100644 blog/_posts/2019-10-20-how-to-write-a-blog.markdown create mode 100644 blog/_posts/2019-11-21-a-new-post-for-paging.markdown create mode 100644 blog/_posts/2019-12-30-welcome-to-jekyll.markdown create mode 100644 blog/_posts/2019-12-30-welcome.markdown create mode 100644 blog/_sass/base.scss create mode 100644 blog/about.markdown delete mode 100644 blog/about/index.html delete mode 100644 blog/assets/main.css create mode 100644 blog/atom.xml delete mode 100644 blog/contact/index.html create mode 100644 blog/css/main.scss delete mode 100644 blog/feed.xml delete mode 100644 blog/front/end/2017/06/05/question-interview-front-end-developers.html delete mode 100644 blog/jekyll/update/2017/06/01/how-to-write-a-blog.html delete mode 100644 blog/jekyll/update/2017/06/02/welcome-to-jekyll.html delete mode 100644 index.html diff --git a/blog/.gitignore b/blog/.gitignore new file mode 100644 index 0000000..f40fbd8 --- /dev/null +++ b/blog/.gitignore @@ -0,0 +1,5 @@ +_site +.sass-cache +.jekyll-cache +.jekyll-metadata +vendor diff --git a/blog/404.html b/blog/404.html new file mode 100644 index 0000000..086a5c9 --- /dev/null +++ b/blog/404.html @@ -0,0 +1,25 @@ +--- +permalink: /404.html +layout: default +--- + + + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
diff --git a/blog/_config.yml b/blog/_config.yml new file mode 100644 index 0000000..05d3994 --- /dev/null +++ b/blog/_config.yml @@ -0,0 +1,60 @@ +# Welcome to Jekyll! +# +# This config file is meant for settings that affect your whole blog, values +# which you are expected to set up once and rarely edit after that. If you find +# yourself editing this file very often, consider using Jekyll's data files +# feature for the data you need to update frequently. +# +# For technical reasons, this file is *NOT* reloaded automatically when you use +# 'bundle exec jekyll serve'. If you change this file, please restart the server process. +# +# If you need help with YAML syntax, here are some quick references for you: +# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml +# https://learnxinyminutes.com/docs/yaml/ +# +# Site settings +# These are used to personalize your new site. If you look in the HTML files, +# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. +# You can create any custom variable you would like, and they will be accessible +# in the templates via {{ site.myvariable }}. +source: . +destination: ./_site +permalink: /:title +paginate: 3 +paginate_path: /page/:num/ + +title: Blog +email: curvecode@gmail.com +description: >- # this means to ignore newlines until "baseurl:" + I never had a policy; I have just tried to do my very best each and every day. + Abraham Lincoln +baseurl: "/" # the subpath of your site, e.g. /blog +url: "" # the base hostname & protocol for your site, e.g. http://example.com +twitter_username: curvecode +github_username: curvecode + +# Build settings +theme: minima +plugins: + - jekyll-feed + - jekyll-paginate + +# Exclude from processing. +# The following items will not be processed, by default. +# Any item listed under the `exclude:` key here will be automatically added to +# the internal "default list". +# +# Excluded items can be processed by explicitly listing the directories or +# their entries' file path in the `include:` list. +# +# exclude: +# - .sass-cache/ +# - .jekyll-cache/ +# - gemfiles/ +# - Gemfile +# - Gemfile.lock +# - node_modules/ +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ diff --git a/blog/_layouts/page.html b/blog/_layouts/page.html new file mode 100644 index 0000000..e7a439f --- /dev/null +++ b/blog/_layouts/page.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +
+ {{ content }} +
\ No newline at end of file diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html new file mode 100644 index 0000000..d6eb661 --- /dev/null +++ b/blog/_layouts/post.html @@ -0,0 +1,9 @@ +--- +layout: default +--- + +
+

{{ page.title }}

+ + {{ content }} +
\ No newline at end of file diff --git a/blog/_posts/2019-10-20-how-to-write-a-blog.markdown b/blog/_posts/2019-10-20-how-to-write-a-blog.markdown new file mode 100644 index 0000000..8723611 --- /dev/null +++ b/blog/_posts/2019-10-20-how-to-write-a-blog.markdown @@ -0,0 +1,44 @@ +--- +layout: post +title: "How to write a post in 5 minutes" +date: 2019-10-20 08:32:35 +0700 +categories: jekyll update +tags: [abc, bbb] +--- +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. + +To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. + +Jekyll also offers powerful support for code snippets: + +{% highlight ruby %} +def print_hi(name) + puts "Hi, #{name}" +end +print_hi('Tom') +#=> prints 'Hi, Tom' to STDOUT. +{% endhighlight %} + +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. + +[jekyll-docs]: https://jekyllrb.com/docs/home +[jekyll-gh]: https://github.com/jekyll/jekyll +[jekyll-talk]: https://talk.jekyllrb.com/ + +{% highlight ruby %} +def show + @widget = Widget(params[:id]) + respond_to do |format| + format.html # show.html.erb + format.json { render json: @widget } + end +end +{% endhighlight %} + \ No newline at end of file diff --git a/blog/_posts/2019-11-21-a-new-post-for-paging.markdown b/blog/_posts/2019-11-21-a-new-post-for-paging.markdown new file mode 100644 index 0000000..62afd33 --- /dev/null +++ b/blog/_posts/2019-11-21-a-new-post-for-paging.markdown @@ -0,0 +1,9 @@ +--- +layout: post +title: "New post for paging" +date: 2019-11-21 08:32:35 +0700 +categories: [jekyll] +tags: [new, post] +--- + +This is a new post for paging \ No newline at end of file diff --git a/blog/_posts/2019-12-30-welcome-to-jekyll.markdown b/blog/_posts/2019-12-30-welcome-to-jekyll.markdown new file mode 100644 index 0000000..932d718 --- /dev/null +++ b/blog/_posts/2019-12-30-welcome-to-jekyll.markdown @@ -0,0 +1,29 @@ +--- +layout: post +title: "Welcome to Jekyll!" +date: 2019-12-30 14:04:04 +0700 +categories: jekyll update +--- +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. + +Jekyll requires blog post files to be named according to the following format: + +`YEAR-MONTH-DAY-title.MARKUP` + +Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works. + +Jekyll also offers powerful support for code snippets: + +{% highlight ruby %} +def print_hi(name) + puts "Hi, #{name}" +end +print_hi('Tom') +#=> prints 'Hi, Tom' to STDOUT. +{% endhighlight %} + +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. + +[jekyll-docs]: https://jekyllrb.com/docs/home +[jekyll-gh]: https://github.com/jekyll/jekyll +[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/blog/_posts/2019-12-30-welcome.markdown b/blog/_posts/2019-12-30-welcome.markdown new file mode 100644 index 0000000..417d7dc --- /dev/null +++ b/blog/_posts/2019-12-30-welcome.markdown @@ -0,0 +1,10 @@ +--- +layout: post +title: "Welcome!" +date: 2019-12-30 15:04:04 +0700 +categories: jekyll update +tags: abc +--- + +# Welcome +ABC asndsad asd \ No newline at end of file diff --git a/blog/_sass/base.scss b/blog/_sass/base.scss new file mode 100644 index 0000000..b3c06a7 --- /dev/null +++ b/blog/_sass/base.scss @@ -0,0 +1,273 @@ +/* + original: https://github.com/pages-themes/hacker +*/ + +@import "rouge-base16-dark"; +@import "default_colors"; + +$body-background: $cod-grey !default; +$body-foreground: $gallery !default; +$header: $conifer !default; +$blockquote-color: $silver-chalice !default; +$blockquote-border: $dove-grey !default; + +body { + margin: 0; + padding: 0; + background: $body-background url("../assets/bkg.png") 0 0; + color: $body-foreground; + font-size: 16px; + line-height: 1.5; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; +} + +/* General & 'Reset' Stuff */ + +.container { + width: 90%; + max-width: 1000px; + margin: 0 auto; +} + + +section { + display: block; + margin: 0 0 20px 0; +} + +h1, h2, h3, h4, h5, h6 { + margin: 0 0 20px; +} + +li { + line-height: 1.4 ; +} + +/* Header,
+ header - container + h1 - project name + h2 - project description +*/ + +header { + background: rgba(0, 0, 0, 0.1); + border-bottom: 1px dashed $conifer; //header; + padding: 20px; + margin: 0 0 40px 0; +} + +.header-links { + text-align: center; +} + +.header-link { + display: inline; +} + +header h1 { + font-size: 24px; + line-height: 1.5; + margin: 0; + text-align: center; + font-weight: bold; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color: $conifer;//$header; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), + 0 0 5px rgba(181, 232, 83, 0.1), + 0 0 10px rgba(181, 232, 83, 0.1); + letter-spacing: -1px; + -webkit-font-smoothing: antialiased; +} + +header h2 { + font-size: 18px; + font-weight: 300; + color: #666; +} + +/* Main Content +*/ + +#main_content { + width: 100%; + -webkit-font-smoothing: antialiased; +} +section img { + max-width: 100% +} + +h1, h2, h3, h4, h5, h6 { + font-weight: normal; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color: $header; + letter-spacing: -0.03em; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), + 0 0 5px rgba(181, 232, 83, 0.1), + 0 0 10px rgba(181, 232, 83, 0.1); +} + +#main_content h1 { + font-size: 30px; +} + +#main_content h2 { + font-size: 24px; +} + +#main_content h3 { + font-size: 18px; +} + +#main_content h4 { + font-size: 14px; +} + +#main_content h5 { + font-size: 12px; + text-transform: uppercase; + margin: 0 0 5px 0; +} + +#main_content h6 { + font-size: 12px; + text-transform: uppercase; + color: #999; + margin: 0 0 5px 0; +} + +dt { + font-style: italic; + font-weight: bold; +} + +ul li { + list-style-image:url('../assets/bullet.png'); +} + +blockquote { + color: $blockquote-color; + padding-left: 10px; + border-left: 1px dotted $blockquote-border; +} + +pre { + background: rgba(0, 0, 0, 0.9); + border: 1px solid rgba(255, 255, 255, 0.15); + padding: 10px; + font-size: 16px; + color: #b5e853; + border-radius: 2px; + text-wrap: normal; + overflow: auto; + overflow-y: hidden; +} + +code.highlighter-rouge { + background: rgba(0,0,0,0.9); + border: 1px solid rgba(255, 255, 255, 0.15); + padding: 0px 3px; + margin: 0px -3px; + color: #aa759f; + border-radius: 2px; +} + +table { + width: 100%; + margin: 0 0 20px 0; +} + +th { + text-align: left; + border-bottom: 1px dashed #b5e853; + padding: 5px 10px; +} + +td { + padding: 5px 10px; +} + +hr { + height: 0; + border: 0; + border-bottom: 1px dashed #b5e853; + color: #b5e853; +} + +/* Buttons +*/ + +.btn { + display: inline-block; + background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3)); + padding: 8px 18px; + border-radius: 50px; + border: 2px solid rgba(0, 0, 0, 0.7); + border-bottom: 2px solid rgba(0, 0, 0, 0.7); + border-top: 2px solid rgba(0, 0, 0, 1); + color: rgba(255, 255, 255, 0.8); + font-family: Helvetica, Arial, sans-serif; + font-weight: bold; + font-size: 13px; + text-decoration: none; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); +} + +.btn:hover { + background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8)); +} + +.btn .icon { + display: inline-block; + width: 16px; + height: 16px; + margin: 1px 8px 0 0; + float: left; +} + +.btn-github .icon { + opacity: 0.6; + background: url("../images/blacktocat.png") 0 0 no-repeat; +} + +/* Links + a, a:hover, a:visited +*/ + +a { + color: #63c0f5; + text-shadow: 0 0 5px rgba(104, 182, 255, 0.5); +} + +a:active, a:focus { + outline: 0; + border: none; + -moz-outline-style: none +} + +/* Clearfix */ + +.cf:before, .cf:after { + content:""; + display:table; +} + +.cf:after { + clear:both; +} + +.cf { + zoom:1; +} + +/* Make footer stick to bottom */ + +.pagination, footer { + height: 50px; + line-height: 50px; + text-align: center; +} + +#wrapper { + min-height: calc(100vh - 100px); +} \ No newline at end of file diff --git a/blog/about.markdown b/blog/about.markdown new file mode 100644 index 0000000..8b4e0b2 --- /dev/null +++ b/blog/about.markdown @@ -0,0 +1,18 @@ +--- +layout: page +title: About +permalink: /about/ +--- + +This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) + +You can find the source code for Minima at GitHub: +[jekyll][jekyll-organization] / +[minima](https://github.com/jekyll/minima) + +You can find the source code for Jekyll at GitHub: +[jekyll][jekyll-organization] / +[jekyll](https://github.com/jekyll/jekyll) + + +[jekyll-organization]: https://github.com/jekyll diff --git a/blog/about/index.html b/blog/about/index.html deleted file mode 100644 index e54b215..0000000 --- a/blog/about/index.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - About - - - - - - - - - - - - - - - -
-
-
- -
-

About

-
- -
-

This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at jekyllrb.com

- -

You can find the source code for the Jekyll new theme at: - -jekyll - / -minima

- -

You can find the source code for Jekyll at - -jekyll - / -jekyll

- -
- -
- -
-
- -
- -
- - - - - -
- -
- - - - - diff --git a/blog/assets/main.css b/blog/assets/main.css deleted file mode 100644 index d341fb6..0000000 --- a/blog/assets/main.css +++ /dev/null @@ -1,470 +0,0 @@ -/** - * Reset some basic elements - */ -body, h1, h2, h3, h4, h5, h6, -p, blockquote, pre, hr, -dl, dd, ol, ul, figure { - margin: 0; - padding: 0; } - -/** - * Basic styling - */ -body { - font: 400 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #111; - background-color: #fdfdfd; - -webkit-text-size-adjust: 100%; - -webkit-font-feature-settings: "kern" 1; - -moz-font-feature-settings: "kern" 1; - -o-font-feature-settings: "kern" 1; - font-feature-settings: "kern" 1; - font-kerning: normal; } - -/** - * Set `margin-bottom` to maintain vertical rhythm - */ -h1, h2, h3, h4, h5, h6, -p, blockquote, pre, -ul, ol, dl, figure, -.highlight { - margin-bottom: 15px; } - -/** - * Images - */ -img { - max-width: 100%; - vertical-align: middle; } - -/** - * Figures - */ -figure > img { - display: block; } - -figcaption { - font-size: 14px; } - -/** - * Lists - */ -ul, ol { - margin-left: 30px; } - -li > ul, -li > ol { - margin-bottom: 0; } - -/** - * Headings - */ -h1, h2, h3, h4, h5, h6 { - font-weight: 400; } - -/** - * Links - */ -a { - color: #2a7ae2; - text-decoration: none; } - a:visited { - color: #1756a9; } - a:hover { - color: #111; - text-decoration: underline; } - .social-media-list a:hover { - text-decoration: none; } - .social-media-list a:hover .username { - text-decoration: underline; } - -/** - * Blockquotes - */ -blockquote { - color: #828282; - border-left: 4px solid #e8e8e8; - padding-left: 15px; - font-size: 18px; - letter-spacing: -1px; - font-style: italic; } - blockquote > :last-child { - margin-bottom: 0; } - -/** - * Code formatting - */ -pre, -code { - font-size: 15px; - border: 1px solid #e8e8e8; - border-radius: 3px; - background-color: #eef; } - -code { - padding: 1px 5px; } - -pre { - padding: 8px 12px; - overflow-x: auto; } - pre > code { - border: 0; - padding-right: 0; - padding-left: 0; } - -/** - * Wrapper - */ -.wrapper { - max-width: -webkit-calc(800px - (30px * 2)); - max-width: calc(800px - (30px * 2)); - margin-right: auto; - margin-left: auto; - padding-right: 30px; - padding-left: 30px; } - @media screen and (max-width: 800px) { - .wrapper { - max-width: -webkit-calc(800px - (30px)); - max-width: calc(800px - (30px)); - padding-right: 15px; - padding-left: 15px; } } - -/** - * Clearfix - */ -.wrapper:after, .footer-col-wrapper:after { - content: ""; - display: table; - clear: both; } - -/** - * Icons - */ -.icon > svg { - display: inline-block; - vertical-align: middle; } - .icon > svg path { - fill: #828282; } - -.social-media-list .icon { - padding-right: 5px; } -.social-media-list li + li { - padding-top: 5px; } - -/** - * Site header - */ -.site-header { - border-top: 5px solid #424242; - border-bottom: 1px solid #e8e8e8; - min-height: 55.95px; - position: relative; } - -.site-title { - font-size: 26px; - font-weight: 300; - line-height: 54px; - letter-spacing: -1px; - margin-bottom: 0; - float: left; } - .site-title, .site-title:visited { - color: #424242; } - -.site-nav { - float: right; - line-height: 54px; } - .site-nav .nav-trigger { - display: none; } - .site-nav .menu-icon { - display: none; } - .site-nav .page-link { - color: #111; - line-height: 1.5; } - .site-nav .page-link:not(:last-child) { - margin-right: 20px; } - @media screen and (max-width: 600px) { - .site-nav { - position: absolute; - top: 9px; - right: 15px; - background-color: #fdfdfd; - border: 1px solid #e8e8e8; - border-radius: 5px; - text-align: right; } - .site-nav label[for="nav-trigger"] { - display: block; - float: right; - width: 36px; - height: 36px; - z-index: 2; - cursor: pointer; } - .site-nav .menu-icon { - display: block; - float: right; - width: 36px; - height: 26px; - line-height: 0; - padding-top: 10px; - text-align: center; } - .site-nav .menu-icon > svg path { - fill: #424242; } - .site-nav input ~ .trigger { - clear: both; - display: none; } - .site-nav input:checked ~ .trigger { - display: block; - padding-bottom: 5px; } - .site-nav .page-link { - display: block; - padding: 5px 10px; - margin-left: 20px; } - .site-nav .page-link:not(:last-child) { - margin-right: 0; } } - -/** - * Site footer - */ -.site-footer { - border-top: 1px solid #e8e8e8; - padding: 30px 0; } - -.footer-heading { - font-size: 18px; - margin-bottom: 15px; } - -.contact-list, -.social-media-list { - list-style: none; - margin-left: 0; } - -.footer-col-wrapper { - font-size: 15px; - color: #828282; - margin-left: -15px; } - -.footer-col { - float: left; - margin-bottom: 15px; - padding-left: 15px; } - -.footer-col-1 { - width: -webkit-calc(35% - (30px / 2)); - width: calc(35% - (30px / 2)); } - -.footer-col-2 { - width: -webkit-calc(20% - (30px / 2)); - width: calc(20% - (30px / 2)); } - -.footer-col-3 { - width: -webkit-calc(45% - (30px / 2)); - width: calc(45% - (30px / 2)); } - -@media screen and (max-width: 800px) { - .footer-col-1, - .footer-col-2 { - width: -webkit-calc(50% - (30px / 2)); - width: calc(50% - (30px / 2)); } - - .footer-col-3 { - width: -webkit-calc(100% - (30px / 2)); - width: calc(100% - (30px / 2)); } } -@media screen and (max-width: 600px) { - .footer-col { - float: none; - width: -webkit-calc(100% - (30px / 2)); - width: calc(100% - (30px / 2)); } } -/** - * Page content - */ -.page-content { - padding: 30px 0; } - -.page-heading { - font-size: 20px; } - -.post-list { - margin-left: 0; - list-style: none; } - .post-list > li { - margin-bottom: 30px; } - -.post-meta { - font-size: 14px; - color: #828282; } - -.post-link { - display: block; - font-size: 24px; } - -/** - * Posts - */ -.post-header { - margin-bottom: 30px; } - -.post-title { - font-size: 42px; - letter-spacing: -1px; - line-height: 1; } - @media screen and (max-width: 800px) { - .post-title { - font-size: 36px; } } - -.post-content { - margin-bottom: 30px; } - .post-content h2 { - font-size: 32px; } - @media screen and (max-width: 800px) { - .post-content h2 { - font-size: 28px; } } - .post-content h3 { - font-size: 26px; } - @media screen and (max-width: 800px) { - .post-content h3 { - font-size: 22px; } } - .post-content h4 { - font-size: 20px; } - @media screen and (max-width: 800px) { - .post-content h4 { - font-size: 18px; } } - -/** - * Syntax highlighting styles - */ -.highlight { - background: #fff; } - .highlighter-rouge .highlight { - background: #eef; } - .highlight .c { - color: #998; - font-style: italic; } - .highlight .err { - color: #a61717; - background-color: #e3d2d2; } - .highlight .k { - font-weight: bold; } - .highlight .o { - font-weight: bold; } - .highlight .cm { - color: #998; - font-style: italic; } - .highlight .cp { - color: #999; - font-weight: bold; } - .highlight .c1 { - color: #998; - font-style: italic; } - .highlight .cs { - color: #999; - font-weight: bold; - font-style: italic; } - .highlight .gd { - color: #000; - background-color: #fdd; } - .highlight .gd .x { - color: #000; - background-color: #faa; } - .highlight .ge { - font-style: italic; } - .highlight .gr { - color: #a00; } - .highlight .gh { - color: #999; } - .highlight .gi { - color: #000; - background-color: #dfd; } - .highlight .gi .x { - color: #000; - background-color: #afa; } - .highlight .go { - color: #888; } - .highlight .gp { - color: #555; } - .highlight .gs { - font-weight: bold; } - .highlight .gu { - color: #aaa; } - .highlight .gt { - color: #a00; } - .highlight .kc { - font-weight: bold; } - .highlight .kd { - font-weight: bold; } - .highlight .kp { - font-weight: bold; } - .highlight .kr { - font-weight: bold; } - .highlight .kt { - color: #458; - font-weight: bold; } - .highlight .m { - color: #099; } - .highlight .s { - color: #d14; } - .highlight .na { - color: #008080; } - .highlight .nb { - color: #0086B3; } - .highlight .nc { - color: #458; - font-weight: bold; } - .highlight .no { - color: #008080; } - .highlight .ni { - color: #800080; } - .highlight .ne { - color: #900; - font-weight: bold; } - .highlight .nf { - color: #900; - font-weight: bold; } - .highlight .nn { - color: #555; } - .highlight .nt { - color: #000080; } - .highlight .nv { - color: #008080; } - .highlight .ow { - font-weight: bold; } - .highlight .w { - color: #bbb; } - .highlight .mf { - color: #099; } - .highlight .mh { - color: #099; } - .highlight .mi { - color: #099; } - .highlight .mo { - color: #099; } - .highlight .sb { - color: #d14; } - .highlight .sc { - color: #d14; } - .highlight .sd { - color: #d14; } - .highlight .s2 { - color: #d14; } - .highlight .se { - color: #d14; } - .highlight .sh { - color: #d14; } - .highlight .si { - color: #d14; } - .highlight .sx { - color: #d14; } - .highlight .sr { - color: #009926; } - .highlight .s1 { - color: #d14; } - .highlight .ss { - color: #990073; } - .highlight .bp { - color: #999; } - .highlight .vc { - color: #008080; } - .highlight .vg { - color: #008080; } - .highlight .vi { - color: #008080; } - .highlight .il { - color: #099; } diff --git a/blog/atom.xml b/blog/atom.xml new file mode 100644 index 0000000..25699bf --- /dev/null +++ b/blog/atom.xml @@ -0,0 +1,27 @@ +--- +layout: null +--- + + + + {{ site.title | xml_escape }} + {{ site.description | xml_escape }} + {{ site.url }} + + + {{ site.author.name }} + {{ site.author.email }} + {{ site.author.url }} + + {% for post in site.posts limit:10 %} + + {{ post.title | xml_escape }} + {{ post.content | xml_escape }} + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.url }}/{{ post.url }} + + {{ site.url }}{{ post.url }} + + {% endfor %} + + diff --git a/blog/contact/index.html b/blog/contact/index.html deleted file mode 100644 index f57cdde..0000000 --- a/blog/contact/index.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - Contact - - - - - - - - - - - - - - - -
-
-
- -
-

Contact

-
- -
-

This is contact page with email address jekyllrb.com

- -
- -
- -
-
- -
- -
- - - - - -
- -
- - - - - diff --git a/blog/css/main.scss b/blog/css/main.scss new file mode 100644 index 0000000..9acd9cd --- /dev/null +++ b/blog/css/main.scss @@ -0,0 +1 @@ +@import "base"; diff --git a/blog/feed.xml b/blog/feed.xml deleted file mode 100644 index 1c18ad5..0000000 --- a/blog/feed.xml +++ /dev/null @@ -1,189 +0,0 @@ -Jekyll2017-06-05T15:35:51+07:00http://localhost:4000/My BlogWrite an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description. -Question for front-end2017-06-05T11:15:35+07:002017-06-05T11:15:35+07:00http://localhost:4000/front/end/2017/06/05/question-interview-front-end-developers<h1 id="vi-version"><strong>VI-version</strong></h1> - -<h2 id="html-css-basic">HTML, CSS basic</h2> -<h3 id="1-inline-element-và-block-element-là-gì-cho-ví-dụ">1. Inline Element và Block Element là gì? Cho ví dụ.</h3> -<h4 id="trả-lời"><strong>Trả lời:</strong></h4> -<ul> - <li>Inline element là những thẻ khởi tạo mà không bắt đầu từ dòng mới. ( Ex: Span, a, img, …)</li> - <li>Block Element là những thẻ khởi tạo mà bắt đầu là dòng mới. (Ex: p, div, h1 - h6, form …)</li> -</ul> - -<h3 id="2-Điểm-giống--khác-nhau-của-cookie-sessionstorage-localstorage-">2. Điểm giống &amp; khác nhau của cookie, sessionStorage, localStorage ?</h3> -<h4 id="trả-lời-1"><strong>Trả lời</strong></h4> - -<h5 id="giống">Giống</h5> -<blockquote> - <p>Đều được lưu trữ ở phía Client</p> -</blockquote> - -<h5 id="khác">Khác</h5> -<blockquote> - <p>Cookies :</p> - <ul> - <li>4KB lưu trữ</li> - <li>Hỗ trợ hầu hết tất cả các trình duyệt</li> - </ul> -</blockquote> - -<blockquote> - <p>sessionStorage :</p> - <ul> - <li>5 MB lưu trữ</li> - <li>Chỉ tồn tại trong phiên hoạt động của trình duyệt. Nó được xóa đi khi cửa sổ trình duyệt bị đóng lại.</li> - </ul> -</blockquote> - -<blockquote> - <p>LocalStorage :</p> - <ul> - <li>5MB lưu trữ</li> - </ul> -</blockquote> - -<h3 id="3-tại-sao-ta-thường-đặt-thẻ-link-ở-giữa-thẻ-head-và-thẻ-script-trước-thẻ-body-">3. Tại sao ta thường đặt thẻ <strong>link</strong> ở giữa thẻ <strong>head</strong> và thẻ script trước thẻ <strong>body</strong> ?</h3> - -<blockquote> - <p>You usually put the <link /> tags in between the &lt;head&gt; to prevent Flash of Unstyled Content which gives the user something to look at while the rest of the page is being parsed.</p> -</blockquote> - -<blockquote> - <p>Since Javascript blocks rendering by default, and the DOM and CSSOM construction can be also be delayed, it is usually best to keep scripts at the bottom of the page.</p> -</blockquote> - -<blockquote> - <p>Exceptions are if you grab the scripts asynchronously, or at least defer them to the end of the page.</p> -</blockquote> - -<h3 id="4-phân-biệt-class-và-id-trong-css-">4. Phân biệt Class và ID trong CSS ?</h3> -<h3 id="5-thuộc-tính-box-sizing-trong-css-có-nghĩa-gì-">5. Thuộc tính <code class="highlighter-rouge">box-sizing</code> trong CSS có nghĩa gì ?</h3> -<h3 id="6-nếu-biết-sass-giải-thích-thuận-lợi-mà-css-preprocessors-đem-lại-">6. Nếu biết SASS: Giải thích thuận lợi mà CSS Preprocessors đem lại ?</h3> -<h3 id="7-cách-tạo-animation-với-css3--thử-cho-một-ví-dụ">7. Cách tạo animation với CSS3 ? Thử cho một ví dụ.</h3> -<h3 id="8-bạn-từng-sử-dụng-framework-css-nào-chưa--tại-sao-lại-sử-dụng-những-lợi-ích-mà-nó-đem-lại-là-gì-">8. Bạn từng sử dụng Framework CSS nào chưa ? Tại sao lại sử dụng? Những lợi ích mà nó đem lại là gì ?</h3> - -<h2 id="responsive">Responsive</h2> - -<h3 id="1-thiết-lập-hiển-thị-responsive-cho-một-trang-cần-thẻ-meta-gì-">1. Thiết lập hiển thị responsive cho một trang cần thẻ Meta gì ?</h3> -<h4 id="trả-lời-2"><strong>Trả lời:</strong></h4> - -<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt">&lt;meta</span> <span class="na">name=</span><span class="s">"viewport"</span> <span class="na">content=</span><span class="s">"width=device-width, initial-scale=1"</span><span class="nt">&gt;</span></code></pre></figure> - -<h2 id="javascript">Javascript</h2> -<h3 id="1-this-trong-java-hoạt-động-như-thế-nào-">1. <code class="highlighter-rouge">this</code> trong java hoạt động như thế nào ?</h3> -<h4 id="trả-lời-3"><strong>Trả lời</strong></h4> -<p><code class="highlighter-rouge">this</code> trong javascript khi đứng một mình thì nó tương tự như window</p> - -<h3 id="2-phân-biệt--và--">2. Phân biệt <code class="highlighter-rouge">==</code> và <code class="highlighter-rouge">===</code> ?</h3> -<h4 id="trả-lời-4"><strong>Trả lời</strong></h4> -<ul> - <li><code class="highlighter-rouge">==</code> là toán tử so sánh dùng để so sánh cho trường hợp bằng giá trị nhưng có thể ko cùng kiểu dữ liệu.</li> - <li><code class="highlighter-rouge">===</code> là toán tử so sánh khi thỏa cả điều kiện giá trị và kiểu dữ liệu.</li> -</ul> - -<h3 id="3-viết-hàm-kiểm-tra-một-số-có-thuộc-dãy-fibonaci-bằng-ngôn-ngữ-javascript-">3. Viết hàm kiểm tra một số có thuộc dãy Fibonaci bằng ngôn ngữ Javascript ?</h3> - -<h4 id="trả-lời-5"><strong>Trả lời</strong></h4> - -<figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="kd">function</span> <span class="nx">isFibonacci</span><span class="p">(</span><span class="nx">num</span><span class="p">)</span> <span class="p">{</span> - <span class="kd">var</span> <span class="nx">a</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> - <span class="kd">var</span> <span class="nx">b</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span> - <span class="k">if</span> <span class="p">(</span><span class="nx">num</span> <span class="o">==</span> <span class="nx">a</span> <span class="o">||</span> <span class="nx">num</span> <span class="o">==</span> <span class="nx">b</span><span class="p">)</span> <span class="p">{</span> - <span class="k">return</span> <span class="kc">true</span><span class="p">;</span> - <span class="p">}</span> - <span class="kd">var</span> <span class="nx">c</span> <span class="o">=</span> <span class="nx">a</span><span class="o">+</span><span class="nx">b</span><span class="p">;</span> - <span class="k">while</span> <span class="p">(</span><span class="nx">c</span> <span class="o">&lt;=</span> <span class="nx">num</span><span class="p">)</span> - <span class="p">{</span> - <span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="nx">c</span><span class="p">);</span> - <span class="k">if</span> <span class="p">(</span><span class="nx">c</span> <span class="o">==</span> <span class="nx">num</span><span class="p">)</span> <span class="p">{</span> - <span class="k">return</span> <span class="kc">true</span><span class="p">;</span> - <span class="p">}</span> <span class="k">else</span> <span class="p">{</span> - <span class="nx">a</span> <span class="o">=</span> <span class="nx">b</span><span class="p">;</span> - <span class="nx">b</span> <span class="o">=</span> <span class="nx">c</span><span class="p">;</span> - <span class="nx">c</span> <span class="o">=</span> <span class="nx">a</span> <span class="o">+</span> <span class="nx">b</span><span class="p">;</span> - <span class="p">}</span> - <span class="p">}</span> - <span class="k">return</span> <span class="kc">false</span><span class="p">;</span> -<span class="p">}</span></code></pre></figure> - -<h3 id="4-viết-hàm-hiển-thị-số-fibonaci-thứ-n">4. Viết hàm hiển thị số Fibonaci thứ n?</h3> - -<h4 id="trả-lời-6"><strong>Trả lời</strong></h4> - -<figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="kd">function</span> <span class="nx">printFibonaci</span><span class="p">(</span><span class="nx">n</span><span class="p">)</span> <span class="p">{</span> - <span class="k">if</span> <span class="p">(</span><span class="nx">n</span> <span class="o">&lt;</span> <span class="mi">2</span><span class="p">)</span> <span class="p">{</span> - <span class="k">return</span> <span class="mi">1</span><span class="p">;</span> - <span class="p">}</span> <span class="k">else</span> <span class="p">{</span> - <span class="k">return</span> <span class="nx">printFibonaci</span><span class="p">(</span><span class="nx">n</span><span class="o">-</span><span class="mi">1</span><span class="p">)</span> <span class="o">+</span> <span class="nx">printFibonaci</span><span class="p">(</span><span class="nx">n</span><span class="o">-</span><span class="mi">2</span><span class="p">)</span> - <span class="p">}</span> -<span class="p">}</span></code></pre></figure> - -<h4 id="ví-dụ">Ví dụ:</h4> -<ul> - <li>10 == ‘10’ —&gt; True</li> - <li>10 === ‘10’ —&gt; False</li> -</ul> - -<h2 id="php-basic">PHP basic</h2> -<h3 id="1-kết-quả-của-các-dòng-lệnh-sau-là-gì">1. Kết quả của các dòng lệnh sau là gì</h3> - -<figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="nx">$a</span> <span class="o">=</span> <span class="s1">'1'</span><span class="p">;</span> -<span class="nx">$b</span> <span class="o">=</span> <span class="o">&amp;</span><span class="nx">$a</span><span class="p">;</span> -<span class="nx">$b</span> <span class="o">=</span> <span class="s2">"2$b"</span><span class="p">;</span> -<span class="nx">echo</span> <span class="nx">$a</span><span class="p">.</span><span class="s2">", "</span><span class="p">.</span><span class="nx">$b</span><span class="err">"</span><span class="p">;</span></code></pre></figure>VI-versionWelcome to Jekyll!2017-06-02T08:32:35+07:002017-06-02T08:32:35+07:00http://localhost:4000/jekyll/update/2017/06/02/welcome-to-jekyll<p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> - -<p>To add new posts, simply add a file in the <code class="highlighter-rouge">_posts</code> directory that follows the convention <code class="highlighter-rouge">YYYY-MM-DD-name-of-post.ext</code> and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.</p> - -<p>Jekyll also offers powerful support for code snippets:</p> - -<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span> - <span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span> -<span class="k">end</span> -<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span> -<span class="c1">#=&gt; prints 'Hi, Tom' to STDOUT.</span></code></pre></figure> - -<p>Check out the <a href="https://jekyllrb.com/docs/home">Jekyll docs</a> for more info on how to get the most out of Jekyll. File all bugs/feature requests at <a href="https://github.com/jekyll/jekyll">Jekyll’s GitHub repo</a>. If you have questions, you can ask them on <a href="https://talk.jekyllrb.com/">Jekyll Talk</a>.</p>You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.How to write a post2017-06-01T08:32:35+07:002017-06-01T08:32:35+07:00http://localhost:4000/jekyll/update/2017/06/01/how-to-write-a-blog<p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> - -<p>To add new posts, simply add a file in the <code class="highlighter-rouge">_posts</code> directory that follows the convention <code class="highlighter-rouge">YYYY-MM-DD-name-of-post.ext</code> and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.</p> - -<p>Jekyll also offers powerful support for code snippets:</p> - -<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span> - <span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span> -<span class="k">end</span> -<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span> -<span class="c1">#=&gt; prints 'Hi, Tom' to STDOUT.</span></code></pre></figure> - -<p>Check out the <a href="https://jekyllrb.com/docs/home">Jekyll docs</a> for more info on how to get the most out of Jekyll. File all bugs/feature requests at <a href="https://github.com/jekyll/jekyll">Jekyll’s GitHub repo</a>. If you have questions, you can ask them on <a href="https://talk.jekyllrb.com/">Jekyll Talk</a>.</p> - -<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">show</span> - <span class="vi">@widget</span> <span class="o">=</span> <span class="no">Widget</span><span class="p">(</span><span class="n">params</span><span class="p">[</span><span class="ss">:id</span><span class="p">])</span> - <span class="n">respond_to</span> <span class="k">do</span> <span class="o">|</span><span class="nb">format</span><span class="o">|</span> - <span class="nb">format</span><span class="p">.</span><span class="nf">html</span> <span class="c1"># show.html.erb</span> - <span class="nb">format</span><span class="p">.</span><span class="nf">json</span> <span class="p">{</span> <span class="n">render</span> <span class="ss">json: </span><span class="vi">@widget</span> <span class="p">}</span> - <span class="k">end</span> -<span class="k">end</span></code></pre></figure> - -<ul> - - <li> - <a href="/front/end/2017/06/05/question-interview-front-end-developers.html">Question for front-end</a> - <h1 id="vi-version"><strong>VI-version</strong></h1> - - - </li> - - <li> - <a href="/jekyll/update/2017/06/02/welcome-to-jekyll.html">Welcome to Jekyll!</a> - <p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> - - - </li> - - <li> - <a href="/jekyll/update/2017/06/01/how-to-write-a-blog.html">How to write a post</a> - <p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> - - - </li> - -</ul>You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated. \ No newline at end of file diff --git a/blog/front/end/2017/06/05/question-interview-front-end-developers.html b/blog/front/end/2017/06/05/question-interview-front-end-developers.html deleted file mode 100644 index e79ab7b..0000000 --- a/blog/front/end/2017/06/05/question-interview-front-end-developers.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - - Question for front-end - - - - - - - - - - - - - - - -
-
-
- -
-

Question for front-end

- -
- -
-

VI-version

- -

HTML, CSS basic

-

1. Inline Element và Block Element là gì? Cho ví dụ.

-

Trả lời:

-
    -
  • Inline element là những thẻ khởi tạo mà không bắt đầu từ dòng mới. ( Ex: Span, a, img, …)
  • -
  • Block Element là những thẻ khởi tạo mà bắt đầu là dòng mới. (Ex: p, div, h1 - h6, form …)
  • -
- - -

Trả lời

- -
Giống
-
-

Đều được lưu trữ ở phía Client

-
- -
Khác
-
-

Cookies :

-
    -
  • 4KB lưu trữ
  • -
  • Hỗ trợ hầu hết tất cả các trình duyệt
  • -
-
- -
-

sessionStorage :

-
    -
  • 5 MB lưu trữ
  • -
  • Chỉ tồn tại trong phiên hoạt động của trình duyệt. Nó được xóa đi khi cửa sổ trình duyệt bị đóng lại.
  • -
-
- -
-

LocalStorage :

-
    -
  • 5MB lưu trữ
  • -
-
- - - -
-

You usually put the tags in between the <head> to prevent Flash of Unstyled Content which gives the user something to look at while the rest of the page is being parsed.

-
- -
-

Since Javascript blocks rendering by default, and the DOM and CSSOM construction can be also be delayed, it is usually best to keep scripts at the bottom of the page.

-
- -
-

Exceptions are if you grab the scripts asynchronously, or at least defer them to the end of the page.

-
- -

4. Phân biệt Class và ID trong CSS ?

-

5. Thuộc tính box-sizing trong CSS có nghĩa gì ?

-

6. Nếu biết SASS: Giải thích thuận lợi mà CSS Preprocessors đem lại ?

-

7. Cách tạo animation với CSS3 ? Thử cho một ví dụ.

-

8. Bạn từng sử dụng Framework CSS nào chưa ? Tại sao lại sử dụng? Những lợi ích mà nó đem lại là gì ?

- -

Responsive

- -

1. Thiết lập hiển thị responsive cho một trang cần thẻ Meta gì ?

-

Trả lời:

- -
<meta name="viewport" content="width=device-width, initial-scale=1">
- -

Javascript

-

1. this trong java hoạt động như thế nào ?

-

Trả lời

-

this trong javascript khi đứng một mình thì nó tương tự như window

- -

2. Phân biệt ===== ?

-

Trả lời

-
    -
  • == là toán tử so sánh dùng để so sánh cho trường hợp bằng giá trị nhưng có thể ko cùng kiểu dữ liệu.
  • -
  • === là toán tử so sánh khi thỏa cả điều kiện giá trị và kiểu dữ liệu.
  • -
- -

3. Viết hàm kiểm tra một số có thuộc dãy Fibonaci bằng ngôn ngữ Javascript ?

- -

Trả lời

- -
function isFibonacci(num) {
-   var a = 0;
-   var b = 1;
-   if (num == a || num == b) {
-      return true;
-   }
-   var c = a+b;
-   while (c <= num) 
-   {
-     console.log(c);
-     if (c == num) {
-        return true;
-     } else {
-        a = b;
-        b = c;
-        c = a + b; 
-     }
-   }
-   return false;
-}
- -

4. Viết hàm hiển thị số Fibonaci thứ n?

- -

Trả lời

- -
function printFibonaci(n) {
-    if (n < 2) {
-        return 1;
-    } else {
-        return printFibonaci(n-1) + printFibonaci(n-2)
-    }
-}
- -

Ví dụ:

-
    -
  • 10 == ‘10’ —> True
  • -
  • 10 === ‘10’ —> False
  • -
- -

PHP basic

-

1. Kết quả của các dòng lệnh sau là gì

- -
$a = '1';
-$b = &$a;
-$b = "2$b";
-echo $a.", ".$b";
- - -
- - -
- -
-
- -
- -
- - - - - -
- -
- - - - - diff --git a/blog/index.html b/blog/index.html index 16d6dcd..7d9a4e4 100644 --- a/blog/index.html +++ b/blog/index.html @@ -1,170 +1,33 @@ - - - - - - - - - My Blog - - - - - - - - - - - - - - - -
-
-
- -

Posts

- - - - - - -

subscribe via RSS

- -
- -
-
- -
- -
- - - - - +--- +layout: default +--- + + +{% for post in paginator.posts %} +

{{ post.title }}

+

+ {{ post.date }} +

+
+ {{ post.content | strip_html | truncatewords:50 }}
- -
- - - - - +{% endfor %} + + + \ No newline at end of file diff --git a/blog/jekyll/update/2017/06/01/how-to-write-a-blog.html b/blog/jekyll/update/2017/06/01/how-to-write-a-blog.html deleted file mode 100644 index 0c572d7..0000000 --- a/blog/jekyll/update/2017/06/01/how-to-write-a-blog.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - How to write a post - - - - - - - - - - - - - - - -
-
-
- -
-

How to write a post

- -
- -
-

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

- -

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

- -

Jekyll also offers powerful support for code snippets:

- -
def print_hi(name)
-  puts "Hi, #{name}"
-end
-print_hi('Tom')
-#=> prints 'Hi, Tom' to STDOUT.
- -

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.

- -
def show
-  @widget = Widget(params[:id])
-  respond_to do |format|
-    format.html # show.html.erb
-    format.json { render json: @widget }
-  end
-end
- -
    - -
  • - Question for front-end -

    VI-version

    - - -
  • - -
  • - Welcome to Jekyll! -

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

    - - -
  • - -
  • - How to write a post -

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

    - - -
  • - -
- -
- - -
- -
-
- -
- -
- - - - - -
- -
- - - - - diff --git a/blog/jekyll/update/2017/06/02/welcome-to-jekyll.html b/blog/jekyll/update/2017/06/02/welcome-to-jekyll.html deleted file mode 100644 index 441b5c8..0000000 --- a/blog/jekyll/update/2017/06/02/welcome-to-jekyll.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - Welcome to Jekyll! - - - - - - - - - - - - - - - -
-
-
- -
-

Welcome to Jekyll!

- -
- -
-

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

- -

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

- -

Jekyll also offers powerful support for code snippets:

- -
def print_hi(name)
-  puts "Hi, #{name}"
-end
-print_hi('Tom')
-#=> prints 'Hi, Tom' to STDOUT.
- -

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.

- - -
- - -
- -
-
- -
- -
- - - - - -
- -
- - - - - diff --git a/index.html b/index.html deleted file mode 100644 index 62d359c..0000000 --- a/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Home - - - Go to my blog - - \ No newline at end of file From 9171c979eef426870eb6d1cff32f29449d7e4c8a Mon Sep 17 00:00:00 2001 From: "AAVN\\ltthanh" Date: Tue, 31 Dec 2019 17:10:44 +0700 Subject: [PATCH 3/3] Another jekyll theme for blog --- blog/.gitignore | 1 - blog/_site/404.html | 84 ++++++ blog/_site/a-new-post-for-paging.html | 71 +++++ blog/_site/about/index.html | 76 +++++ blog/_site/assets/main.css | 285 ++++++++++++++++++ blog/_site/assets/main.css.map | 20 ++ blog/_site/assets/minima-social-icons.svg | 33 ++ blog/_site/atom.xml | 122 ++++++++ blog/_site/css/main.scss | 1 + blog/_site/feed.xml | 67 ++++ blog/_site/how-to-write-a-blog.html | 120 ++++++++ blog/_site/index.html | 106 +++++++ blog/_site/page/2/index.html | 89 ++++++ blog/_site/welcome-to-jekyll.html | 88 ++++++ blog/_site/welcome.html | 72 +++++ hacker-blog/.gitignore | 2 + ...40b622142f1c98125abcfe89a76a661b0e8e343910 | 1 + ...15340fa488d49c078189d96b39aa189cf5cb40f9bf | 164 ++++++++++ ...09318b626f0fc8a90b4a2ac0ca8099c05aa849282e | 2 + ...25bfd3ccf7e4e4b23daf2a97ba70c8401553642f48 | 2 + ...1d994f2905bb71714e6a271f511d713b539ea5faa1 | 2 + ...8a23d78e0d42979ba4c5568f3f22f3706c51c1ce6d | 2 + ...f3bba16579ac92557d550cc71542bfcaf043a50b24 | 2 + ...f6e01cbd74ce3aa119179d5ae3e0664f3a2adb7d28 | 61 ++++ ...43cb88186aa541187fff7c1cc8a4aa17e59a9f4123 | 2 + ...56faa82c6b8fe96840ff4b6b7e9962a2d855843a0b | 2 + ...8e1b1ae1008c9a5b9db38ec766ea802895a76e4307 | 2 + ...7f462e1e5c139769d03322ad74b43cb87b566cc157 | 2 + ...c420307ffde69ba361a329061e7673fb4c234c7b6a | 2 + ...9e3b810098c4690cd40bc5ffc72f86cb09ad98cf96 | 2 + ...82f6fa7485978c0946fe5ff69b1c230977445fd6ca | 2 + ...6b37b27ff2d2fe4c1ca4535e5bc4f05c46d38584c7 | 2 + ...c8996fb92427ae41e4649b934ca495991b7852b855 | 2 + ...f83f1c79b2f590a0112c137ae6c20aa65b6b73b5cf | 2 + ...967837053806683b5b81e9b665ce02d734002e7b77 | 2 + hacker-blog/404.md | 6 + hacker-blog/README.md | 109 +++++++ hacker-blog/_config.yml | 32 ++ hacker-blog/_includes/analytics.html | 8 + hacker-blog/_includes/footer.html | 9 + hacker-blog/_includes/head.html | 11 + hacker-blog/_includes/header.html | 11 + hacker-blog/_includes/links.html | 4 + hacker-blog/_layouts/default.html | 42 +++ hacker-blog/_layouts/page.html | 7 + hacker-blog/_layouts/post.html | 9 + .../_posts/2017-12-10-Another-Sample-Page.md | 124 ++++++++ .../_posts/2017-12-11-One-More-Sample-Page.md | 124 ++++++++ hacker-blog/_posts/2017-12-12-Sample-Page.md | 124 ++++++++ .../2018-01-06-Yet-Another-Sample-Page.md | 124 ++++++++ hacker-blog/_sass/_default_colors.scss | 19 ++ hacker-blog/_sass/base.scss | 273 +++++++++++++++++ hacker-blog/_sass/rouge-base16-dark.scss | 87 ++++++ hacker-blog/about.md | 6 + hacker-blog/archive.md | 38 +++ hacker-blog/assets/bkg.png | Bin 0 -> 1218 bytes hacker-blog/assets/bullet.png | Bin 0 -> 603 bytes hacker-blog/atom.xml | 27 ++ hacker-blog/contact.md | 6 + hacker-blog/css/main.scss | 4 + hacker-blog/index.html | 13 + hacker-blog/license.md | 116 +++++++ hacker-blog/robots.txt | 2 + 63 files changed, 2829 insertions(+), 1 deletion(-) create mode 100644 blog/_site/404.html create mode 100644 blog/_site/a-new-post-for-paging.html create mode 100644 blog/_site/about/index.html create mode 100644 blog/_site/assets/main.css create mode 100644 blog/_site/assets/main.css.map create mode 100644 blog/_site/assets/minima-social-icons.svg create mode 100644 blog/_site/atom.xml create mode 100644 blog/_site/css/main.scss create mode 100644 blog/_site/feed.xml create mode 100644 blog/_site/how-to-write-a-blog.html create mode 100644 blog/_site/index.html create mode 100644 blog/_site/page/2/index.html create mode 100644 blog/_site/welcome-to-jekyll.html create mode 100644 blog/_site/welcome.html create mode 100644 hacker-blog/.gitignore create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/1e/e20f1271c40bfebf581515340fa488d49c078189d96b39aa189cf5cb40f9bf create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2b/5c3d26721ae9c350cf3009318b626f0fc8a90b4a2ac0ca8099c05aa849282e create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/3d/730aaebe7b6f857345a525bfd3ccf7e4e4b23daf2a97ba70c8401553642f48 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/4e/fca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/50/f3cbf2d4d9357644182f8a23d78e0d42979ba4c5568f3f22f3706c51c1ce6d create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/54/6d14573f15daebe4e8bbf3bba16579ac92557d550cc71542bfcaf043a50b24 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/59/c142207bdf020fdc0c96f6e01cbd74ce3aa119179d5ae3e0664f3a2adb7d28 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/66/f4804ee23ddc092d1bae43cb88186aa541187fff7c1cc8a4aa17e59a9f4123 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/6b/3c238ebcf1f3c07cf0e556faa82c6b8fe96840ff4b6b7e9962a2d855843a0b create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/75/60b58feba4f24e1983438e1b1ae1008c9a5b9db38ec766ea802895a76e4307 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/81/c370f80f9d5c9142be1f7f462e1e5c139769d03322ad74b43cb87b566cc157 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/88/9a96485fd261b1ba7132c420307ffde69ba361a329061e7673fb4c234c7b6a create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/95/9e5b73cd08522273f2279e3b810098c4690cd40bc5ffc72f86cb09ad98cf96 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/9a/44c08b0f3a0802d2b4ff82f6fa7485978c0946fe5ff69b1c230977445fd6ca create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/44f3d7066b48f201b0ae6b37b27ff2d2fe4c1ca4535e5bc4f05c46d38584c7 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e9/05c0c04250b289103305f83f1c79b2f590a0112c137ae6c20aa65b6b73b5cf create mode 100644 hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f1/49ca1a9f6fdc96c49d03967837053806683b5b81e9b665ce02d734002e7b77 create mode 100644 hacker-blog/404.md create mode 100644 hacker-blog/README.md create mode 100644 hacker-blog/_config.yml create mode 100644 hacker-blog/_includes/analytics.html create mode 100644 hacker-blog/_includes/footer.html create mode 100644 hacker-blog/_includes/head.html create mode 100644 hacker-blog/_includes/header.html create mode 100644 hacker-blog/_includes/links.html create mode 100644 hacker-blog/_layouts/default.html create mode 100644 hacker-blog/_layouts/page.html create mode 100644 hacker-blog/_layouts/post.html create mode 100644 hacker-blog/_posts/2017-12-10-Another-Sample-Page.md create mode 100644 hacker-blog/_posts/2017-12-11-One-More-Sample-Page.md create mode 100644 hacker-blog/_posts/2017-12-12-Sample-Page.md create mode 100644 hacker-blog/_posts/2018-01-06-Yet-Another-Sample-Page.md create mode 100644 hacker-blog/_sass/_default_colors.scss create mode 100644 hacker-blog/_sass/base.scss create mode 100644 hacker-blog/_sass/rouge-base16-dark.scss create mode 100644 hacker-blog/about.md create mode 100644 hacker-blog/archive.md create mode 100644 hacker-blog/assets/bkg.png create mode 100644 hacker-blog/assets/bullet.png create mode 100644 hacker-blog/atom.xml create mode 100644 hacker-blog/contact.md create mode 100644 hacker-blog/css/main.scss create mode 100644 hacker-blog/index.html create mode 100644 hacker-blog/license.md create mode 100644 hacker-blog/robots.txt diff --git a/blog/.gitignore b/blog/.gitignore index f40fbd8..92bcfd1 100644 --- a/blog/.gitignore +++ b/blog/.gitignore @@ -1,4 +1,3 @@ -_site .sass-cache .jekyll-cache .jekyll-metadata diff --git a/blog/_site/404.html b/blog/_site/404.html new file mode 100644 index 0000000..d7339c7 --- /dev/null +++ b/blog/_site/404.html @@ -0,0 +1,84 @@ + + + + + +Blog | I never had a policy; I have just tried to do my very best each and every day. Abraham Lincoln + + + + + + + + + + + + +
+
+ + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
+ +
+
+ + + diff --git a/blog/_site/a-new-post-for-paging.html b/blog/_site/a-new-post-for-paging.html new file mode 100644 index 0000000..cd6db0e --- /dev/null +++ b/blog/_site/a-new-post-for-paging.html @@ -0,0 +1,71 @@ + + + + + +New post for paging | Blog + + + + + + + + + + + + + + +
+
+
+

New post for paging

+ +

This is a new post for paging

+ +
+
+
+ + + diff --git a/blog/_site/about/index.html b/blog/_site/about/index.html new file mode 100644 index 0000000..44fc6cd --- /dev/null +++ b/blog/_site/about/index.html @@ -0,0 +1,76 @@ + + + + + +About | Blog + + + + + + + + + + + + +
+
+
+

This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at jekyllrb.com

+ +

You can find the source code for Minima at GitHub: +jekyll / +minima

+ +

You can find the source code for Jekyll at GitHub: +jekyll / +jekyll

+ + +
+
+
+ + + diff --git a/blog/_site/assets/main.css b/blog/_site/assets/main.css new file mode 100644 index 0000000..47e7174 --- /dev/null +++ b/blog/_site/assets/main.css @@ -0,0 +1,285 @@ +/** Reset some basic elements */ +body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, dl, dd, ol, ul, figure { margin: 0; padding: 0; } + +/** Basic styling */ +body { font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; color: #111; background-color: #fdfdfd; -webkit-text-size-adjust: 100%; -webkit-font-feature-settings: "kern" 1; -moz-font-feature-settings: "kern" 1; -o-font-feature-settings: "kern" 1; font-feature-settings: "kern" 1; font-kerning: normal; display: flex; min-height: 100vh; flex-direction: column; } + +/** Set `margin-bottom` to maintain vertical rhythm */ +h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, .highlight { margin-bottom: 15px; } + +/** `main` element */ +main { display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */ } + +/** Images */ +img { max-width: 100%; vertical-align: middle; } + +/** Figures */ +figure > img { display: block; } + +figcaption { font-size: 14px; } + +/** Lists */ +ul, ol { margin-left: 30px; } + +li > ul, li > ol { margin-bottom: 0; } + +/** Headings */ +h1, h2, h3, h4, h5, h6 { font-weight: 400; } + +/** Links */ +a { color: #2a7ae2; text-decoration: none; } + +a:visited { color: #1756a9; } + +a:hover { color: #111; text-decoration: underline; } + +.social-media-list a:hover { text-decoration: none; } + +.social-media-list a:hover .username { text-decoration: underline; } + +/** Blockquotes */ +blockquote { color: #828282; border-left: 4px solid #e8e8e8; padding-left: 15px; font-size: 18px; letter-spacing: -1px; font-style: italic; } + +blockquote > :last-child { margin-bottom: 0; } + +/** Code formatting */ +pre, code { font-size: 15px; border: 1px solid #e8e8e8; border-radius: 3px; background-color: #eef; } + +code { padding: 1px 5px; } + +pre { padding: 8px 12px; overflow-x: auto; } + +pre > code { border: 0; padding-right: 0; padding-left: 0; } + +/** Wrapper */ +.wrapper { max-width: -webkit-calc(800px - (30px * 2)); max-width: calc(800px - (30px * 2)); margin-right: auto; margin-left: auto; padding-right: 30px; padding-left: 30px; } + +@media screen and (max-width: 800px) { .wrapper { max-width: -webkit-calc(800px - (30px)); max-width: calc(800px - (30px)); padding-right: 15px; padding-left: 15px; } } + +/** Clearfix */ +.wrapper:after, .footer-col-wrapper:after { content: ""; display: table; clear: both; } + +/** Icons */ +.svg-icon { width: 16px; height: 16px; display: inline-block; fill: #828282; padding-right: 5px; vertical-align: text-top; } + +.social-media-list li + li { padding-top: 5px; } + +/** Tables */ +table { margin-bottom: 30px; width: 100%; text-align: left; color: #3f3f3f; border-collapse: collapse; border: 1px solid #e8e8e8; } + +table tr:nth-child(even) { background-color: #f7f7f7; } + +table th, table td { padding: 10px 15px; } + +table th { background-color: #f0f0f0; border: 1px solid #dedede; border-bottom-color: #c9c9c9; } + +table td { border: 1px solid #e8e8e8; } + +/** Site header */ +.site-header { border-top: 5px solid #424242; border-bottom: 1px solid #e8e8e8; min-height: 55.95px; position: relative; } + +.site-title { font-size: 26px; font-weight: 300; line-height: 54px; letter-spacing: -1px; margin-bottom: 0; float: left; } + +.site-title, .site-title:visited { color: #424242; } + +.site-nav { float: right; line-height: 54px; } + +.site-nav .nav-trigger { display: none; } + +.site-nav .menu-icon { display: none; } + +.site-nav .page-link { color: #111; line-height: 1.5; } + +.site-nav .page-link:not(:last-child) { margin-right: 20px; } + +@media screen and (max-width: 600px) { .site-nav { position: absolute; top: 9px; right: 15px; background-color: #fdfdfd; border: 1px solid #e8e8e8; border-radius: 5px; text-align: right; } + .site-nav label[for="nav-trigger"] { display: block; float: right; width: 36px; height: 36px; z-index: 2; cursor: pointer; } + .site-nav .menu-icon { display: block; float: right; width: 36px; height: 26px; line-height: 0; padding-top: 10px; text-align: center; } + .site-nav .menu-icon > svg { fill: #424242; } + .site-nav input ~ .trigger { clear: both; display: none; } + .site-nav input:checked ~ .trigger { display: block; padding-bottom: 5px; } + .site-nav .page-link { display: block; padding: 5px 10px; margin-left: 20px; } + .site-nav .page-link:not(:last-child) { margin-right: 0; } } + +/** Site footer */ +.site-footer { border-top: 1px solid #e8e8e8; padding: 30px 0; } + +.footer-heading { font-size: 18px; margin-bottom: 15px; } + +.contact-list, .social-media-list { list-style: none; margin-left: 0; } + +.footer-col-wrapper { font-size: 15px; color: #828282; margin-left: -15px; } + +.footer-col { float: left; margin-bottom: 15px; padding-left: 15px; } + +.footer-col-1 { width: -webkit-calc(35% - (30px / 2)); width: calc(35% - (30px / 2)); } + +.footer-col-2 { width: -webkit-calc(20% - (30px / 2)); width: calc(20% - (30px / 2)); } + +.footer-col-3 { width: -webkit-calc(45% - (30px / 2)); width: calc(45% - (30px / 2)); } + +@media screen and (max-width: 800px) { .footer-col-1, .footer-col-2 { width: -webkit-calc(50% - (30px / 2)); width: calc(50% - (30px / 2)); } + .footer-col-3 { width: -webkit-calc(100% - (30px / 2)); width: calc(100% - (30px / 2)); } } + +@media screen and (max-width: 600px) { .footer-col { float: none; width: -webkit-calc(100% - (30px / 2)); width: calc(100% - (30px / 2)); } } + +/** Page content */ +.page-content { padding: 30px 0; flex: 1; } + +.page-heading { font-size: 32px; } + +.post-list-heading { font-size: 28px; } + +.post-list { margin-left: 0; list-style: none; } + +.post-list > li { margin-bottom: 30px; } + +.post-meta { font-size: 14px; color: #828282; } + +.post-link { display: block; font-size: 24px; } + +/** Posts */ +.post-header { margin-bottom: 30px; } + +.post-title { font-size: 42px; letter-spacing: -1px; line-height: 1; } + +@media screen and (max-width: 800px) { .post-title { font-size: 36px; } } + +.post-content { margin-bottom: 30px; } + +.post-content h2 { font-size: 32px; } + +@media screen and (max-width: 800px) { .post-content h2 { font-size: 28px; } } + +.post-content h3 { font-size: 26px; } + +@media screen and (max-width: 800px) { .post-content h3 { font-size: 22px; } } + +.post-content h4 { font-size: 20px; } + +@media screen and (max-width: 800px) { .post-content h4 { font-size: 18px; } } + +/** Syntax highlighting styles */ +.highlight { background: #fff; } + +.highlighter-rouge .highlight { background: #eef; } + +.highlight .c { color: #998; font-style: italic; } + +.highlight .err { color: #a61717; background-color: #e3d2d2; } + +.highlight .k { font-weight: bold; } + +.highlight .o { font-weight: bold; } + +.highlight .cm { color: #998; font-style: italic; } + +.highlight .cp { color: #999; font-weight: bold; } + +.highlight .c1 { color: #998; font-style: italic; } + +.highlight .cs { color: #999; font-weight: bold; font-style: italic; } + +.highlight .gd { color: #000; background-color: #fdd; } + +.highlight .gd .x { color: #000; background-color: #faa; } + +.highlight .ge { font-style: italic; } + +.highlight .gr { color: #a00; } + +.highlight .gh { color: #999; } + +.highlight .gi { color: #000; background-color: #dfd; } + +.highlight .gi .x { color: #000; background-color: #afa; } + +.highlight .go { color: #888; } + +.highlight .gp { color: #555; } + +.highlight .gs { font-weight: bold; } + +.highlight .gu { color: #aaa; } + +.highlight .gt { color: #a00; } + +.highlight .kc { font-weight: bold; } + +.highlight .kd { font-weight: bold; } + +.highlight .kp { font-weight: bold; } + +.highlight .kr { font-weight: bold; } + +.highlight .kt { color: #458; font-weight: bold; } + +.highlight .m { color: #099; } + +.highlight .s { color: #d14; } + +.highlight .na { color: #008080; } + +.highlight .nb { color: #0086B3; } + +.highlight .nc { color: #458; font-weight: bold; } + +.highlight .no { color: #008080; } + +.highlight .ni { color: #800080; } + +.highlight .ne { color: #900; font-weight: bold; } + +.highlight .nf { color: #900; font-weight: bold; } + +.highlight .nn { color: #555; } + +.highlight .nt { color: #000080; } + +.highlight .nv { color: #008080; } + +.highlight .ow { font-weight: bold; } + +.highlight .w { color: #bbb; } + +.highlight .mf { color: #099; } + +.highlight .mh { color: #099; } + +.highlight .mi { color: #099; } + +.highlight .mo { color: #099; } + +.highlight .sb { color: #d14; } + +.highlight .sc { color: #d14; } + +.highlight .sd { color: #d14; } + +.highlight .s2 { color: #d14; } + +.highlight .se { color: #d14; } + +.highlight .sh { color: #d14; } + +.highlight .si { color: #d14; } + +.highlight .sx { color: #d14; } + +.highlight .sr { color: #009926; } + +.highlight .s1 { color: #d14; } + +.highlight .ss { color: #990073; } + +.highlight .bp { color: #999; } + +.highlight .vc { color: #008080; } + +.highlight .vg { color: #008080; } + +.highlight .vi { color: #008080; } + +.highlight .il { color: #099; } + +/*# sourceMappingURL=main.css.map */ \ No newline at end of file diff --git a/blog/_site/assets/main.css.map b/blog/_site/assets/main.css.map new file mode 100644 index 0000000..3bb3599 --- /dev/null +++ b/blog/_site/assets/main.css.map @@ -0,0 +1,20 @@ +{ + "version": 3, + "file": "main.css", + "sources": [ + "main.scss", + "C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minima-2.5.1/_sass/minima.scss", + "C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minima-2.5.1/_sass/minima/_base.scss", + "C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minima-2.5.1/_sass/minima/_layout.scss", + "C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minima-2.5.1/_sass/minima/_syntax-highlighting.scss" + ], + "sourcesContent": [ + "@import \"minima\";\n", + "@charset \"utf-8\";\n\n// Define defaults for each variable.\n\n$base-font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !default;\n$base-font-size: 16px !default;\n$base-font-weight: 400 !default;\n$small-font-size: $base-font-size * 0.875 !default;\n$base-line-height: 1.5 !default;\n\n$spacing-unit: 30px !default;\n\n$text-color: #111 !default;\n$background-color: #fdfdfd !default;\n$brand-color: #2a7ae2 !default;\n\n$grey-color: #828282 !default;\n$grey-color-light: lighten($grey-color, 40%) !default;\n$grey-color-dark: darken($grey-color, 25%) !default;\n\n$table-text-align: left !default;\n\n// Width of the content area\n$content-width: 800px !default;\n\n$on-palm: 600px !default;\n$on-laptop: 800px !default;\n\n// Use media queries like this:\n// @include media-query($on-palm) {\n// .wrapper {\n// padding-right: $spacing-unit / 2;\n// padding-left: $spacing-unit / 2;\n// }\n// }\n@mixin media-query($device) {\n @media screen and (max-width: $device) {\n @content;\n }\n}\n\n@mixin relative-font-size($ratio) {\n font-size: $base-font-size * $ratio;\n}\n\n// Import partials.\n@import\n \"minima/base\",\n \"minima/layout\",\n \"minima/syntax-highlighting\"\n;\n", + "/**\n * Reset some basic elements\n */\nbody, h1, h2, h3, h4, h5, h6,\np, blockquote, pre, hr,\ndl, dd, ol, ul, figure {\n margin: 0;\n padding: 0;\n}\n\n\n\n/**\n * Basic styling\n */\nbody {\n font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;\n color: $text-color;\n background-color: $background-color;\n -webkit-text-size-adjust: 100%;\n -webkit-font-feature-settings: \"kern\" 1;\n -moz-font-feature-settings: \"kern\" 1;\n -o-font-feature-settings: \"kern\" 1;\n font-feature-settings: \"kern\" 1;\n font-kerning: normal;\n display: flex;\n min-height: 100vh;\n flex-direction: column;\n}\n\n\n\n/**\n * Set `margin-bottom` to maintain vertical rhythm\n */\nh1, h2, h3, h4, h5, h6,\np, blockquote, pre,\nul, ol, dl, figure,\n%vertical-rhythm {\n margin-bottom: $spacing-unit / 2;\n}\n\n\n\n/**\n * `main` element\n */\nmain {\n display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */\n}\n\n\n\n/**\n * Images\n */\nimg {\n max-width: 100%;\n vertical-align: middle;\n}\n\n\n\n/**\n * Figures\n */\nfigure > img {\n display: block;\n}\n\nfigcaption {\n font-size: $small-font-size;\n}\n\n\n\n/**\n * Lists\n */\nul, ol {\n margin-left: $spacing-unit;\n}\n\nli {\n > ul,\n > ol {\n margin-bottom: 0;\n }\n}\n\n\n\n/**\n * Headings\n */\nh1, h2, h3, h4, h5, h6 {\n font-weight: $base-font-weight;\n}\n\n\n\n/**\n * Links\n */\na {\n color: $brand-color;\n text-decoration: none;\n\n &:visited {\n color: darken($brand-color, 15%);\n }\n\n &:hover {\n color: $text-color;\n text-decoration: underline;\n }\n\n .social-media-list &:hover {\n text-decoration: none;\n\n .username {\n text-decoration: underline;\n }\n }\n}\n\n\n/**\n * Blockquotes\n */\nblockquote {\n color: $grey-color;\n border-left: 4px solid $grey-color-light;\n padding-left: $spacing-unit / 2;\n @include relative-font-size(1.125);\n letter-spacing: -1px;\n font-style: italic;\n\n > :last-child {\n margin-bottom: 0;\n }\n}\n\n\n\n/**\n * Code formatting\n */\npre,\ncode {\n @include relative-font-size(0.9375);\n border: 1px solid $grey-color-light;\n border-radius: 3px;\n background-color: #eef;\n}\n\ncode {\n padding: 1px 5px;\n}\n\npre {\n padding: 8px 12px;\n overflow-x: auto;\n\n > code {\n border: 0;\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n\n\n/**\n * Wrapper\n */\n.wrapper {\n max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));\n max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));\n margin-right: auto;\n margin-left: auto;\n padding-right: $spacing-unit;\n padding-left: $spacing-unit;\n @extend %clearfix;\n\n @include media-query($on-laptop) {\n max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));\n max-width: calc(#{$content-width} - (#{$spacing-unit}));\n padding-right: $spacing-unit / 2;\n padding-left: $spacing-unit / 2;\n }\n}\n\n\n\n/**\n * Clearfix\n */\n%clearfix:after {\n content: \"\";\n display: table;\n clear: both;\n}\n\n\n\n/**\n * Icons\n */\n\n.svg-icon {\n width: 16px;\n height: 16px;\n display: inline-block;\n fill: #{$grey-color};\n padding-right: 5px;\n vertical-align: text-top;\n}\n\n.social-media-list {\n li + li {\n padding-top: 5px;\n }\n}\n\n\n\n/**\n * Tables\n */\ntable {\n margin-bottom: $spacing-unit;\n width: 100%;\n text-align: $table-text-align;\n color: lighten($text-color, 18%);\n border-collapse: collapse;\n border: 1px solid $grey-color-light;\n tr {\n &:nth-child(even) {\n background-color: lighten($grey-color-light, 6%);\n }\n }\n th, td {\n padding: ($spacing-unit / 3) ($spacing-unit / 2);\n }\n th {\n background-color: lighten($grey-color-light, 3%);\n border: 1px solid darken($grey-color-light, 4%);\n border-bottom-color: darken($grey-color-light, 12%);\n }\n td {\n border: 1px solid $grey-color-light;\n }\n}\n", + "/**\n * Site header\n */\n.site-header {\n border-top: 5px solid $grey-color-dark;\n border-bottom: 1px solid $grey-color-light;\n min-height: $spacing-unit * 1.865;\n\n // Positioning context for the mobile navigation icon\n position: relative;\n}\n\n.site-title {\n @include relative-font-size(1.625);\n font-weight: 300;\n line-height: $base-line-height * $base-font-size * 2.25;\n letter-spacing: -1px;\n margin-bottom: 0;\n float: left;\n\n &,\n &:visited {\n color: $grey-color-dark;\n }\n}\n\n.site-nav {\n float: right;\n line-height: $base-line-height * $base-font-size * 2.25;\n\n .nav-trigger {\n display: none;\n }\n\n .menu-icon {\n display: none;\n }\n\n .page-link {\n color: $text-color;\n line-height: $base-line-height;\n\n // Gaps between nav items, but not on the last one\n &:not(:last-child) {\n margin-right: 20px;\n }\n }\n\n @include media-query($on-palm) {\n position: absolute;\n top: 9px;\n right: $spacing-unit / 2;\n background-color: $background-color;\n border: 1px solid $grey-color-light;\n border-radius: 5px;\n text-align: right;\n\n label[for=\"nav-trigger\"] {\n display: block;\n float: right;\n width: 36px;\n height: 36px;\n z-index: 2;\n cursor: pointer;\n }\n\n .menu-icon {\n display: block;\n float: right;\n width: 36px;\n height: 26px;\n line-height: 0;\n padding-top: 10px;\n text-align: center;\n\n > svg {\n fill: $grey-color-dark;\n }\n }\n\n input ~ .trigger {\n clear: both;\n display: none;\n }\n\n input:checked ~ .trigger {\n display: block;\n padding-bottom: 5px;\n }\n\n .page-link {\n display: block;\n padding: 5px 10px;\n\n &:not(:last-child) {\n margin-right: 0;\n }\n margin-left: 20px;\n }\n }\n}\n\n\n\n/**\n * Site footer\n */\n.site-footer {\n border-top: 1px solid $grey-color-light;\n padding: $spacing-unit 0;\n}\n\n.footer-heading {\n @include relative-font-size(1.125);\n margin-bottom: $spacing-unit / 2;\n}\n\n.contact-list,\n.social-media-list {\n list-style: none;\n margin-left: 0;\n}\n\n.footer-col-wrapper {\n @include relative-font-size(0.9375);\n color: $grey-color;\n margin-left: -$spacing-unit / 2;\n @extend %clearfix;\n}\n\n.footer-col {\n float: left;\n margin-bottom: $spacing-unit / 2;\n padding-left: $spacing-unit / 2;\n}\n\n.footer-col-1 {\n width: -webkit-calc(35% - (#{$spacing-unit} / 2));\n width: calc(35% - (#{$spacing-unit} / 2));\n}\n\n.footer-col-2 {\n width: -webkit-calc(20% - (#{$spacing-unit} / 2));\n width: calc(20% - (#{$spacing-unit} / 2));\n}\n\n.footer-col-3 {\n width: -webkit-calc(45% - (#{$spacing-unit} / 2));\n width: calc(45% - (#{$spacing-unit} / 2));\n}\n\n@include media-query($on-laptop) {\n .footer-col-1,\n .footer-col-2 {\n width: -webkit-calc(50% - (#{$spacing-unit} / 2));\n width: calc(50% - (#{$spacing-unit} / 2));\n }\n\n .footer-col-3 {\n width: -webkit-calc(100% - (#{$spacing-unit} / 2));\n width: calc(100% - (#{$spacing-unit} / 2));\n }\n}\n\n@include media-query($on-palm) {\n .footer-col {\n float: none;\n width: -webkit-calc(100% - (#{$spacing-unit} / 2));\n width: calc(100% - (#{$spacing-unit} / 2));\n }\n}\n\n\n\n/**\n * Page content\n */\n.page-content {\n padding: $spacing-unit 0;\n flex: 1;\n}\n\n.page-heading {\n @include relative-font-size(2);\n}\n\n.post-list-heading {\n @include relative-font-size(1.75);\n}\n\n.post-list {\n margin-left: 0;\n list-style: none;\n\n > li {\n margin-bottom: $spacing-unit;\n }\n}\n\n.post-meta {\n font-size: $small-font-size;\n color: $grey-color;\n}\n\n.post-link {\n display: block;\n @include relative-font-size(1.5);\n}\n\n\n\n/**\n * Posts\n */\n.post-header {\n margin-bottom: $spacing-unit;\n}\n\n.post-title {\n @include relative-font-size(2.625);\n letter-spacing: -1px;\n line-height: 1;\n\n @include media-query($on-laptop) {\n @include relative-font-size(2.25);\n }\n}\n\n.post-content {\n margin-bottom: $spacing-unit;\n\n h2 {\n @include relative-font-size(2);\n\n @include media-query($on-laptop) {\n @include relative-font-size(1.75);\n }\n }\n\n h3 {\n @include relative-font-size(1.625);\n\n @include media-query($on-laptop) {\n @include relative-font-size(1.375);\n }\n }\n\n h4 {\n @include relative-font-size(1.25);\n\n @include media-query($on-laptop) {\n @include relative-font-size(1.125);\n }\n }\n}\n", + "/**\n * Syntax highlighting styles\n */\n.highlight {\n background: #fff;\n @extend %vertical-rhythm;\n\n .highlighter-rouge & {\n background: #eef;\n }\n\n .c { color: #998; font-style: italic } // Comment\n .err { color: #a61717; background-color: #e3d2d2 } // Error\n .k { font-weight: bold } // Keyword\n .o { font-weight: bold } // Operator\n .cm { color: #998; font-style: italic } // Comment.Multiline\n .cp { color: #999; font-weight: bold } // Comment.Preproc\n .c1 { color: #998; font-style: italic } // Comment.Single\n .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special\n .gd { color: #000; background-color: #fdd } // Generic.Deleted\n .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific\n .ge { font-style: italic } // Generic.Emph\n .gr { color: #a00 } // Generic.Error\n .gh { color: #999 } // Generic.Heading\n .gi { color: #000; background-color: #dfd } // Generic.Inserted\n .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific\n .go { color: #888 } // Generic.Output\n .gp { color: #555 } // Generic.Prompt\n .gs { font-weight: bold } // Generic.Strong\n .gu { color: #aaa } // Generic.Subheading\n .gt { color: #a00 } // Generic.Traceback\n .kc { font-weight: bold } // Keyword.Constant\n .kd { font-weight: bold } // Keyword.Declaration\n .kp { font-weight: bold } // Keyword.Pseudo\n .kr { font-weight: bold } // Keyword.Reserved\n .kt { color: #458; font-weight: bold } // Keyword.Type\n .m { color: #099 } // Literal.Number\n .s { color: #d14 } // Literal.String\n .na { color: #008080 } // Name.Attribute\n .nb { color: #0086B3 } // Name.Builtin\n .nc { color: #458; font-weight: bold } // Name.Class\n .no { color: #008080 } // Name.Constant\n .ni { color: #800080 } // Name.Entity\n .ne { color: #900; font-weight: bold } // Name.Exception\n .nf { color: #900; font-weight: bold } // Name.Function\n .nn { color: #555 } // Name.Namespace\n .nt { color: #000080 } // Name.Tag\n .nv { color: #008080 } // Name.Variable\n .ow { font-weight: bold } // Operator.Word\n .w { color: #bbb } // Text.Whitespace\n .mf { color: #099 } // Literal.Number.Float\n .mh { color: #099 } // Literal.Number.Hex\n .mi { color: #099 } // Literal.Number.Integer\n .mo { color: #099 } // Literal.Number.Oct\n .sb { color: #d14 } // Literal.String.Backtick\n .sc { color: #d14 } // Literal.String.Char\n .sd { color: #d14 } // Literal.String.Doc\n .s2 { color: #d14 } // Literal.String.Double\n .se { color: #d14 } // Literal.String.Escape\n .sh { color: #d14 } // Literal.String.Heredoc\n .si { color: #d14 } // Literal.String.Interpol\n .sx { color: #d14 } // Literal.String.Other\n .sr { color: #009926 } // Literal.String.Regex\n .s1 { color: #d14 } // Literal.String.Single\n .ss { color: #990073 } // Literal.String.Symbol\n .bp { color: #999 } // Name.Builtin.Pseudo\n .vc { color: #008080 } // Name.Variable.Class\n .vg { color: #008080 } // Name.Variable.Global\n .vi { color: #008080 } // Name.Variable.Instance\n .il { color: #099 } // Literal.Number.Integer.Long\n}\n" + ], + "names": [], + "mappings": "AEAA,gCAEG;AACH,AAAA,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAC5B,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,EAAE,EACtB,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,EACrB,MAAM,EAAE,CAAC,EACT,OAAO,EAAE,CAAC,GACX;;AAID,oBAEG;AACH,AAAA,IAAI,CAAC,EACH,IAAI,EDVa,GAAG,CCUI,QAAuC,CDZ9C,aAAa,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,ECa9J,KAAK,EDLY,IAAI,ECMrB,gBAAgB,EDLC,OAAO,ECMxB,wBAAwB,EAAE,IAAI,EAC9B,6BAA6B,EAAE,QAAQ,EACpC,0BAA0B,EAAE,QAAQ,EAClC,wBAAwB,EAAE,QAAQ,EAC/B,qBAAqB,EAAE,QAAQ,EACvC,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,IAAI,EACb,UAAU,EAAE,KAAK,EACjB,cAAc,EAAE,MAAM,GACvB;;AAID,sDAEG;AACH,AAAA,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EACtB,CAAC,EAAE,UAAU,EAAE,GAAG,EAClB,EAAE,EAAE,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GAAG,CAAI,EAAE,KAAK,EAAE,IAAK,GAAE;;AA1DzB,AA2DE,UA3DQ,CA2DR,GAAG,CAAI,EAAE,KAAK,EAAE,OAAQ,GAAE;;AA3D5B,AA4DE,UA5DQ,CA4DR,GAAG,CAAI,EAAE,KAAK,EAAE,IAAK,GAAE;;AA5DzB,AA6DE,UA7DQ,CA6DR,GAAG,CAAI,EAAE,KAAK,EAAE,OAAQ,GAAE;;AA7D5B,AA8DE,UA9DQ,CA8DR,GAAG,CAAI,EAAE,KAAK,EAAE,IAAK,GAAE;;AA9DzB,AA+DE,UA/DQ,CA+DR,GAAG,CAAI,EAAE,KAAK,EAAE,OAAQ,GAAE;;AA/D5B,AAgEE,UAhEQ,CAgER,GAAG,CAAI,EAAE,KAAK,EAAE,OAAQ,GAAE;;AAhE5B,AAiEE,UAjEQ,CAiER,GAAG,CAAI,EAAE,KAAK,EAAE,OAAQ,GAAE;;AAjE5B,AAkEE,UAlEQ,CAkER,GAAG,CAAI,EAAE,KAAK,EAAE,IAAK,GAAE" +} \ No newline at end of file diff --git a/blog/_site/assets/minima-social-icons.svg b/blog/_site/assets/minima-social-icons.svg new file mode 100644 index 0000000..fa7399f --- /dev/null +++ b/blog/_site/assets/minima-social-icons.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/blog/_site/atom.xml b/blog/_site/atom.xml new file mode 100644 index 0000000..35416e2 --- /dev/null +++ b/blog/_site/atom.xml @@ -0,0 +1,122 @@ + + + + Blog + I never had a policy; I have just tried to do my very best each and every day. Abraham Lincoln + http://localhost:4000 + + + + + + + + + Welcome! + <h1 id="welcome">Welcome</h1> +<p>ABC asndsad asd</p> + + Mon, 30 Dec 2019 15:04:04 +0700 + http://localhost:4000//welcome + + http://localhost:4000/welcome + + + + Welcome to Jekyll! + <p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> + +<p>Jekyll requires blog post files to be named according to the following format:</p> + +<p><code class="highlighter-rouge">YEAR-MONTH-DAY-title.MARKUP</code></p> + +<p>Where <code class="highlighter-rouge">YEAR</code> is a four-digit number, <code class="highlighter-rouge">MONTH</code> and <code class="highlighter-rouge">DAY</code> are both two-digit numbers, and <code class="highlighter-rouge">MARKUP</code> is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.</p> + +<p>Jekyll also offers powerful support for code snippets:</p> + +<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span> + <span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span> +<span class="k">end</span> +<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span> +<span class="c1">#=&gt; prints 'Hi, Tom' to STDOUT.</span></code></pre></figure> + +<p>Check out the <a href="https://jekyllrb.com/docs/home">Jekyll docs</a> for more info on how to get the most out of Jekyll. File all bugs/feature requests at <a href="https://github.com/jekyll/jekyll">Jekyll’s GitHub repo</a>. If you have questions, you can ask them on <a href="https://talk.jekyllrb.com/">Jekyll Talk</a>.</p> + + + Mon, 30 Dec 2019 14:04:04 +0700 + http://localhost:4000//welcome-to-jekyll + + http://localhost:4000/welcome-to-jekyll + + + + New post for paging + <p>This is a new post for paging</p> + + Thu, 21 Nov 2019 08:32:35 +0700 + http://localhost:4000//a-new-post-for-paging + + http://localhost:4000/a-new-post-for-paging + + + + How to write a post in 5 minutes + <p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> + +<p>To add new posts, simply add a file in the <code class="highlighter-rouge">_posts</code> directory that follows the convention <code class="highlighter-rouge">YYYY-MM-DD-name-of-post.ext</code> and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.</p> + +<p>Jekyll also offers powerful support for code snippets:</p> + +<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span> + <span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span> +<span class="k">end</span> +<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span> +<span class="c1">#=&gt; prints 'Hi, Tom' to STDOUT.</span></code></pre></figure> + +<p>Check out the <a href="https://jekyllrb.com/docs/home">Jekyll docs</a> for more info on how to get the most out of Jekyll. File all bugs/feature requests at <a href="https://github.com/jekyll/jekyll">Jekyll’s GitHub repo</a>. If you have questions, you can ask them on <a href="https://talk.jekyllrb.com/">Jekyll Talk</a>.</p> + +<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">show</span> + <span class="vi">@widget</span> <span class="o">=</span> <span class="no">Widget</span><span class="p">(</span><span class="n">params</span><span class="p">[</span><span class="ss">:id</span><span class="p">])</span> + <span class="n">respond_to</span> <span class="k">do</span> <span class="o">|</span><span class="nb">format</span><span class="o">|</span> + <span class="nb">format</span><span class="p">.</span><span class="nf">html</span> <span class="c1"># show.html.erb</span> + <span class="nb">format</span><span class="p">.</span><span class="nf">json</span> <span class="p">{</span> <span class="n">render</span> <span class="ss">json: </span><span class="vi">@widget</span> <span class="p">}</span> + <span class="k">end</span> +<span class="k">end</span></code></pre></figure> + +<ul> + + <li> + <a href="/welcome">Welcome!</a> + <h1 id="welcome">Welcome</h1> +<p>ABC asndsad asd</p> + + </li> + + <li> + <a href="/welcome-to-jekyll">Welcome to Jekyll!</a> + <p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> + + </li> + + <li> + <a href="/a-new-post-for-paging">New post for paging</a> + <p>This is a new post for paging</p> + + </li> + + <li> + <a href="/how-to-write-a-blog">How to write a post in 5 minutes</a> + <p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> + + </li> + +</ul> + + Sun, 20 Oct 2019 08:32:35 +0700 + http://localhost:4000//how-to-write-a-blog + + http://localhost:4000/how-to-write-a-blog + + + + diff --git a/blog/_site/css/main.scss b/blog/_site/css/main.scss new file mode 100644 index 0000000..9acd9cd --- /dev/null +++ b/blog/_site/css/main.scss @@ -0,0 +1 @@ +@import "base"; diff --git a/blog/_site/feed.xml b/blog/_site/feed.xml new file mode 100644 index 0000000..5afe05f --- /dev/null +++ b/blog/_site/feed.xml @@ -0,0 +1,67 @@ +Jekyll2019-12-30T18:10:06+07:00http://localhost:4000/feed.xmlBlogI never had a policy; I have just tried to do my very best each and every day. Abraham LincolnWelcome!2019-12-30T15:04:04+07:002019-12-30T15:04:04+07:00http://localhost:4000/welcome<h1 id="welcome">Welcome</h1> +<p>ABC asndsad asd</p>Welcome ABC asndsad asdWelcome to Jekyll!2019-12-30T14:04:04+07:002019-12-30T14:04:04+07:00http://localhost:4000/welcome-to-jekyll<p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> + +<p>Jekyll requires blog post files to be named according to the following format:</p> + +<p><code class="highlighter-rouge">YEAR-MONTH-DAY-title.MARKUP</code></p> + +<p>Where <code class="highlighter-rouge">YEAR</code> is a four-digit number, <code class="highlighter-rouge">MONTH</code> and <code class="highlighter-rouge">DAY</code> are both two-digit numbers, and <code class="highlighter-rouge">MARKUP</code> is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.</p> + +<p>Jekyll also offers powerful support for code snippets:</p> + +<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span> + <span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span> +<span class="k">end</span> +<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span> +<span class="c1">#=&gt; prints 'Hi, Tom' to STDOUT.</span></code></pre></figure> + +<p>Check out the <a href="https://jekyllrb.com/docs/home">Jekyll docs</a> for more info on how to get the most out of Jekyll. File all bugs/feature requests at <a href="https://github.com/jekyll/jekyll">Jekyll’s GitHub repo</a>. If you have questions, you can ask them on <a href="https://talk.jekyllrb.com/">Jekyll Talk</a>.</p>You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.New post for paging2019-11-21T08:32:35+07:002019-11-21T08:32:35+07:00http://localhost:4000/a-new-post-for-paging<p>This is a new post for paging</p>This is a new post for pagingHow to write a post in 5 minutes2019-10-20T08:32:35+07:002019-10-20T08:32:35+07:00http://localhost:4000/how-to-write-a-blog<p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> + +<p>To add new posts, simply add a file in the <code class="highlighter-rouge">_posts</code> directory that follows the convention <code class="highlighter-rouge">YYYY-MM-DD-name-of-post.ext</code> and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.</p> + +<p>Jekyll also offers powerful support for code snippets:</p> + +<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span> + <span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span> +<span class="k">end</span> +<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span> +<span class="c1">#=&gt; prints 'Hi, Tom' to STDOUT.</span></code></pre></figure> + +<p>Check out the <a href="https://jekyllrb.com/docs/home">Jekyll docs</a> for more info on how to get the most out of Jekyll. File all bugs/feature requests at <a href="https://github.com/jekyll/jekyll">Jekyll’s GitHub repo</a>. If you have questions, you can ask them on <a href="https://talk.jekyllrb.com/">Jekyll Talk</a>.</p> + +<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">show</span> + <span class="vi">@widget</span> <span class="o">=</span> <span class="no">Widget</span><span class="p">(</span><span class="n">params</span><span class="p">[</span><span class="ss">:id</span><span class="p">])</span> + <span class="n">respond_to</span> <span class="k">do</span> <span class="o">|</span><span class="nb">format</span><span class="o">|</span> + <span class="nb">format</span><span class="p">.</span><span class="nf">html</span> <span class="c1"># show.html.erb</span> + <span class="nb">format</span><span class="p">.</span><span class="nf">json</span> <span class="p">{</span> <span class="n">render</span> <span class="ss">json: </span><span class="vi">@widget</span> <span class="p">}</span> + <span class="k">end</span> +<span class="k">end</span></code></pre></figure> + +<ul> + + <li> + <a href="/welcome">Welcome!</a> + <h1 id="welcome">Welcome</h1> +<p>ABC asndsad asd</p> + + </li> + + <li> + <a href="/welcome-to-jekyll">Welcome to Jekyll!</a> + <p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> + + </li> + + <li> + <a href="/a-new-post-for-paging">New post for paging</a> + <p>This is a new post for paging</p> + + </li> + + <li> + <a href="/how-to-write-a-blog">How to write a post in 5 minutes</a> + <p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p> + + </li> + +</ul>You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated. \ No newline at end of file diff --git a/blog/_site/how-to-write-a-blog.html b/blog/_site/how-to-write-a-blog.html new file mode 100644 index 0000000..3083e4d --- /dev/null +++ b/blog/_site/how-to-write-a-blog.html @@ -0,0 +1,120 @@ + + + + + +How to write a post in 5 minutes | Blog + + + + + + + + + + + + + + +
+
+
+

How to write a post in 5 minutes

+ +

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

+ +

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

+ +

Jekyll also offers powerful support for code snippets:

+ +
def print_hi(name)
+  puts "Hi, #{name}"
+end
+print_hi('Tom')
+#=> prints 'Hi, Tom' to STDOUT.
+ +

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.

+ +
def show
+  @widget = Widget(params[:id])
+  respond_to do |format|
+    format.html # show.html.erb
+    format.json { render json: @widget }
+  end
+end
+ +
    + +
  • + Welcome! +

    Welcome

    +

    ABC asndsad asd

    + +
  • + +
  • + Welcome to Jekyll! +

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

    + +
  • + +
  • + New post for paging +

    This is a new post for paging

    + +
  • + +
  • + How to write a post in 5 minutes +

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

    + +
  • + +
+ +
+
+
+ + + diff --git a/blog/_site/index.html b/blog/_site/index.html new file mode 100644 index 0000000..9fcb158 --- /dev/null +++ b/blog/_site/index.html @@ -0,0 +1,106 @@ + + + + + +Blog | I never had a policy; I have just tried to do my very best each and every day. Abraham Lincoln + + + + + + + + + + + + + +
+
+ + +

Welcome!

+

+ 2019-12-30 15:04:04 +0700 +

+
+ Welcome +ABC asndsad asd + +
+ +

Welcome to Jekyll!

+

+ 2019-12-30 14:04:04 +0700 +

+
+ You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when... +
+ +

New post for paging

+

+ 2019-11-21 08:32:35 +0700 +

+
+ This is a new post for paging + +
+ + + + +
+
+ + + diff --git a/blog/_site/page/2/index.html b/blog/_site/page/2/index.html new file mode 100644 index 0000000..bd46d26 --- /dev/null +++ b/blog/_site/page/2/index.html @@ -0,0 +1,89 @@ + + + + + +Page 2 of 2 for Blog | I never had a policy; I have just tried to do my very best each and every day. Abraham Lincoln + + + + + + + + + + + + + +
+
+ + +

How to write a post in 5 minutes

+

+ 2019-10-20 08:32:35 +0700 +

+
+ You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when... +
+ + + + +
+
+ + + diff --git a/blog/_site/welcome-to-jekyll.html b/blog/_site/welcome-to-jekyll.html new file mode 100644 index 0000000..7a3fa8b --- /dev/null +++ b/blog/_site/welcome-to-jekyll.html @@ -0,0 +1,88 @@ + + + + + +Welcome to Jekyll! | Blog + + + + + + + + + + + + + + +
+
+
+

Welcome to Jekyll!

+ +

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

+ +

Jekyll requires blog post files to be named according to the following format:

+ +

YEAR-MONTH-DAY-title.MARKUP

+ +

Where YEAR is a four-digit number, MONTH and DAY are both two-digit numbers, and MARKUP is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.

+ +

Jekyll also offers powerful support for code snippets:

+ +
def print_hi(name)
+  puts "Hi, #{name}"
+end
+print_hi('Tom')
+#=> prints 'Hi, Tom' to STDOUT.
+ +

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.

+ + +
+
+
+ + + diff --git a/blog/_site/welcome.html b/blog/_site/welcome.html new file mode 100644 index 0000000..a669a67 --- /dev/null +++ b/blog/_site/welcome.html @@ -0,0 +1,72 @@ + + + + + +Welcome! | Blog + + + + + + + + + + + + + + +
+
+
+

Welcome!

+ +

Welcome

+

ABC asndsad asd

+ +
+
+
+ + + diff --git a/hacker-blog/.gitignore b/hacker-blog/.gitignore new file mode 100644 index 0000000..badbc02 --- /dev/null +++ b/hacker-blog/.gitignore @@ -0,0 +1,2 @@ +_site +.sass-cache diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 new file mode 100644 index 0000000..f132de9 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 @@ -0,0 +1 @@ +I"{"source"=>".", "destination"=>"./_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:title"}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>true, "unpublished"=>false, "whitelist"=>[], "plugins"=>["jekyll-seo-tag", "jekyll-paginate", "jekyll-sitemap"], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>"/", "show_dir_listing"=>false, "permalink"=>"/:title", "paginate_path"=>"/page/:num/", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[{"scope"=>{"path"=>"", "type"=>"posts"}, "values"=>{"layout"=>"post"}}], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>"1..6", "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "title"=>"Hacker-Blog", "description"=>"A Jekyll Blog Theme For Hackers", "author"=>{"name"=>"SomeHacker", "email"=>"someone@somewebsite.somedomain", "url"=>"https://ashishchaudhary.in/hacker-blog"}, "paginate"=>5, "owner"=>"SomeHacker", "year"=>"2018", "livereload_port"=>35729, "serving"=>true, "watch"=>true, "url"=>"http://localhost:4000"}:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/1e/e20f1271c40bfebf581515340fa488d49c078189d96b39aa189cf5cb40f9bf b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/1e/e20f1271c40bfebf581515340fa488d49c078189d96b39aa189cf5cb40f9bf new file mode 100644 index 0000000..5848bda --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/1e/e20f1271c40bfebf581515340fa488d49c078189d96b39aa189cf5cb40f9bf @@ -0,0 +1,164 @@ +I"h

Text can be bold, italic, strikethrough or keyword.

+ +

Link to another page.

+ +

There should be whitespace between paragraphs.

+ +

There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.

+ +

Header 1

+ +

This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.

+ +

Header 2

+ +
+

This is a blockquote following a header.

+ +

When something is important enough, you do it even if the odds are not in your favor.

+
+ +

Header 3

+ +
// Javascript code with syntax highlighting.
+var fun = function lang(l) {
+  dateformat.i18n = require('./lang/' + l)
+  return true;
+}
+
+ +
# Ruby code with syntax highlighting
+GitHubPages::Dependencies.gems.each do |gem, version|
+  s.add_dependency(gem, "= #{version}")
+end
+
+ +

Header 4

+ +
    +
  • This is an unordered list following a header.
  • +
  • This is an unordered list following a header.
  • +
  • This is an unordered list following a header.
  • +
+ +
Header 5
+ +
    +
  1. This is an ordered list following a header.
  2. +
  3. This is an ordered list following a header.
  4. +
  5. This is an ordered list following a header.
  6. +
+ +
Header 6
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
head1head twothree
okgood swedish fishnice
out of stockgood and plentynice
okgood oreoshmm
okgood zoute dropyumm
+ +

There’s a horizontal rule below this.

+ +
+ +

Here is an unordered list:

+ +
    +
  • Item foo
  • +
  • Item bar
  • +
  • Item baz
  • +
  • Item zip
  • +
+ +

And an ordered list:

+ +
    +
  1. Item one
  2. +
  3. Item two
  4. +
  5. Item three
  6. +
  7. Item four
  8. +
+ +

And a nested list:

+ +
    +
  • level 1 item +
      +
    • level 2 item
    • +
    • level 2 item +
        +
      • level 3 item
      • +
      • level 3 item
      • +
      +
    • +
    +
  • +
  • level 1 item +
      +
    • level 2 item
    • +
    • level 2 item
    • +
    • level 2 item
    • +
    +
  • +
  • level 1 item +
      +
    • level 2 item
    • +
    • level 2 item
    • +
    +
  • +
  • level 1 item
  • +
+ +

Small image

+ +

+ +

Large image

+ +

+ +

Definition lists can be used with HTML syntax.

+ +
+
Name
+
Godzilla
+
Born
+
1952
+
Birthplace
+
Japan
+
Color
+
Green
+
+ +
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
+
+ +
The final element.
+
+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2b/5c3d26721ae9c350cf3009318b626f0fc8a90b4a2ac0ca8099c05aa849282e b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2b/5c3d26721ae9c350cf3009318b626f0fc8a90b4a2ac0ca8099c05aa849282e new file mode 100644 index 0000000..7244969 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2b/5c3d26721ae9c350cf3009318b626f0fc8a90b4a2ac0ca8099c05aa849282e @@ -0,0 +1,2 @@ +I"

Contact

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/3d/730aaebe7b6f857345a525bfd3ccf7e4e4b23daf2a97ba70c8401553642f48 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/3d/730aaebe7b6f857345a525bfd3ccf7e4e4b23daf2a97ba70c8401553642f48 new file mode 100644 index 0000000..d80789a --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/3d/730aaebe7b6f857345a525bfd3ccf7e4e4b23daf2a97ba70c8401553642f48 @@ -0,0 +1,2 @@ +I"

Hacker-Blog

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/4e/fca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/4e/fca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1 new file mode 100644 index 0000000..2fe7794 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/4e/fca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1 @@ -0,0 +1,2 @@ +I"

About

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/50/f3cbf2d4d9357644182f8a23d78e0d42979ba4c5568f3f22f3706c51c1ce6d b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/50/f3cbf2d4d9357644182f8a23d78e0d42979ba4c5568f3f22f3706c51c1ce6d new file mode 100644 index 0000000..5ad5a71 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/50/f3cbf2d4d9357644182f8a23d78e0d42979ba4c5568f3f22f3706c51c1ce6d @@ -0,0 +1,2 @@ +I"?

This page does not exist. Go back.

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/54/6d14573f15daebe4e8bbf3bba16579ac92557d550cc71542bfcaf043a50b24 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/54/6d14573f15daebe4e8bbf3bba16579ac92557d550cc71542bfcaf043a50b24 new file mode 100644 index 0000000..471abbc --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/54/6d14573f15daebe4e8bbf3bba16579ac92557d550cc71542bfcaf043a50b24 @@ -0,0 +1,2 @@ +I"

Something about me.

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/59/c142207bdf020fdc0c96f6e01cbd74ce3aa119179d5ae3e0664f3a2adb7d28 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/59/c142207bdf020fdc0c96f6e01cbd74ce3aa119179d5ae3e0664f3a2adb7d28 new file mode 100644 index 0000000..9b2cc2e --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/59/c142207bdf020fdc0c96f6e01cbd74ce3aa119179d5ae3e0664f3a2adb7d28 @@ -0,0 +1,61 @@ +I"g
+ + + + + +

2018

+ + + + + +

2017

+ + + +
+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/66/f4804ee23ddc092d1bae43cb88186aa541187fff7c1cc8a4aa17e59a9f4123 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/66/f4804ee23ddc092d1bae43cb88186aa541187fff7c1cc8a4aa17e59a9f4123 new file mode 100644 index 0000000..8adb48f --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/66/f4804ee23ddc092d1bae43cb88186aa541187fff7c1cc8a4aa17e59a9f4123 @@ -0,0 +1,2 @@ +I"

Archive

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/6b/3c238ebcf1f3c07cf0e556faa82c6b8fe96840ff4b6b7e9962a2d855843a0b b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/6b/3c238ebcf1f3c07cf0e556faa82c6b8fe96840ff4b6b7e9962a2d855843a0b new file mode 100644 index 0000000..ac3c149 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/6b/3c238ebcf1f3c07cf0e556faa82c6b8fe96840ff4b6b7e9962a2d855843a0b @@ -0,0 +1,2 @@ +I"

404

+:EF \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/75/60b58feba4f24e1983438e1b1ae1008c9a5b9db38ec766ea802895a76e4307 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/75/60b58feba4f24e1983438e1b1ae1008c9a5b9db38ec766ea802895a76e4307 new file mode 100644 index 0000000..a1d901a --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/75/60b58feba4f24e1983438e1b1ae1008c9a5b9db38ec766ea802895a76e4307 @@ -0,0 +1,2 @@ +I"

Text can be bold, italic, strikethrough or keyword.

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/81/c370f80f9d5c9142be1f7f462e1e5c139769d03322ad74b43cb87b566cc157 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/81/c370f80f9d5c9142be1f7f462e1e5c139769d03322ad74b43cb87b566cc157 new file mode 100644 index 0000000..5ace9af --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/81/c370f80f9d5c9142be1f7f462e1e5c139769d03322ad74b43cb87b566cc157 @@ -0,0 +1,2 @@ +I"&

Yet Another Sample Page 1

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/88/9a96485fd261b1ba7132c420307ffde69ba361a329061e7673fb4c234c7b6a b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/88/9a96485fd261b1ba7132c420307ffde69ba361a329061e7673fb4c234c7b6a new file mode 100644 index 0000000..a1d901a --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/88/9a96485fd261b1ba7132c420307ffde69ba361a329061e7673fb4c234c7b6a @@ -0,0 +1,2 @@ +I"

Text can be bold, italic, strikethrough or keyword.

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/95/9e5b73cd08522273f2279e3b810098c4690cd40bc5ffc72f86cb09ad98cf96 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/95/9e5b73cd08522273f2279e3b810098c4690cd40bc5ffc72f86cb09ad98cf96 new file mode 100644 index 0000000..d62e722 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/95/9e5b73cd08522273f2279e3b810098c4690cd40bc5ffc72f86cb09ad98cf96 @@ -0,0 +1,2 @@ +I"!

This is contact page

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/9a/44c08b0f3a0802d2b4ff82f6fa7485978c0946fe5ff69b1c230977445fd6ca b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/9a/44c08b0f3a0802d2b4ff82f6fa7485978c0946fe5ff69b1c230977445fd6ca new file mode 100644 index 0000000..c2848a7 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/9a/44c08b0f3a0802d2b4ff82f6fa7485978c0946fe5ff69b1c230977445fd6ca @@ -0,0 +1,2 @@ +I"

Another Sample Page

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/44f3d7066b48f201b0ae6b37b27ff2d2fe4c1ca4535e5bc4f05c46d38584c7 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/44f3d7066b48f201b0ae6b37b27ff2d2fe4c1ca4535e5bc4f05c46d38584c7 new file mode 100644 index 0000000..8096c5f --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/44f3d7066b48f201b0ae6b37b27ff2d2fe4c1ca4535e5bc4f05c46d38584c7 @@ -0,0 +1,2 @@ +I"!

One More Sample Page

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 new file mode 100644 index 0000000..e135808 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 @@ -0,0 +1,2 @@ +I" +:EF \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e9/05c0c04250b289103305f83f1c79b2f590a0112c137ae6c20aa65b6b73b5cf b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e9/05c0c04250b289103305f83f1c79b2f590a0112c137ae6c20aa65b6b73b5cf new file mode 100644 index 0000000..1ea9d11 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e9/05c0c04250b289103305f83f1c79b2f590a0112c137ae6c20aa65b6b73b5cf @@ -0,0 +1,2 @@ +I"

Sample Page

+:ET \ No newline at end of file diff --git a/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f1/49ca1a9f6fdc96c49d03967837053806683b5b81e9b665ce02d734002e7b77 b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f1/49ca1a9f6fdc96c49d03967837053806683b5b81e9b665ce02d734002e7b77 new file mode 100644 index 0000000..7f0e9c7 --- /dev/null +++ b/hacker-blog/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f1/49ca1a9f6fdc96c49d03967837053806683b5b81e9b665ce02d734002e7b77 @@ -0,0 +1,2 @@ +I",

A Jekyll Blog Theme For Hackers

+:ET \ No newline at end of file diff --git a/hacker-blog/404.md b/hacker-blog/404.md new file mode 100644 index 0000000..46ed1c8 --- /dev/null +++ b/hacker-blog/404.md @@ -0,0 +1,6 @@ +--- +layout: default +title: 404 +--- + +This page does not exist. [Go back]({{ "/" | prepend: site.baseurl | replace: '//', '/' }}). \ No newline at end of file diff --git a/hacker-blog/README.md b/hacker-blog/README.md new file mode 100644 index 0000000..77419d0 --- /dev/null +++ b/hacker-blog/README.md @@ -0,0 +1,109 @@ +# The Hacker-Blog theme + +*Hacker-Blog is a minimalistic, responsive jekyll theme built for hackers. It is based on the [hacker theme](https://github.com/pages-themes/hacker) for project pages.* + +Demo: [https://ashishchaudhary.in/hacker-blog](https://ashishchaudhary.in/hacker-blog) + +### Included + +1. Pagination +2. SEO tags +3. Archive Page +4. RSS +5. Sitemap + +## Usage + +1. Fork and Clone this repository +2. Customize your blog +3. Add a new post in `_posts/` directory with proper name format (as shown in placeholder posts) +4. Commit and push to master + +## Local Build + +If you want to see the changes before pushing the blog to Github, do a local build. + +1. [`gem install jekyll`](https://jekyllrb.com/docs/installation/#install-with-rubygems) +2. `gem install jekyll-seo-tag` +3. (`cd` to the blog directory, then:) `jekyll serve --watch --port 8000` +4. Go to `http://0.0.0.0:8000/` in your web browser. + +*Note: In case you have set a `baseurl` different than `/` in `_config.yml`, go to `http://0.0.0.0:8000/BASEURL/` instead.* + +### Local build using docker + +```bash +docker run --rm -p 8000:8000 \ + --volume="LOCATION_OF_YOUR_JEKYLL_BLOG:/srv/jekyll" \ + -it tocttou/jekyll:3.5 \ + jekyll serve --watch --port 8000 +``` + +Replace `LOCATION_OF_YOUR_JEKYLL_BLOG` with the full path of your blog repository. Visit `http://localhost:8000/` to access the blog. + +*Note: In case you have set a `baseurl` different than `/` in `_config.yml`, go to `http://0.0.0.0:8000/BASEURL/` instead.* + +## Customizing + +### Configuration variables + +Edit the `_config.yml` file and set the following variables: + +```yml +title: [The title of your blog] +description: [A short description of your blog's purpose] +author: + name: [Your name] + email: [Your email address] + url: [URL of your website] + +baseurl: [The base url for this blog.] + +paginate: [Number of posts in one paginated section (default: 3)] +owner: [Your name] +year: [Current Year] +``` + +*Note: All links in the site are prepended with `baseurl`. Default `baseurl` is `/`. Any other baseurl can be setup like `baseurl: /hacker-blog`, which makes the site available at `http://domain.name/hacker-blog`.* + +Additionally, you may choose to set the following optional variables: + +```yml +google_analytics: [Your Google Analytics tracking ID] +``` + +### About Page + +Edit `about.md` + +### Layout + +If you would like to modify the site style: + +**HTML** + +Footer: Edit `_includes/footer.html` + +Header: Edit `_includes/header.html` + +Links in the header: Edit `_includes/links.html` + +Meta tags, blog title display, and additional CSS: Edit `_includes/head.html` + +Index page layout: Edit `_layouts/default.html` + +Post layout: Edit `_layouts/post.html` + +**CSS** + +Site wide CSS: Edit `_sass/base.scss` + +Custom CSS: Make `_sass/custom.scss` and use it. Then add `@import "custom";` to `css/main.scss` + +**404 page** + +Edit `404.md` + +## License + +CC0 1.0 Universal \ No newline at end of file diff --git a/hacker-blog/_config.yml b/hacker-blog/_config.yml new file mode 100644 index 0000000..641fc97 --- /dev/null +++ b/hacker-blog/_config.yml @@ -0,0 +1,32 @@ +title: Hacker-Blog +description: "A Jekyll Blog Theme For Hackers" +author: + name: "SomeHacker" + email: "someone@somewebsite.somedomain" + url: "https://ashishchaudhary.in/hacker-blog" + +baseurl: / + +source: . +destination: ./_site +permalink: /:title +paginate: 5 +paginate_path: /page/:num/ + +defaults: + - + scope: + path: "" + type: "posts" + values: + layout: "post" + +future: true +plugins: + - jekyll-seo-tag + - jekyll-paginate + - jekyll-sitemap + +# Custom variables +owner : "SomeHacker" +year : "2018" diff --git a/hacker-blog/_includes/analytics.html b/hacker-blog/_includes/analytics.html new file mode 100644 index 0000000..708b6f4 --- /dev/null +++ b/hacker-blog/_includes/analytics.html @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/hacker-blog/_includes/footer.html b/hacker-blog/_includes/footer.html new file mode 100644 index 0000000..c4638a5 --- /dev/null +++ b/hacker-blog/_includes/footer.html @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/hacker-blog/_includes/head.html b/hacker-blog/_includes/head.html new file mode 100644 index 0000000..656506d --- /dev/null +++ b/hacker-blog/_includes/head.html @@ -0,0 +1,11 @@ + + + + + + {%if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} + + + + {% seo %} + \ No newline at end of file diff --git a/hacker-blog/_includes/header.html b/hacker-blog/_includes/header.html new file mode 100644 index 0000000..399bc6b --- /dev/null +++ b/hacker-blog/_includes/header.html @@ -0,0 +1,11 @@ +
+ +
\ No newline at end of file diff --git a/hacker-blog/_includes/links.html b/hacker-blog/_includes/links.html new file mode 100644 index 0000000..4002868 --- /dev/null +++ b/hacker-blog/_includes/links.html @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/hacker-blog/_layouts/default.html b/hacker-blog/_layouts/default.html new file mode 100644 index 0000000..91bb2c3 --- /dev/null +++ b/hacker-blog/_layouts/default.html @@ -0,0 +1,42 @@ + + +{% include head.html %} + + +
+ {% include header.html %} +
+
+ {{ content }} +
+
+
+ + {% if paginator.total_pages > 1 %} + + {% endif %} {% include footer.html %} + + {% if site.google_analytics %} + {% include analytics.html %} + {% endif %} + + + \ No newline at end of file diff --git a/hacker-blog/_layouts/page.html b/hacker-blog/_layouts/page.html new file mode 100644 index 0000000..e7a439f --- /dev/null +++ b/hacker-blog/_layouts/page.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +
+ {{ content }} +
\ No newline at end of file diff --git a/hacker-blog/_layouts/post.html b/hacker-blog/_layouts/post.html new file mode 100644 index 0000000..d6eb661 --- /dev/null +++ b/hacker-blog/_layouts/post.html @@ -0,0 +1,9 @@ +--- +layout: default +--- + +
+

{{ page.title }}

+ + {{ content }} +
\ No newline at end of file diff --git a/hacker-blog/_posts/2017-12-10-Another-Sample-Page.md b/hacker-blog/_posts/2017-12-10-Another-Sample-Page.md new file mode 100644 index 0000000..476213c --- /dev/null +++ b/hacker-blog/_posts/2017-12-10-Another-Sample-Page.md @@ -0,0 +1,124 @@ +--- +title: Another Sample Page +published: true +--- + +Text can be **bold**, _italic_, ~~strikethrough~~ or `keyword`. + +[Link to another page](another-page). + +There should be whitespace between paragraphs. + +There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project. + +# [](#header-1)Header 1 + +This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. + +## [](#header-2)Header 2 + +> This is a blockquote following a header. +> +> When something is important enough, you do it even if the odds are not in your favor. + +### [](#header-3)Header 3 + +```js +// Javascript code with syntax highlighting. +var fun = function lang(l) { + dateformat.i18n = require('./lang/' + l) + return true; +} +``` + +```ruby +# Ruby code with syntax highlighting +GitHubPages::Dependencies.gems.each do |gem, version| + s.add_dependency(gem, "= #{version}") +end +``` + +#### [](#header-4)Header 4 + +* This is an unordered list following a header. +* This is an unordered list following a header. +* This is an unordered list following a header. + +##### [](#header-5)Header 5 + +1. This is an ordered list following a header. +2. This is an ordered list following a header. +3. This is an ordered list following a header. + +###### [](#header-6)Header 6 + +| head1 | head two | three | +|:-------------|:------------------|:------| +| ok | good swedish fish | nice | +| out of stock | good and plenty | nice | +| ok | good `oreos` | hmm | +| ok | good `zoute` drop | yumm | + +### There's a horizontal rule below this. + +* * * + +### Here is an unordered list: + +* Item foo +* Item bar +* Item baz +* Item zip + +### And an ordered list: + +1. Item one +1. Item two +1. Item three +1. Item four + +### And a nested list: + +- level 1 item + - level 2 item + - level 2 item + - level 3 item + - level 3 item +- level 1 item + - level 2 item + - level 2 item + - level 2 item +- level 1 item + - level 2 item + - level 2 item +- level 1 item + +### Small image + +![](https://assets-cdn.github.com/images/icons/emoji/octocat.png) + +### Large image + +![](https://guides.github.com/activities/hello-world/branching.png) + + +### Definition lists can be used with HTML syntax. + +
+
Name
+
Godzilla
+
Born
+
1952
+
Birthplace
+
Japan
+
Color
+
Green
+
+ +``` +Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this. +``` + +``` +The final element. +``` diff --git a/hacker-blog/_posts/2017-12-11-One-More-Sample-Page.md b/hacker-blog/_posts/2017-12-11-One-More-Sample-Page.md new file mode 100644 index 0000000..e24836a --- /dev/null +++ b/hacker-blog/_posts/2017-12-11-One-More-Sample-Page.md @@ -0,0 +1,124 @@ +--- +title: One More Sample Page +published: true +--- + +Text can be **bold**, _italic_, ~~strikethrough~~ or `keyword`. + +[Link to another page](another-page). + +There should be whitespace between paragraphs. + +There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project. + +# [](#header-1)Header 1 + +This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. + +## [](#header-2)Header 2 + +> This is a blockquote following a header. +> +> When something is important enough, you do it even if the odds are not in your favor. + +### [](#header-3)Header 3 + +```js +// Javascript code with syntax highlighting. +var fun = function lang(l) { + dateformat.i18n = require('./lang/' + l) + return true; +} +``` + +```ruby +# Ruby code with syntax highlighting +GitHubPages::Dependencies.gems.each do |gem, version| + s.add_dependency(gem, "= #{version}") +end +``` + +#### [](#header-4)Header 4 + +* This is an unordered list following a header. +* This is an unordered list following a header. +* This is an unordered list following a header. + +##### [](#header-5)Header 5 + +1. This is an ordered list following a header. +2. This is an ordered list following a header. +3. This is an ordered list following a header. + +###### [](#header-6)Header 6 + +| head1 | head two | three | +|:-------------|:------------------|:------| +| ok | good swedish fish | nice | +| out of stock | good and plenty | nice | +| ok | good `oreos` | hmm | +| ok | good `zoute` drop | yumm | + +### There's a horizontal rule below this. + +* * * + +### Here is an unordered list: + +* Item foo +* Item bar +* Item baz +* Item zip + +### And an ordered list: + +1. Item one +1. Item two +1. Item three +1. Item four + +### And a nested list: + +- level 1 item + - level 2 item + - level 2 item + - level 3 item + - level 3 item +- level 1 item + - level 2 item + - level 2 item + - level 2 item +- level 1 item + - level 2 item + - level 2 item +- level 1 item + +### Small image + +![](https://assets-cdn.github.com/images/icons/emoji/octocat.png) + +### Large image + +![](https://guides.github.com/activities/hello-world/branching.png) + + +### Definition lists can be used with HTML syntax. + +
+
Name
+
Godzilla
+
Born
+
1952
+
Birthplace
+
Japan
+
Color
+
Green
+
+ +``` +Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this. +``` + +``` +The final element. +``` diff --git a/hacker-blog/_posts/2017-12-12-Sample-Page.md b/hacker-blog/_posts/2017-12-12-Sample-Page.md new file mode 100644 index 0000000..7f020c8 --- /dev/null +++ b/hacker-blog/_posts/2017-12-12-Sample-Page.md @@ -0,0 +1,124 @@ +--- +title: Sample Page +published: true +--- + +Text can be **bold**, _italic_, ~~strikethrough~~ or `keyword`. + +[Link to another page](another-page). + +There should be whitespace between paragraphs. + +There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project. + +# [](#header-1)Header 1 + +This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. + +## [](#header-2)Header 2 + +> This is a blockquote following a header. +> +> When something is important enough, you do it even if the odds are not in your favor. + +### [](#header-3)Header 3 + +```js +// Javascript code with syntax highlighting. +var fun = function lang(l) { + dateformat.i18n = require('./lang/' + l) + return true; +} +``` + +```ruby +# Ruby code with syntax highlighting +GitHubPages::Dependencies.gems.each do |gem, version| + s.add_dependency(gem, "= #{version}") +end +``` + +#### [](#header-4)Header 4 + +* This is an unordered list following a header. +* This is an unordered list following a header. +* This is an unordered list following a header. + +##### [](#header-5)Header 5 + +1. This is an ordered list following a header. +2. This is an ordered list following a header. +3. This is an ordered list following a header. + +###### [](#header-6)Header 6 + +| head1 | head two | three | +|:-------------|:------------------|:------| +| ok | good swedish fish | nice | +| out of stock | good and plenty | nice | +| ok | good `oreos` | hmm | +| ok | good `zoute` drop | yumm | + +### There's a horizontal rule below this. + +* * * + +### Here is an unordered list: + +* Item foo +* Item bar +* Item baz +* Item zip + +### And an ordered list: + +1. Item one +1. Item two +1. Item three +1. Item four + +### And a nested list: + +- level 1 item + - level 2 item + - level 2 item + - level 3 item + - level 3 item +- level 1 item + - level 2 item + - level 2 item + - level 2 item +- level 1 item + - level 2 item + - level 2 item +- level 1 item + +### Small image + +![](https://assets-cdn.github.com/images/icons/emoji/octocat.png) + +### Large image + +![](https://guides.github.com/activities/hello-world/branching.png) + + +### Definition lists can be used with HTML syntax. + +
+
Name
+
Godzilla
+
Born
+
1952
+
Birthplace
+
Japan
+
Color
+
Green
+
+ +``` +Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this. +``` + +``` +The final element. +``` diff --git a/hacker-blog/_posts/2018-01-06-Yet-Another-Sample-Page.md b/hacker-blog/_posts/2018-01-06-Yet-Another-Sample-Page.md new file mode 100644 index 0000000..a52edd0 --- /dev/null +++ b/hacker-blog/_posts/2018-01-06-Yet-Another-Sample-Page.md @@ -0,0 +1,124 @@ +--- +title: Yet Another Sample Page 1 +published: true +--- + +Text can be **bold**, _italic_, ~~strikethrough~~ or `keyword`. + +[Link to another page](another-page). + +There should be whitespace between paragraphs. + +There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project. + +# [](#header-1)Header 1 + +This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. + +## [](#header-2)Header 2 + +> This is a blockquote following a header. +> +> When something is important enough, you do it even if the odds are not in your favor. + +### [](#header-3)Header 3 + +```js +// Javascript code with syntax highlighting. +var fun = function lang(l) { + dateformat.i18n = require('./lang/' + l) + return true; +} +``` + +```ruby +# Ruby code with syntax highlighting +GitHubPages::Dependencies.gems.each do |gem, version| + s.add_dependency(gem, "= #{version}") +end +``` + +#### [](#header-4)Header 4 + +* This is an unordered list following a header. +* This is an unordered list following a header. +* This is an unordered list following a header. + +##### [](#header-5)Header 5 + +1. This is an ordered list following a header. +2. This is an ordered list following a header. +3. This is an ordered list following a header. + +###### [](#header-6)Header 6 + +| head1 | head two | three | +|:-------------|:------------------|:------| +| ok | good swedish fish | nice | +| out of stock | good and plenty | nice | +| ok | good `oreos` | hmm | +| ok | good `zoute` drop | yumm | + +### There's a horizontal rule below this. + +* * * + +### Here is an unordered list: + +* Item foo +* Item bar +* Item baz +* Item zip + +### And an ordered list: + +1. Item one +1. Item two +1. Item three +1. Item four + +### And a nested list: + +- level 1 item + - level 2 item + - level 2 item + - level 3 item + - level 3 item +- level 1 item + - level 2 item + - level 2 item + - level 2 item +- level 1 item + - level 2 item + - level 2 item +- level 1 item + +### Small image + +![](https://assets-cdn.github.com/images/icons/emoji/octocat.png) + +### Large image + +![](https://guides.github.com/activities/hello-world/branching.png) + + +### Definition lists can be used with HTML syntax. + +
+
Name
+
Godzilla
+
Born
+
1952
+
Birthplace
+
Japan
+
Color
+
Green
+
+ +``` +Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this. +``` + +``` +The final element. +``` diff --git a/hacker-blog/_sass/_default_colors.scss b/hacker-blog/_sass/_default_colors.scss new file mode 100644 index 0000000..130127b --- /dev/null +++ b/hacker-blog/_sass/_default_colors.scss @@ -0,0 +1,19 @@ +/* + original: https://github.com/pages-themes/hacker +*/ + +$apple-blossom: #ac4142; +$alto: #d0d0d0; +$bouquet: #aa759f; +$chelsea-cucumber: #90a959; +$cod-grey: #151515; +$conifer: #b5e853; +$dove-grey: #666; +$gallery: #eaeaea; +$grey: #888; +$gulf-stream: #75b5aa; +$hippie-blue: #6a9fb5; +$potters-clay: #8f5536; +$rajah: #f4bf75; +$raw-sienna: #d28445; +$silver-chalice: #aaa; diff --git a/hacker-blog/_sass/base.scss b/hacker-blog/_sass/base.scss new file mode 100644 index 0000000..b3c06a7 --- /dev/null +++ b/hacker-blog/_sass/base.scss @@ -0,0 +1,273 @@ +/* + original: https://github.com/pages-themes/hacker +*/ + +@import "rouge-base16-dark"; +@import "default_colors"; + +$body-background: $cod-grey !default; +$body-foreground: $gallery !default; +$header: $conifer !default; +$blockquote-color: $silver-chalice !default; +$blockquote-border: $dove-grey !default; + +body { + margin: 0; + padding: 0; + background: $body-background url("../assets/bkg.png") 0 0; + color: $body-foreground; + font-size: 16px; + line-height: 1.5; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; +} + +/* General & 'Reset' Stuff */ + +.container { + width: 90%; + max-width: 1000px; + margin: 0 auto; +} + + +section { + display: block; + margin: 0 0 20px 0; +} + +h1, h2, h3, h4, h5, h6 { + margin: 0 0 20px; +} + +li { + line-height: 1.4 ; +} + +/* Header,
+ header - container + h1 - project name + h2 - project description +*/ + +header { + background: rgba(0, 0, 0, 0.1); + border-bottom: 1px dashed $conifer; //header; + padding: 20px; + margin: 0 0 40px 0; +} + +.header-links { + text-align: center; +} + +.header-link { + display: inline; +} + +header h1 { + font-size: 24px; + line-height: 1.5; + margin: 0; + text-align: center; + font-weight: bold; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color: $conifer;//$header; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), + 0 0 5px rgba(181, 232, 83, 0.1), + 0 0 10px rgba(181, 232, 83, 0.1); + letter-spacing: -1px; + -webkit-font-smoothing: antialiased; +} + +header h2 { + font-size: 18px; + font-weight: 300; + color: #666; +} + +/* Main Content +*/ + +#main_content { + width: 100%; + -webkit-font-smoothing: antialiased; +} +section img { + max-width: 100% +} + +h1, h2, h3, h4, h5, h6 { + font-weight: normal; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color: $header; + letter-spacing: -0.03em; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), + 0 0 5px rgba(181, 232, 83, 0.1), + 0 0 10px rgba(181, 232, 83, 0.1); +} + +#main_content h1 { + font-size: 30px; +} + +#main_content h2 { + font-size: 24px; +} + +#main_content h3 { + font-size: 18px; +} + +#main_content h4 { + font-size: 14px; +} + +#main_content h5 { + font-size: 12px; + text-transform: uppercase; + margin: 0 0 5px 0; +} + +#main_content h6 { + font-size: 12px; + text-transform: uppercase; + color: #999; + margin: 0 0 5px 0; +} + +dt { + font-style: italic; + font-weight: bold; +} + +ul li { + list-style-image:url('../assets/bullet.png'); +} + +blockquote { + color: $blockquote-color; + padding-left: 10px; + border-left: 1px dotted $blockquote-border; +} + +pre { + background: rgba(0, 0, 0, 0.9); + border: 1px solid rgba(255, 255, 255, 0.15); + padding: 10px; + font-size: 16px; + color: #b5e853; + border-radius: 2px; + text-wrap: normal; + overflow: auto; + overflow-y: hidden; +} + +code.highlighter-rouge { + background: rgba(0,0,0,0.9); + border: 1px solid rgba(255, 255, 255, 0.15); + padding: 0px 3px; + margin: 0px -3px; + color: #aa759f; + border-radius: 2px; +} + +table { + width: 100%; + margin: 0 0 20px 0; +} + +th { + text-align: left; + border-bottom: 1px dashed #b5e853; + padding: 5px 10px; +} + +td { + padding: 5px 10px; +} + +hr { + height: 0; + border: 0; + border-bottom: 1px dashed #b5e853; + color: #b5e853; +} + +/* Buttons +*/ + +.btn { + display: inline-block; + background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3)); + padding: 8px 18px; + border-radius: 50px; + border: 2px solid rgba(0, 0, 0, 0.7); + border-bottom: 2px solid rgba(0, 0, 0, 0.7); + border-top: 2px solid rgba(0, 0, 0, 1); + color: rgba(255, 255, 255, 0.8); + font-family: Helvetica, Arial, sans-serif; + font-weight: bold; + font-size: 13px; + text-decoration: none; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); +} + +.btn:hover { + background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8)); +} + +.btn .icon { + display: inline-block; + width: 16px; + height: 16px; + margin: 1px 8px 0 0; + float: left; +} + +.btn-github .icon { + opacity: 0.6; + background: url("../images/blacktocat.png") 0 0 no-repeat; +} + +/* Links + a, a:hover, a:visited +*/ + +a { + color: #63c0f5; + text-shadow: 0 0 5px rgba(104, 182, 255, 0.5); +} + +a:active, a:focus { + outline: 0; + border: none; + -moz-outline-style: none +} + +/* Clearfix */ + +.cf:before, .cf:after { + content:""; + display:table; +} + +.cf:after { + clear:both; +} + +.cf { + zoom:1; +} + +/* Make footer stick to bottom */ + +.pagination, footer { + height: 50px; + line-height: 50px; + text-align: center; +} + +#wrapper { + min-height: calc(100vh - 100px); +} \ No newline at end of file diff --git a/hacker-blog/_sass/rouge-base16-dark.scss b/hacker-blog/_sass/rouge-base16-dark.scss new file mode 100644 index 0000000..7f839e9 --- /dev/null +++ b/hacker-blog/_sass/rouge-base16-dark.scss @@ -0,0 +1,87 @@ +/* + generated by rouge http://rouge.jneen.net/ + original base16 by Chris Kempson (https://github.com/chriskempson/base16) +*/ + +@import "default_colors"; + +.highlight { + + $plaintext: $alto !default; + $string: $chelsea-cucumber !default; + $literal: $chelsea-cucumber !default; + $keyword: $bouquet !default; + $error-foreground: $cod-grey !default; + $error-background: $apple-blossom !default; + $comment: $grey !default; + $preprocessor: $rajah !default; + $name-space: $rajah !default; + $name-attribute: $hippie-blue !default; + $operator: $rajah !default; + $keyword-type: $raw-sienna !default; + $regex: $gulf-stream !default; + $string-escape: $potters-clay !default; + $deleted: $apple-blossom !default; + $header: $hippie-blue !default; + + color: $plaintext; + + table td { padding: 5px; } + table pre { margin: 0; } + .w { + color: $plaintext; + } + .err { + color: $error-foreground; + background-color: $error-background; + } + .c, .cd, .cm, .c1, .cs { + color: $comment; + } + .cp { + color: $preprocessor; + } + .o, .ow { + color: $operator; + } + .p, .pi { + color: $plaintext; + } + .gi { + color: $string; + } + .gd { + color: $deleted; + } + .gh { + color: $header; + font-weight: bold; + } + .k, .kn, .kp, .kr, .kv { + color: $keyword; + } + .kc, .kt, .kd { + color: $keyword-type; + } + .s, .sb, .sc, .sd, .s2, .sh, .sx, .s1 { + color: $string; + } + .sr { + color: $regex; + } + .si, .se { + color: $string-escape; + } + .nt, .nn, .nc, .no{ + color: $name-space; + } + .na { + color: $name-attribute; + } + .m, .mf, .mh, .mi, .il, .mo, .mb, .mx { + color: $literal; + } + .ss { + color: $string; + } +} diff --git a/hacker-blog/about.md b/hacker-blog/about.md new file mode 100644 index 0000000..675b1d8 --- /dev/null +++ b/hacker-blog/about.md @@ -0,0 +1,6 @@ +--- +layout: page +title: About +--- + +Something about me. \ No newline at end of file diff --git a/hacker-blog/archive.md b/hacker-blog/archive.md new file mode 100644 index 0000000..14e0c49 --- /dev/null +++ b/hacker-blog/archive.md @@ -0,0 +1,38 @@ +--- +layout: page +title: Archive +--- + +
+ {% if site.posts[0] %} + + {% capture currentyear %}{{ 'now' | date: "%Y" }}{% endcapture %} + {% capture firstpostyear %}{{ site.posts[0].date | date: '%Y' }}{% endcapture %} + {% if currentyear == firstpostyear %} +

This year's posts

+ {% else %} +

{{ firstpostyear }}

+ {% endif %} + + {%for post in site.posts %} + {% unless post.next %} +
    + {% else %} + {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} + {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} + {% if year != nyear %} +
+

{{ post.date | date: '%Y' }}

+
    + {% endif %} + {% endunless %} +
  • + + {{ post.title }} + +
  • + {% endfor %} +
+ + {% endif %} +
\ No newline at end of file diff --git a/hacker-blog/assets/bkg.png b/hacker-blog/assets/bkg.png new file mode 100644 index 0000000000000000000000000000000000000000..d10e5caf1adb7466673bc9cef83621fe855caa3f GIT binary patch literal 1218 zcmeAS@N?(olHy`uVBq!ia0y~yU=jggMrNQ$#TNBtK#DEEC&X1sN=jNkczmscWgJUHsE1R2ws}X9=R$~%X@*3=-vhL@-NfkR)!pBoqVTzzlmJ$gw$h( za!N&gzAjH}?UE-yuB@->I#KvPao+dRzrL@oCvVpee)R8SO|Rip8+r3Dza~8XxNqSP zmGuR0<=?XLN*y=&ko@A*R?n;zmFGjmpL|X=el)GDnT?nCc-hJ9h-*>(U-v7SP21O( zoNu0S!J*))p{S5clIq(!Rnv%W88O`}e-}D7AF~mxZfpV+3kwX-$FQx)Y;JvA%`)@d zWYLYgd8JI0aw{r!Iv89Q>eyImcyRi@1&bblZJ%(NN9SER*F|RI`9Vy^n|kYj&a|m< zH+i{|PR}_n7 z-gd`kwp)J%TC%IUg`6V4t}fWH9jMCX-LAENwM{str7XO1;E!GNEuasI-gOzw-pnlj z>{){B-p0ScV3upi-pM7+*5to^wpdM0Lo6uhXKvGLxTUb-aiDN)U^44#klW=8|4*sV zntfrzKU=lq{IC4u?*i3*Ut)0K@G9flAeW??UW>QI-$6b&yzF|LRw2jj$QO!RxR2R@ z!p-JEk`UjzM%QUGt5 zsq{^Wh=(VtSvB4F14E?hZ{X9Y?R-}fa@G1cS_4|1{K5DvW*TQF%BQWRm-W8rcnHXW5F_LnOa!0te-Gud{_`k1m{6m9unPa(^B$ zKx8W_XRUv@r+&lLzc+3*l|BZA<&8P3LiGe?mL9UxX48rf2YHj@p3l_yh=pvc)~tHC z{nO?fprlo3bGdkWi`e7f5A45eIR!{NSV4~V*iRMLf15OnS&>IfjrQ$5*USNy<-2E*PZ71vSAxg$R}ir z*HrJV2QIesUSGbBCF#9c#svfK2|7o#H8-glPWYpw_zvjL75X#RJY~u`5Y-X(HrD(= zUCM<84_%p-W@|H8MF_Nfy!EQ%2FOzxtQJYFtLINQ#Ng@b=d#Wzp$P!*bu5qo literal 0 HcmV?d00001 diff --git a/hacker-blog/assets/bullet.png b/hacker-blog/assets/bullet.png new file mode 100644 index 0000000000000000000000000000000000000000..c8f8de1a7e0d469d77b8852396dd10f338ae23f2 GIT binary patch literal 603 zcmeAS@N?(olHy`uVBq!ia0vp^57${dCd>QY`6?zK#qG8~eHcB(ehe3dtTp zz6=aiY77hwEes65fI&pI+kyVsc_(xbi&_G6SPZ!4!i_=@D?9F0w6md%rmzMVCWO3ZMStxs>APeV` z6HToPk{)y4eARTTV}i&**7yU5F8RqPByJ7f7l(V(z*fP#y%N{ZA*k8}SM*o+)sk0^| zVWo&jS?rFxude<7%Cf>m>EMbm?l6Vrx6ksBe>HsTzdZg`C*I{YbAygX z`No(wBmKJvw3*sg? literal 0 HcmV?d00001 diff --git a/hacker-blog/atom.xml b/hacker-blog/atom.xml new file mode 100644 index 0000000..25699bf --- /dev/null +++ b/hacker-blog/atom.xml @@ -0,0 +1,27 @@ +--- +layout: null +--- + + + + {{ site.title | xml_escape }} + {{ site.description | xml_escape }} + {{ site.url }} + + + {{ site.author.name }} + {{ site.author.email }} + {{ site.author.url }} + + {% for post in site.posts limit:10 %} + + {{ post.title | xml_escape }} + {{ post.content | xml_escape }} + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.url }}/{{ post.url }} + + {{ site.url }}{{ post.url }} + + {% endfor %} + + diff --git a/hacker-blog/contact.md b/hacker-blog/contact.md new file mode 100644 index 0000000..3815a3e --- /dev/null +++ b/hacker-blog/contact.md @@ -0,0 +1,6 @@ +--- +layout: page +title: Contact +--- + +This is contact page \ No newline at end of file diff --git a/hacker-blog/css/main.scss b/hacker-blog/css/main.scss new file mode 100644 index 0000000..7377fcf --- /dev/null +++ b/hacker-blog/css/main.scss @@ -0,0 +1,4 @@ +--- +# +--- +@import "base"; diff --git a/hacker-blog/index.html b/hacker-blog/index.html new file mode 100644 index 0000000..2a091f2 --- /dev/null +++ b/hacker-blog/index.html @@ -0,0 +1,13 @@ +--- +layout: default +--- + +
    + {% for post in paginator.posts %} +
  • +

    {{ post.title }}

    + +

    {{ post.content | strip_html | truncatewords:50 }}

    +
  • + {% endfor %} +
diff --git a/hacker-blog/license.md b/hacker-blog/license.md new file mode 100644 index 0000000..3bbbc1e --- /dev/null +++ b/hacker-blog/license.md @@ -0,0 +1,116 @@ +CC0 1.0 Universal + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator and +subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for the +purpose of contributing to a commons of creative, cultural and scientific +works ("Commons") that the public can reliably and without fear of later +claims of infringement build upon, modify, incorporate in other works, reuse +and redistribute as freely as possible in any form whatsoever and for any +purposes, including without limitation commercial purposes. These owners may +contribute to the Commons to promote the ideal of a free culture and the +further production of creative, cultural and scientific works, or to gain +reputation or greater distribution for their Work in part through the use and +efforts of others. + +For these and/or other purposes and motivations, and without any expectation +of additional consideration or compensation, the person associating CC0 with a +Work (the "Affirmer"), to the extent that he or she is an owner of Copyright +and Related Rights in the Work, voluntarily elects to apply CC0 to the Work +and publicly distribute the Work under its terms, with knowledge of his or her +Copyright and Related Rights in the Work and the meaning and intended legal +effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not limited +to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, communicate, + and translate a Work; + + ii. moral rights retained by the original author(s) and/or performer(s); + + iii. publicity and privacy rights pertaining to a person's image or likeness + depicted in a Work; + + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + v. rights protecting the extraction, dissemination, use and reuse of data in + a Work; + + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation thereof, + including any amended or successor version of such directive); and + + vii. other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention of, +applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and +unconditionally waives, abandons, and surrenders all of Affirmer's Copyright +and Related Rights and associated claims and causes of action, whether now +known or unknown (including existing as well as future claims and causes of +action), in the Work (i) in all territories worldwide, (ii) for the maximum +duration provided by applicable law or treaty (including future time +extensions), (iii) in any current or future medium and for any number of +copies, and (iv) for any purpose whatsoever, including without limitation +commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes +the Waiver for the benefit of each member of the public at large and to the +detriment of Affirmer's heirs and successors, fully intending that such Waiver +shall not be subject to revocation, rescission, cancellation, termination, or +any other legal or equitable action to disrupt the quiet enjoyment of the Work +by the public as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason be +judged legally invalid or ineffective under applicable law, then the Waiver +shall be preserved to the maximum extent permitted taking into account +Affirmer's express Statement of Purpose. In addition, to the extent the Waiver +is so judged Affirmer hereby grants to each affected person a royalty-free, +non transferable, non sublicensable, non exclusive, irrevocable and +unconditional license to exercise Affirmer's Copyright and Related Rights in +the Work (i) in all territories worldwide, (ii) for the maximum duration +provided by applicable law or treaty (including future time extensions), (iii) +in any current or future medium and for any number of copies, and (iv) for any +purpose whatsoever, including without limitation commercial, advertising or +promotional purposes (the "License"). The License shall be deemed effective as +of the date CC0 was applied by Affirmer to the Work. Should any part of the +License for any reason be judged legally invalid or ineffective under +applicable law, such partial invalidity or ineffectiveness shall not +invalidate the remainder of the License, and in such case Affirmer hereby +affirms that he or she will not (i) exercise any of his or her remaining +Copyright and Related Rights in the Work or (ii) assert any associated claims +and causes of action with respect to the Work, in either case contrary to +Affirmer's express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + + b. Affirmer offers the Work as-is and makes no representations or warranties + of any kind concerning the Work, express, implied, statutory or otherwise, + including without limitation warranties of title, merchantability, fitness + for a particular purpose, non infringement, or the absence of latent or + other defects, accuracy, or the present or absence of errors, whether or not + discoverable, all to the greatest extent permissible under applicable law. + + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without limitation + any person's Copyright and Related Rights in the Work. Further, Affirmer + disclaims responsibility for obtaining any necessary consents, permissions + or other rights required for any use of the Work. + + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to this + CC0 or use of the Work. + +For more information, please see + \ No newline at end of file diff --git a/hacker-blog/robots.txt b/hacker-blog/robots.txt new file mode 100644 index 0000000..b6a5ef0 --- /dev/null +++ b/hacker-blog/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /contact.html