Skip to content

Commit 1f3d280

Browse files
committed
🎉 initial commit
0 parents  commit 1f3d280

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+6342
-0
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.DS_Store
3+
*.swp
4+
.sass-cache
5+
*~

404.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: default
3+
title: 404
4+
permalink: /404.html
5+
---
6+
7+
<div class="text-center">
8+
<h1 class="display-1 mt-5 mb-4"><span class="badge badge-danger">404</span> Page does not exist!</h1>
9+
<p>Please use the search bar at the top or visit our <a href="{{site.baseurl}}/">homepage</a>!</p>
10+
</div>

Gemfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
source "https://rubygems.org"
2+
3+
# Hello! This is where you manage which Jekyll version is used to run.
4+
# When you want to use a different version, change it below, save the
5+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
6+
#
7+
# bundle exec jekyll serve
8+
#
9+
10+
# If you have any plugins, put them here!
11+
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
12+
group :jekyll_plugins do
13+
gem 'jekyll-feed'
14+
gem 'jekyll-sitemap'
15+
gem 'jekyll-paginate'
16+
gem 'jekyll-seo-tag'
17+
gem 'jekyll-archives'
18+
gem 'kramdown'
19+
gem 'rouge'
20+
end

Gemfile.lock

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.6.0)
5+
public_suffix (>= 2.0.2, < 4.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.4)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
eventmachine (1.2.7-x64-mingw32)
13+
ffi (1.10.0)
14+
ffi (1.10.0-x64-mingw32)
15+
forwardable-extended (2.6.0)
16+
http_parser.rb (0.6.0)
17+
i18n (0.9.5)
18+
concurrent-ruby (~> 1.0)
19+
jekyll (3.8.5)
20+
addressable (~> 2.4)
21+
colorator (~> 1.0)
22+
em-websocket (~> 0.5)
23+
i18n (~> 0.7)
24+
jekyll-sass-converter (~> 1.0)
25+
jekyll-watch (~> 2.0)
26+
kramdown (~> 1.14)
27+
liquid (~> 4.0)
28+
mercenary (~> 0.3.3)
29+
pathutil (~> 0.9)
30+
rouge (>= 1.7, < 4)
31+
safe_yaml (~> 1.0)
32+
jekyll-archives (2.1.1)
33+
jekyll (>= 2.4)
34+
jekyll-feed (0.11.0)
35+
jekyll (~> 3.3)
36+
jekyll-paginate (1.1.0)
37+
jekyll-sass-converter (1.5.2)
38+
sass (~> 3.4)
39+
jekyll-seo-tag (2.5.0)
40+
jekyll (~> 3.3)
41+
jekyll-sitemap (1.2.0)
42+
jekyll (~> 3.3)
43+
jekyll-watch (2.1.2)
44+
listen (~> 3.0)
45+
kramdown (1.17.0)
46+
liquid (4.0.1)
47+
listen (3.1.5)
48+
rb-fsevent (~> 0.9, >= 0.9.4)
49+
rb-inotify (~> 0.9, >= 0.9.7)
50+
ruby_dep (~> 1.2)
51+
mercenary (0.3.6)
52+
pathutil (0.16.2)
53+
forwardable-extended (~> 2.6)
54+
public_suffix (3.0.3)
55+
rb-fsevent (0.10.3)
56+
rb-inotify (0.10.0)
57+
ffi (~> 1.0)
58+
rouge (3.3.0)
59+
ruby_dep (1.5.0)
60+
safe_yaml (1.0.5)
61+
sass (3.7.3)
62+
sass-listen (~> 4.0.0)
63+
sass-listen (4.0.0)
64+
rb-fsevent (~> 0.9, >= 0.9.4)
65+
rb-inotify (~> 0.9, >= 0.9.7)
66+
wdm (0.1.1)
67+
68+
PLATFORMS
69+
ruby
70+
x64-mingw32
71+
72+
DEPENDENCIES
73+
jekyll-archives
74+
jekyll-feed
75+
jekyll-paginate
76+
jekyll-seo-tag
77+
jekyll-sitemap
78+
kramdown
79+
rouge
80+
wdm (>= 0.1.0)
81+
82+
BUNDLED WITH
83+
2.0.2

