From 31507dc61c91035c45860134a6562d95f811bfad Mon Sep 17 00:00:00 2001 From: Ram swaroop Date: Sat, 10 Dec 2016 21:00:36 +0000 Subject: [PATCH 01/17] Delete CNAME --- CNAME | 1 - 1 file changed, 1 deletion(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index 050ae32..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -java.ramswaroop.me \ No newline at end of file From 07ae02e2cadc969129f2b945b5297159a4d160b0 Mon Sep 17 00:00:00 2001 From: Ram swaroop Date: Sat, 10 Dec 2016 21:01:18 +0000 Subject: [PATCH 02/17] Create CNAME --- CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..050ae32 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +java.ramswaroop.me \ No newline at end of file From 667e9bd724313f816b8fc0a0b8a6754cb953f781 Mon Sep 17 00:00:00 2001 From: ramswaroop Date: Sat, 10 Dec 2016 21:06:56 +0000 Subject: [PATCH 03/17] fixed build error (changed highlighter: pygments to rouge) --- _config.yml | 2 +- _posts/2016-05-19-instantiation.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 _posts/2016-05-19-instantiation.md diff --git a/_config.yml b/_config.yml index a97a036..3dd748f 100644 --- a/_config.yml +++ b/_config.yml @@ -75,7 +75,7 @@ picture: # BUILD SETTINGS markdown: kramdown -highlighter: pygments +highlighter: rouge sass: sass_dir: _sass style: :compressed diff --git a/_posts/2016-05-19-instantiation.md b/_posts/2016-05-19-instantiation.md new file mode 100644 index 0000000..fc1cf41 --- /dev/null +++ b/_posts/2016-05-19-instantiation.md @@ -0,0 +1,17 @@ +--- +layout: post +title: Instantiation +published: false +--- + +class Init { + Init(int x) { System.out.println("1-arg const"); } + Init() { System.out.println("no-arg const"); } + static { System.out.println("1st static init"); } + { System.out.println("1st instance init"); } + { System.out.println("2nd instance init"); } + static { System.out.println("2nd static init"); } + public static void main(String [] args) { + new Init(); + new Init(7); +} } From 075614d80481b471eed3d4fab64d7ae21aa3bf75 Mon Sep 17 00:00:00 2001 From: ramswaroop Date: Sat, 10 Dec 2016 23:06:12 +0000 Subject: [PATCH 04/17] migration from jekyll 2.x.x to 3.x.x --- .gitignore | 1 + _config.yml | 1 + gemfile | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 gemfile diff --git a/.gitignore b/.gitignore index 781b662..6fd4aa7 100644 --- a/.gitignore +++ b/.gitignore @@ -89,4 +89,5 @@ local.properties # TeXlipse plugin .texlipse +Gemfile.lock diff --git a/_config.yml b/_config.yml index 3dd748f..f3c21e2 100644 --- a/_config.yml +++ b/_config.yml @@ -79,3 +79,4 @@ highlighter: rouge sass: sass_dir: _sass style: :compressed +gems: [jekyll-paginate] diff --git a/gemfile b/gemfile new file mode 100644 index 0000000..47386cc --- /dev/null +++ b/gemfile @@ -0,0 +1,4 @@ +source "https://rubygems.org" +gem 'rouge' +gem 'jekyll' +gem 'jekyll-paginate' \ No newline at end of file From 353b9963c3befab255a2dbeb93b6572b33e5b4d7 Mon Sep 17 00:00:00 2001 From: ramswaroop Date: Sat, 10 Dec 2016 23:16:24 +0000 Subject: [PATCH 05/17] fixed jekyll 3.x.x migration error --- _config.yml | 2 +- _includes/disqus.html | 2 +- _includes/footer.html | 4 +-- _includes/head.html | 16 ++++----- _includes/header.html | 10 +++--- _includes/icons.html | 80 +++++++++++++++++++++---------------------- _layouts/post.html | 6 ++-- index.html | 12 +++---- 8 files changed, 66 insertions(+), 66 deletions(-) diff --git a/_config.yml b/_config.yml index f3c21e2..b91b6b0 100644 --- a/_config.yml +++ b/_config.yml @@ -3,7 +3,7 @@ baseurl: "" # the subpath of your site, e.g. /blog/ url: "http://java.ramswaroop.me" # the base hostname & protocol for your site # THEME-SPECIFIC CONFIGURATION -theme: +theme_settings: # Meta title: Java Notes avatar: java-logo.png diff --git a/_includes/disqus.html b/_includes/disqus.html index 33a03eb..7af0cf5 100644 --- a/_includes/disqus.html +++ b/_includes/disqus.html @@ -1,6 +1,6 @@
-{% if site.theme.footer_text %} +{% if site.theme_settings.footer_text %}
-

{{ site.theme.footer_text }}

+

{{ site.theme_settings.footer_text }}

{% endif %} diff --git a/_includes/head.html b/_includes/head.html index 92bec9a..01ade4f 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,7 +1,7 @@ - {% if page.title %}{{ page.title }} |{% endif %} {{ site.theme.title }} - + {% if page.title %}{{ page.title }} |{% endif %} {{ site.theme_settings.title }} + @@ -15,31 +15,31 @@ - + - {% if site.theme.google_fonts %} - + {% if site.theme_settings.google_fonts %} + {% endif %} - {% if site.theme.katex %} + {% if site.theme_settings.katex %} {% endif %} - {% if site.theme.google_analytics %} + {% if site.theme_settings.google_analytics %} {% endif %} diff --git a/_includes/header.html b/_includes/header.html index f4632ec..5e4528c 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,16 +1,16 @@