Skip to content

Commit

Permalink
Adding content
Browse files Browse the repository at this point in the history
  • Loading branch information
U-INDEL09\kaushik.roy authored and U-INDEL09\kaushik.roy committed Nov 16, 2017
0 parents commit a39c072
Show file tree
Hide file tree
Showing 207 changed files with 9,358 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_site
.DS_Store
*.sublime-project
*.sublime-workspace
codekit-config.json
node_modules
_asset_bundler_cache
.sass-cache
.jekyll-metadata
20 changes: 20 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"bitwise": true,
"browser": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"es5": false,
"esnext": true,
"immed": true,
"jquery": true,
"latedef": true,
"newcap": true,
"noarg": true,
"node": true,
"strict": false,
"trailing": false,
"undef": true,
"multistr": true,
"expr": true
}
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Skinny Bones Gemfile
source "https://rubygems.org"

gem "jekyll"
gem "jekyll-sitemap"
gem "jekyll-gist"
gem "jekyll-feed"
70 changes: 70 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
faraday (0.13.1)
multipart-post (>= 1.2, < 3)
ffi (1.9.18)
ffi (1.9.18-x64-mingw32)
forwardable-extended (2.6.0)
jekyll (3.6.0)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 3)
safe_yaml (~> 1.0)
jekyll-feed (0.9.2)
jekyll (~> 3.3)
jekyll-gist (1.4.1)
octokit (~> 4.2)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
jekyll-sitemap (1.1.1)
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
kramdown (1.15.0)
liquid (4.0.0)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
mercenary (0.3.6)
multipart-post (2.0.0)
octokit (4.7.0)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.0)
forwardable-extended (~> 2.6)
public_suffix (3.0.0)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (2.2.1)
safe_yaml (1.0.4)
sass (3.5.2)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)

PLATFORMS
ruby
x64-mingw32

DEPENDENCIES
jekyll
jekyll-feed
jekyll-gist
jekyll-sitemap

BUNDLED WITH
1.15.4
103 changes: 103 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
'use strict';
module.exports = function(grunt) {

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
options: {
jshintrc: '.jshintrc'
},
all: [
'Gruntfile.js',
'js/*.js',
'!js/main.js'
]
},
watch: {
js: {
files: [
'<%= jshint.all %>'
],
tasks: ['jshint', 'uglify', 'surround'],
options: {
livereload: true
}
},
},
uglify: {
dist: {
options: {
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' + '<%= grunt.template.today("yyyy-mm-dd") %> */',
compress: true,
beautify: false,
mangle: false
},
files: {
'js/main.js': [
'js/plugins/*.js',
'js/_*.js'
]
}
}
},
surround: {
src: 'js/main.js',
options: {
overwrite: true,
prepend: '---\n---',
},
},
imagemin: {
dist: {
options: {
optimizationLevel: 7,
progressive: true
},
files: [{
expand: true,
cwd: 'images/',
src: '{,*/}*.{png,jpg,jpeg}',
dest: 'images/'
}]
}
},
imgcompress: {
dist: {
options: {
optimizationLevel: 7,
progressive: true
},
files: [{
expand: true,
cwd: 'images/',
src: '{,*/}*.{png,jpg,jpeg}',
dest: 'images/'
}]
}
},
svgmin: {
dist: {
files: [{
expand: true,
cwd: 'images/',
src: '{,*/}*.svg',
dest: 'images/'
}]
}
},
});

// Load tasks
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-newer');
grunt.loadNpmTasks('grunt-contrib-imagemin');
grunt.loadNpmTasks('grunt-svgmin');
grunt.loadNpmTasks('grunt-imgcompress');
grunt.loadNpmTasks('grunt-surround');

// Register tasks
grunt.registerTask('scripts', ['watch', 'uglify']);
grunt.registerTask('images', ['newer:imgcompress', 'newer:svgmin']);
};
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 Michael Rose

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.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Programmer's Notes
## Thanks to 'Skinny Bones Jekyll', nice theme for Github Pages.

Personal notes on some common programs asked in interviews and other competitive examinations for selection purposes. Programs are in Java and sometimes in Scala too. There are no gaurantees about the correctness of these. These should be treated as notes only.

These notes no way depict the superiority of either of the programming languages used. I don't have the authority to do so.

---

## List of Programs:

* Jekyll 3.x and GitHub Pages compatible.
* Stylesheet built using Sass.
* Data files for easier customization of the site navigation/footer and for supporting multiple authors.
* Optional Disqus comments, table of contents, social sharing links, and Google AdSense ads.
* And more.
63 changes: 63 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Site wide configuration

title: "Programmer's Notes"
description: "Notes on common problems in Java and Scala as well!"
logo: 120x120.gif
teaser: 400x250.gif
locale: en_US
url: "https://mmistakes.github.io/skinny-bones-jekyll"
feed:
path: atom.xml

# Jekyll configuration

sass:
sass_dir: _sass
style: compressed
permalink: /:categories/:title/
kramdown:
toc_levels: 1..2
highlighter: rouge
# plugins: [jekyll-sitemap, jekyll-gist, jekyll-feed]
plugins: [jekyll-sitemap, jekyll-gist]


# Site owner
owner:
name: "Kaushik Roy"
web: "https://github.com/kaushikrroy"
twitter: "kaushikrroy"
bio: "Just another boring, lazy, implicit programmer."
#avatar: "bio-photo.jpg" # 160x160 px image for author byline
google:
plus: "+kaushikrroy"
#ad-client: "ca-pub-7328585512091257"
#ad-slot: 3049671934
disqus-shortname:


include:
- .htaccess
exclude:
- "*.less"
- "*.sublime-project"
- "*.sublime-workspace"
- .asset-cache
- .bundle
- .jekyll-assets-cache
- .sass-cache
- CHANGELOG
- Capfile
- Gemfile
- Gruntfile.js
- LICENSE
- README
- Rakefile
- config
- gulpfile.js
- lib
- log
- node_modules
- package.json
- spec
- tmp
29 changes: 29 additions & 0 deletions _data/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Authors

kaushik_roy:
name: Kaushik Roy
web: http://kaushikrroy.github.io
email: [email protected]
bio: "Life is meaningless after three days without programming!"
twitter: kaushikrroy
google:
plus: +kaushikrroy

billy_rick:
name: Billy Rick
web: http://thewhip.com
email: [email protected]
bio: "What do you want, jewels? I am a very extravagant man."
avatar: bio-photo.jpg
twitter: extravagantman
google:
plus: +BillyRick

cornelius_fiddlebone:
name: Cornelius Fiddlebone
email: [email protected]
bio: "I ordered what?"
avatar: bio-photo.jpg
twitter: rhymeswithsackit
google:
plus: +CorneliusFiddlebone
13 changes: 13 additions & 0 deletions _data/footer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Footer navigation links

- title: Home
url: /

- title: Getting Started
url: /getting-started/

- title: About
url: /about/

- title: Terms
url: /terms/
16 changes: 16 additions & 0 deletions _data/messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Messages for localization
# see description here: https://tuananh.org/2014/08/13/localization-with-jekyll/

locales:
# English translation
# -------------------
en: &DEFAULT_EN
overview: "Overview"
toc: "Table of Contents"
written_by: "Written by"
updated: "Updated"
share: "Share on"
en_US:
<<: *DEFAULT_EN # use English translation for en_US
en_UK:
<<: *DEFAULT_EN # use English translation for en_UK
Loading

0 comments on commit a39c072

Please sign in to comment.