LICENSE.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Copyright (c) 2019 WowThemes.net
2+
License: MIT
3+
4+
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:
5+
6+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7+
8+
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.

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# codeRolls log
2+
3+
[Live Demo](https://coderolls.com)
4+
5+
6+
### Copyright
7+
8+
Copyright (C) 2019 codeRolls, https://codeRolls.com
9+
10+
CodeRolls is a blog about java programming language and related technologies. All post are copyright property of Guarva Kukade. If you want to read the blog post please visit coderolls.com
11+
12+
You should not copy these blogpost, you should right your own. 🙂
13+
14+
Thank you!

_config.yml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Site
2+
name: "codeRolls"
3+
title: "codeRolls"
4+
description: "Start codeing today!"
5+
logo: 'assets/images/logo.png'
6+
favicon: 'assets/images/logo.png'
7+
baseurl: ''
8+
google_analytics: 'UA-12293213-1'
9+
disqus: gauravkukade
10+
mailchimp-list: 'https://coderolls.us4.list-manage.com/subscribe/post?u=91e4893f731db2a4807928752&amp;id=76d82df79a'
11+
include: ["_pages"]
12+
permalink: /:title/
13+
14+
# Authors
15+
authors:
16+
gaurav:
17+
name: Gaurav Kukade
18+
display_name: Gaurav Kukade
19+
gravatar: 4cb49146376b1ef2b46181f2388655ca
20+
21+
web: https://www.linkedin.com/in/gauravkukade/
22+
twitter: https://twitter.com/gdkukade
23+
description: "Hi 👋🏼 I'm Gaurav Kukade, a software developer. I write tutorials for Java programming language and related technologies."
24+
25+
# Plugins
26+
plugins:
27+
- jekyll-paginate
28+
- jekyll-sitemap
29+
- jekyll-feed
30+
- jekyll-seo-tag
31+
- jekyll-archives
32+
33+
# Archives
34+
jekyll-archives:
35+
enabled:
36+
- categories
37+
layout: archive
38+
permalinks:
39+
category: '/category/:name/'
40+
41+
# Pagination
42+
paginate: 6
43+
paginate_path: /page:num/
44+
45+
# Other
46+
markdown: kramdown
47+
48+
kramdown:
49+
input: GFM
50+
syntax_highlighter: rouge
51+
syntax_highlighter_opts:
52+
block:
53+
line_numbers: true
54+
55+
# Adsense (change to "enabled" to activate, also your client id and ad slot. Create a new ad unit from your Adsense account to get the slot.)
56+
adsense: "disabled"
57+
adsense-data-ad-client: "ca-pub-3412143450191416"
58+
adsense-data-ad-slot: "1363087678"
59+
60+
# Lazy Images ("enabled" or "disabled")
61+
lazyimages: "disabled"
62+
63+
exclude: [changelog.md, LICENSE.txt, README.md, Gemfile, Gemfile.lock]

_includes/adsense-under-header.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
2+
<!-- Under Header -->
3+
<ins class="adsbygoogle"
4+
style="display:block"
5+
data-ad-client="{{site.adsense-data-ad-client}}"
6+
data-ad-slot="{{site.adsense-data-ad-slot}}"
7+
data-ad-format="auto"
8+
data-full-width-responsive="true"></ins>
9+
<script>
10+
(adsbygoogle = window.adsbygoogle || []).push({});
11+
</script>
12+
<br/>

_includes/disqus.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<section class="disqus">
2+
<div id="disqus_thread"></div>
3+
<script type="text/javascript">
4+
var disqus_shortname = '{{site.disqus}}';
5+
var disqus_developer = 0;
6+
(function() {
7+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
8+
dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';
9+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
10+
})();
11+
</script>
12+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
13+
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
14+
</section>

_includes/featuredbox.html

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<!-- begin post -->
2+
{% assign author = site.authors[post.author] %}
3+
<div class="col-md-6 mb-30px">
4+
<div class="listfeaturedtag h-100">
5+
<div class="row h-100">
6+
<div class="col-12 col-md-12 col-lg-5 pr-lg-0">
7+
<div class="h-100">
8+
<div class="wrapthumbnail">
9+
<a href="{{ site.baseurl }}{{ post.url }}">
10+
{% if site.lazyimages == "enabled" %}
11+
<img class="featured-box-img-cover lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}">
12+
{% else %}
13+
<img class="featured-box-img-cover" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}">
14+
{% endif %}
15+
</a>
16+
</div>
17+
</div>
18+
</div>
19+
<div class="col-12 col-md-12 col-lg-7">
20+
<div class="h-100 card-group">
21+
<div class="card">
22+
<div class="card-body">
23+
<h2 class="card-title">
24+
<a class="text-dark" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
25+
{% if post.rating %}
26+
<div class="mb-2 mt-2 font-weight-normal">
27+
{% include star_rating_postbox.html %}
28+
</div>
29+
{% endif %}
30+
</h2>
31+
32+
<h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:25 }}</h4>
33+
</div>
34+
<div class="card-footer b-0 bg-white mt-auto">
35+
<div class="wrapfooter">
36+
{% if post.author %}
37+
<span class="meta-footer-thumb">
38+
{% if author.avatar %}
39+
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
40+
{% else %}
41+
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
42+
{% endif %}
43+
</span>
44+
<span class="author-meta">
45+
<span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/>
46+
{% endif %}
47+
<span class="post-date">{{ post.date | date_to_string }}</span>
48+
</span>
49+
<span class="post-read-more"><a href="{{ site.baseurl }}/{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
50+
<div class="clearfix"></div>
51+
</div>
52+
</div>
53+
</div>
54+
</div>
55+
</div>
56+
</div>
57+
</div>
58+
</div>
59+
<!-- end post -->

