aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-06 05:54:25 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-06 05:54:25 +0300
commitb59d6a321f35f4f12266b056b7795f6f279295e7 (patch)
treea90256aea40f502c6e978e2e6bcea5da71317cf6
downloadegor-tensin.github.io-b59d6a321f35f4f12266b056b7795f6f279295e7.tar.gz
egor-tensin.github.io-b59d6a321f35f4f12266b056b7795f6f279295e7.zip
initial commit
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock115
-rw-r--r--LICENSE.txt21
-rw-r--r--README.md39
-rw-r--r--_includes/footer.html23
-rw-r--r--_includes/header.html19
-rw-r--r--_layouts/main.html3
-rw-r--r--css/footer.css22
-rw-r--r--index.html21
10 files changed, 266 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..57510a2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+_site/
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..f20fb86
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'github-pages'
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 0000000..73ff442
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,115 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ RedCloth (4.2.9-x86-mingw32)
+ activesupport (4.1.5)
+ i18n (~> 0.6, >= 0.6.9)
+ json (~> 1.7, >= 1.7.7)
+ minitest (~> 5.1)
+ thread_safe (~> 0.1)
+ tzinfo (~> 1.1)
+ blankslate (2.1.2.4)
+ celluloid (0.15.2)
+ timers (~> 1.1.0)
+ classifier (1.3.4)
+ fast-stemmer (>= 1.0.0)
+ coffee-script (2.3.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.7.1)
+ colorator (0.1)
+ execjs (2.2.1)
+ fast-stemmer (1.0.2)
+ ffi (1.9.3-x86-mingw32)
+ gemoji (2.1.0)
+ github-pages (22)
+ RedCloth (= 4.2.9)
+ jekyll (= 2.2.0)
+ jekyll-coffeescript (= 1.0.0)
+ jekyll-mentions (= 0.1.3)
+ jekyll-redirect-from (= 0.4.0)
+ jekyll-sass-converter (= 1.2.0)
+ jekyll-sitemap (= 0.5.1)
+ jemoji (= 0.3.0)
+ kramdown (= 1.3.1)
+ liquid (= 2.6.1)
+ maruku (= 0.7.0)
+ pygments.rb (= 0.6.0)
+ rdiscount (= 2.1.7)
+ redcarpet (= 3.1.2)
+ html-pipeline (1.9.0)
+ activesupport (>= 2)
+ nokogiri (~> 1.4)
+ i18n (0.6.11)
+ jekyll (2.2.0)
+ classifier (~> 1.3)
+ colorator (~> 0.1)
+ jekyll-coffeescript (~> 1.0)
+ jekyll-gist (~> 1.0)
+ jekyll-paginate (~> 1.0)
+ jekyll-sass-converter (~> 1.0)
+ jekyll-watch (~> 1.0)
+ kramdown (~> 1.3)
+ liquid (~> 2.6.1)
+ mercenary (~> 0.3.3)
+ pygments.rb (~> 0.6.0)
+ redcarpet (~> 3.1)
+ safe_yaml (~> 1.0)
+ toml (~> 0.1.0)
+ jekyll-coffeescript (1.0.0)
+ coffee-script (~> 2.2)
+ jekyll-gist (1.1.0)
+ jekyll-mentions (0.1.3)
+ html-pipeline (~> 1.9.0)
+ jekyll (~> 2.0)
+ jekyll-paginate (1.0.0)
+ jekyll-redirect-from (0.4.0)
+ jekyll (~> 2.0)
+ jekyll-sass-converter (1.2.0)
+ sass (~> 3.2)
+ jekyll-sitemap (0.5.1)
+ jekyll-watch (1.1.0)
+ listen (~> 2.7)
+ jemoji (0.3.0)
+ gemoji (~> 2.0)
+ html-pipeline (~> 1.9)
+ jekyll (~> 2.0)
+ json (1.8.1)
+ kramdown (1.3.1)
+ liquid (2.6.1)
+ listen (2.7.9)
+ celluloid (>= 0.15.2)
+ rb-fsevent (>= 0.9.3)
+ rb-inotify (>= 0.9)
+ maruku (0.7.0)
+ mercenary (0.3.4)
+ mini_portile (0.6.0)
+ minitest (5.4.0)
+ nokogiri (1.6.3.1-x86-mingw32)
+ mini_portile (= 0.6.0)
+ parslet (1.5.0)
+ blankslate (~> 2.0)
+ posix-spawn (0.3.9)
+ pygments.rb (0.6.0)
+ posix-spawn (~> 0.3.6)
+ yajl-ruby (~> 1.1.0)
+ rb-fsevent (0.9.4)
+ rb-inotify (0.9.5)
+ ffi (>= 0.5.0)
+ rdiscount (2.1.7)
+ redcarpet (3.1.2)
+ safe_yaml (1.0.3)
+ sass (3.4.0)
+ thread_safe (0.3.4)
+ timers (1.1.0)
+ toml (0.1.1)
+ parslet (~> 1.5.0)
+ tzinfo (1.2.2)
+ thread_safe (~> 0.1)
+ yajl-ruby (1.1.0-x86-mingw32)
+
+PLATFORMS
+ x86-mingw32
+
+DEPENDENCIES
+ github-pages
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..fbbdd68
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..45168bd
--- /dev/null
+++ b/README.md
@@ -0,0 +1,39 @@
+# Egor Tensin
+
+This is my website hosted on [GitHub Pages](https://pages.github.com) at https://egor-tensin.github.io/.
+
+## Installation
+
+[Jekyll](http://jekyllrb.com/) is used to build a set of static HTML pages from a collection of templates and resources.
+Jekyll doesn't support Windows, however at the moment of writing one can get it to work using the excellent tutorial at http://jekyll-windows.juthilo.com/.
+
+I'm using [Bundler](http://bundler.io/) to set up a development environment.
+After the `bundler` gem is installed, project dependencies can be installed by running
+
+ bundle install
+
+in the project's root directory.
+
+## Development
+
+To run a local web server, run
+
+ bundle exec jekyll serve --watch
+
+from the project's root directory.
+You can then review your changes at http://localhost:4000/.
+
+Please note that the support for `--watch`ing for modification on Windows is kind of iffy at the moment of writing.
+One possible workaround is to add `--force_polling` to `jekyll`s options:
+
+ bundle exec jekyll serve --watch --force_polling
+
+It might still not work though, so you might end up having to re-run `jekyll` manually.
+For details, refer to http://jekyll-windows.juthilo.com/4-wdm-gem/.
+
+## Licensing
+
+This project, including all of the files and their contents, is licensed under the terms of the MIT License.
+See LICENSE.txt for details.
+
+This website is build upon the Twitter Bootstrap framework, which is also MIT Licensed and copyright 2015 Twitter.
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..b76fe73
--- /dev/null
+++ b/_includes/footer.html
@@ -0,0 +1,23 @@
+ </div>
+ </div>
+ <div class="block">
+ <footer class="navbar-default">
+ <div class="container">
+ <div style="display: table; width: 100%;">
+ <div style="display: table-row;">
+ <div style="display: table-cell;">
+ <div class="text-mutex"><small>This project is licensed under the terms of the MIT License. See <a href="https://github.com/egor-tensin/egor-tensin.github.io#licensing">Licensing</a> for details.</small></div>
+ </div>
+ <div style="display: table-cell;">
+ <div class="text-right text-muted"><small>This page was last updated on: {{ site.time | date_to_long_string }}.</small></div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </footer>
+ </div>
+ </div>
+ <script src="//code.jquery.com/jquery-1.11.0.js"></script>
+ <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.js"></script>
+ </body>
+</html>
diff --git a/_includes/header.html b/_includes/header.html
new file mode 100644
index 0000000..1ebc1bc
--- /dev/null
+++ b/_includes/header.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{ page.title }}</title>
+ <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.css">
+ <link rel="stylesheet" href="/css/footer.css">
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="//oss.maxcdn.com/html5shiv/3.7.2/html5shiv.js"></script>
+ <script src="//oss.maxcdn.com/respond/1.4.2/respond.js"></script>
+ <![endif]-->
+ </head>
+ <body>
+ <div class="wrapper">
+ <div class="block push">
+ <div class="container">
diff --git a/_layouts/main.html b/_layouts/main.html
new file mode 100644
index 0000000..4f0db4c
--- /dev/null
+++ b/_layouts/main.html
@@ -0,0 +1,3 @@
+{% include header.html %}
+{{ content }}
+{% include footer.html %}
diff --git a/css/footer.css b/css/footer.css
new file mode 100644
index 0000000..f8896b5
--- /dev/null
+++ b/css/footer.css
@@ -0,0 +1,22 @@
+html, body {
+ height: 100%;
+ width: 100%;
+}
+.wrapper {
+ height: 100%;
+ width: 100%;
+ display: table;
+}
+.block {
+ display: table-row;
+ height: 1px;
+}
+.push {
+ height: auto;
+}
+footer {
+ margin-top: 20px;
+ padding: 15px 0 15px;
+ border-width: 1px 0;
+ border-style: solid;
+}
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..6b98b12
--- /dev/null
+++ b/index.html
@@ -0,0 +1,21 @@
+---
+title: Egor Tensin
+layout: main
+---
+<div class="row">
+ <div class="col-md-12">
+ <h1>Egor Tensin</h1>
+ <hr/>
+ <p>Hello! I'm a software engineer, and I'll be publishing some of my notes on <a href="//pages.github.com/">GitHub Pages</a>. Feel free to make contributions or contact me.</p>
+ <div class="list-group" style="max-width: 400px;">
+ <a class="list-group-item" href="//github.com/egor-tensin/"><span class="glyphicon glyphicon-home"></span>&nbsp;GitHub profile</a>
+ <a class="list-group-item" href="mailto:Egor.Tensin@gmail.com"><span class="glyphicon glyphicon-envelope"></span>&nbsp;Egor.Tensin@gmail.com</a>
+ <a class="list-group-item" href="//github.com/egor-tensin/cv/raw/master/pdf/Egor_Tensin_CV_en.pdf"><span class="glyphicon glyphicon-file"></span>&nbsp;Curriculum vitae</a>
+ </div>
+ <h3>Projects</h3>
+ <div class="list-group" style="max-width: 400px;">
+ <a class="list-group-item" href="/sorting_algorithms/"><span class="glyphicon glyphicon-chevron-right"></span>&nbsp;Sorting algorithms</a>
+ <a class="list-group-item" href="/cpp_tips/"><span class="glyphicon glyphicon-chevron-right"></span>&nbsp;C++ tips</a>
+ </div>
+ </div>
+</div>