_includes/pagination.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{% if paginator.total_pages > 1 %}
2+
<div class="pagination">
3+
{% if paginator.previous_page %}
4+
<a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a>
5+
{% else %}
6+
<span>&laquo; Prev</span>
7+
{% endif %}
8+
9+
{% for page in (1..paginator.total_pages) %}
10+
{% if page == paginator.page %}
11+
<span class="ml-1 mr-1">{{ page }}</span>
12+
{% elsif page == 1 %}
13+
<a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
14+
{% else %}
15+
<a class="ml-1 mr-1" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
16+
{% endif %}
17+
{% endfor %}
18+
19+
{% if paginator.next_page %}
20+
<a class="ml-1 mr-1" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a>
21+
{% else %}
22+
<span>Next &raquo;</span>
23+
{% endif %}
24+
</div>
25+
{% endif %}

_includes/postbox.html

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<!-- begin post -->
2+
{% assign author = site.authors[post.author] %}
3+
4+
<div class="col-lg-4 col-md-6 mb-30px card-group">
5+
<div class="card h-100">
6+
<div class="maxthumb">
7+
<a href="{{ site.baseurl }}{{ post.url }}">
8+
{% if post.image %}
9+
10+
{% if site.lazyimages == "enabled" %}
11+
<img class="img-fluid lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
12+
{% else %}
13+
<img class="img-fluid" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
14+
{% endif %}
15+
16+
{% endif %}
17+
</a>
18+
</div>
19+
<div class="card-body">
20+
<h2 class="card-title">
21+
<a class="text-dark" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
22+
{% if post.rating %}
23+
<div class="mb-2 mt-2 font-weight-normal">
24+
{% include star_rating_postbox.html %}
25+
</div>
26+
{% endif %}
27+
</h2>
28+
<h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:30 }}</h4>
29+
</div>
30+
<div class="card-footer bg-white">
31+
<div class="wrapfooter">
32+
{% if post.author %}
33+
<span class="meta-footer-thumb">
34+
{% if author.avatar %}
35+
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
36+
{% else %}
37+
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
38+
{% endif %}
39+
</span>
40+
<span class="author-meta">
41+
<span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/>
42+
{% endif %}
43+
<span class="post-date">{{ post.date | date_to_string }}</span>
44+
</span>
45+
<span class="post-read-more"><a href="{{ site.baseurl }}{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
46+
<div class="clearfix"></div>
47+
</div>
48+
</div>
49+
</div>
50+
</div>
51+
<!-- end post -->

0 commit comments

Comments
 (0)