diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..a5a04a7 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +jishan.codes \ No newline at end of file diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..984c268 --- /dev/null +++ b/Gemfile @@ -0,0 +1,7 @@ +source 'https://rubygems.org' +gem 'github-pages', group: :jekyll_plugins +gem "jekyll-github-metadata" +gem "jekyll-octicons" +gem "jemoji" +gem 'webrick' + diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..f60a66c --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019 GitHub + +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 index a9f90d5..0472951 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,233 @@ -# jishanshaikh4.github.io -Development repo for v1 (Soon to be deprecated) + + + {% endif %} + + + Résumé + + + +{% endif %} diff --git a/_includes/post-card.html b/_includes/post-card.html new file mode 100644 index 0000000..9cf84d6 --- /dev/null +++ b/_includes/post-card.html @@ -0,0 +1,10 @@ +
+
+

+ + {{ post.title }} + +

+
+
{{ post.date | date: "%b %d, %Y"}}
+
diff --git a/_includes/projects.html b/_includes/projects.html new file mode 100644 index 0000000..f7c3859 --- /dev/null +++ b/_includes/projects.html @@ -0,0 +1,27 @@ +

Recent Works

+

Most recent repositories I'm working on.

+
+ {% if site.projects.sort_by == 'stars' %} + {% assign sort_order = 'stargazers_count', 'last' %} + {% else %} + {% assign sort_order = 'pushed_at' %} + {% endif %} + + {% if site.projects.exclude.archived && site.projects.exclude.forks %} + {% assign filtered_repos = site.github.public_repositories | where:'archived', false | where:'fork', false | sort: sort_order | reverse %} + {% elsif site.projects.exclude.archived %} + {% assign filtered_repos = site.github.public_repositories | where:'archived', false | sort: sort_order | reverse %} + {% elsif site.projects.exclude.forks %} + {% assign filtered_repos = site.github.public_repositories | where:'fork', false | sort: sort_order | reverse %} + {% else %} + {% assign filtered_repos = site.github.public_repositories | sort: sort_order | reverse %} + {% endif %} + + {% for repository in filtered_repos | limit: site.projects.limit %} + {% unless site.projects.exclude.projects contains repository.name %} +
+ {% include repo-card.html %} +
+ {% endunless %} + {% endfor %} +
diff --git a/_includes/repo-card-independent.html b/_includes/repo-card-independent.html new file mode 100644 index 0000000..fd0d1e4 --- /dev/null +++ b/_includes/repo-card-independent.html @@ -0,0 +1,34 @@ +
+ +
+ +
DESCRIPTION_OF_REPOSITORY
+
+ +
+ {% if repository.language %} + + {{ repository.language }} + {% endif %} + + + + + {% if repository.name === "JAAM" %}1.5k{% endif %}578 + + + {% if repository.forks_count %} + + FORKS_COUNT + + {% endif %} + +
+
diff --git a/_includes/repo-card.html b/_includes/repo-card.html new file mode 100644 index 0000000..a6edb39 --- /dev/null +++ b/_includes/repo-card.html @@ -0,0 +1,21 @@ +
+
+ +
{{ repository.description }}
+
+
+ {% if repository.language %} + + {{ repository.language }} + {% endif %} + + +
+
diff --git a/_includes/thoughts.html b/_includes/thoughts.html new file mode 100644 index 0000000..ea63bf0 --- /dev/null +++ b/_includes/thoughts.html @@ -0,0 +1,9 @@ +

My Thoughts

+

Articles I've written.

+
+ {% for post in site.posts limit: 6 %} +
+ {% include post-card.html %} +
+ {% endfor %} +
diff --git a/_includes/topic-card.html b/_includes/topic-card.html new file mode 100644 index 0000000..9daecb6 --- /dev/null +++ b/_includes/topic-card.html @@ -0,0 +1,35 @@ +{% if topic.web_url %} + + {% if topic.image_url %} + {{ topic.name }} + {% else %} +
+ # +
+ {% endif %} + + {% if topic.description %} +

{{ topic.description }}

+ {% endif %} +
+{% else %} +
+ {% if topic.image_url %} + {{ topic.name }} + {% else %} +
+ # +
+ {% endif %} +

{{ topic.name }}

+ {% if topic.description %} +

{{ topic.description }}

+ {% endif %} +
+{% endif %} diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..3b23590 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,33 @@ +{% include header.html %} + +{% if site.layout == 'stacked' %} +
+ {% include masthead.html metadata=false %} + +
+

{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:#0366d6 aria-label:Home %}Home

+

{{ page.title }}

+ {{ content }} +
+
+{% else %} +
+
+ {% include masthead.html metadata=true %} +
+ +
+ +
+
+{% endif %} + +{% include footer.html %} diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 0000000..967fe11 --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,55 @@ +{% include header.html %} + +{% if site.layout == 'stacked' %} +
+ {% include masthead.html metadata=true %} + +
+ {{ content }} +
+ +
+ {% include projects.html %} +
+ + {% if site.topics %} +
+ {% include interests.html %} +
+ {% endif %} + + {% unless posts_total == 0 %} +
+ {% include thoughts.html %} +
+ {% endunless %} +
+{% else %} +
+
+ {% include masthead.html metadata=true %} +
+ +
+
+ {% unless content == "" %} +
+ {{ content }} +
+ {% endunless %} + + {% include projects.html %} + + {% if site.topics %} + {% include interests.html %} + {% endif %} + + {% unless posts_total == 0 %} + {% include thoughts.html %} + {% endunless %} +
+
+
+{% endif %} + +{% include footer.html %} diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..c53e304 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,70 @@ +{% include header.html %} + +{% capture post_body %} + {% if site.social_media %} + {% assign shareable_social_media = '' | split: ',' %} + + {% for account in site.social_media %} + {% assign service_shortname = account[0] %} + {% assign service = site.data.social_media[service_shortname] %} + + {% if service.share_url_prefix %} + {% assign shareable_social_media = shareable_social_media | push: service %} + {% endif %} + {% endfor %} + + {% assign total_shareable_services = shareable_social_media | size %} + + {% if total_shareable_services > 0 %} +
+

Share

+ +
+ {% endif %} + {% endif %} +
+ {{ content }} +
+{% endcapture %} + +{% if site.layout == 'stacked' %} +
+ {% include masthead.html metadata=false %} + +
+

{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:#0366d6 aria-label:Home %}Home

+

{{ page.title }}

+

Published {{ page.date | date: "%b %d, %Y"}}

+ {{ post_body }} +
+
+{% else %} +
+
+ {% include masthead.html metadata=true %} +
+ +
+
+
+
+

{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home

+

{{ page.title }}

+

Published {{ page.date | date: "%b %d, %Y"}}

+ {{ post_body }} +
+
+
+
+
+{% endif %} + +{% include footer.html %} diff --git a/_posts/2019-01-29-hello-world.md b/_posts/2019-01-29-hello-world.md new file mode 100644 index 0000000..ff44314 --- /dev/null +++ b/_posts/2019-01-29-hello-world.md @@ -0,0 +1,75 @@ +--- +title: "Welcome to Jekyll!" +published: false +--- + +**Hello world**, this is my first Jekyll blog post. + +I hope you like it! + +# Highlighter +## Ruby +```ruby +def show + puts "Outputting a very lo-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-ong lo-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-ong line" + @widget = Widget(params[:id]) + respond_to do |format| + format.html # show.html.erb + format.json { render json: @widget } + end +end +``` + +## Php +```php + +``` + +## Java +```java +public class java { + public static void main(String[] args) { + System.out.println("Hello World"); + } +} +``` + +## HTML +```html + + Title! + +

Hello, World!

+ + + + +``` + +## Console +```console +# prints "hello, world" to the screen +~# echo Hello, World +Hello, World + +# don't run this +~# rm -rf --no-preserve-root / +``` + +## Css +```css +body { + font-size: 12pt; + background: #fff url(temp.png) top left no-repeat; +} +``` + +## Yaml +```yaml +--- +one: Mark McGwire +two: Sammy Sosa +three: Ken Griffey +``` diff --git a/_posts/2019-01-30-Must-Read-Books.md b/_posts/2019-01-30-Must-Read-Books.md new file mode 100644 index 0000000..ee8ca37 --- /dev/null +++ b/_posts/2019-01-30-Must-Read-Books.md @@ -0,0 +1,30 @@ +--- +title: "Must Read Books for Programmers" +published: false +--- +TAGS: #Top #Books #Readings #Must + +15 Minute Read. + +LAST UPDATED: 7 October 2019 + +TL; DR + +**UNDER CONSTRUCTION** + +This is my list of "must read" books for programmers or in general for developers. + +- Programming Expertise (General) + - xyz + - ab +- Web Development + - JS + - CSS + - Frameworks +- Technical Interviews + - Cracking the Coding Interview by Gayle Laakmaan McDowell (6e) + - Competitive Programming by Steven Halim (3e) +- Software Engineering +- User Interface and User Experience (UI & UX) +- Soft Skills + diff --git a/_posts/2019-01-31-Entire-wish-list.md b/_posts/2019-01-31-Entire-wish-list.md new file mode 100644 index 0000000..2e54536 --- /dev/null +++ b/_posts/2019-01-31-Entire-wish-list.md @@ -0,0 +1,21 @@ +--- +title: "Things to do at least once in life" +published: false +--- +TAGS: #Top #Things #AtLeast #Must + +15 Minute Read. + +LAST UPDATED: 7 October 2019 + +TL; DR + +**UNDER CONSTRUCTION** + +This is my so called "wish list"; the items of which are contributing to a whole dream. The list is endless as a human's greed. + +- Write a book (Technical or Non-technical) +- Compose a song + Record a song +- Create a video* +- Write an article to be published on a news-paper +- Coming soon... diff --git a/_sass/_highlight-syntax.scss b/_sass/_highlight-syntax.scss new file mode 100644 index 0000000..3889da8 --- /dev/null +++ b/_sass/_highlight-syntax.scss @@ -0,0 +1,65 @@ +.highlight { width: 100%; overflow: auto; background: #ffffff; } +.highlight .c { color: #999988; font-style: italic } /* Comment */ +.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ +.highlight .k { font-weight: bold } /* Keyword */ +.highlight .o { font-weight: bold } /* Operator */ +.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ +.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */ +.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ +.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #aa0000 } /* Generic.Error */ +.highlight .gh { color: #999999 } /* Generic.Heading */ +.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ +.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */ +.highlight .go { color: #888888 } /* Generic.Output */ +.highlight .gp { color: #555555 } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #aaaaaa } /* Generic.Subheading */ +.highlight .gt { color: #aa0000 } /* Generic.Traceback */ +.highlight .kc { font-weight: bold } /* Keyword.Constant */ +.highlight .kd { font-weight: bold } /* Keyword.Declaration */ +.highlight .kp { font-weight: bold } /* Keyword.Pseudo */ +.highlight .kr { font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */ +.highlight .m { color: #009999 } /* Literal.Number */ +.highlight .s { color: #d14 } /* Literal.String */ +.highlight .na { color: #008080 } /* Name.Attribute */ +.highlight .nb { color: #0086B3 } /* Name.Builtin */ +.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */ +.highlight .no { color: #008080 } /* Name.Constant */ +.highlight .ni { color: #800080 } /* Name.Entity */ +.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */ +.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */ +.highlight .nn { color: #555555 } /* Name.Namespace */ +.highlight .nt { color: #000080 } /* Name.Tag */ +.highlight .nv { color: #008080 } /* Name.Variable */ +.highlight .ow { font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mf { color: #009999 } /* Literal.Number.Float */ +.highlight .mh { color: #009999 } /* Literal.Number.Hex */ +.highlight .mi { color: #009999 } /* Literal.Number.Integer */ +.highlight .mo { color: #009999 } /* Literal.Number.Oct */ +.highlight .sb { color: #d14 } /* Literal.String.Backtick */ +.highlight .sc { color: #d14 } /* Literal.String.Char */ +.highlight .sd { color: #d14 } /* Literal.String.Doc */ +.highlight .s2 { color: #d14 } /* Literal.String.Double */ +.highlight .se { color: #d14 } /* Literal.String.Escape */ +.highlight .sh { color: #d14 } /* Literal.String.Heredoc */ +.highlight .si { color: #d14 } /* Literal.String.Interpol */ +.highlight .sx { color: #d14 } /* Literal.String.Other */ +.highlight .sr { color: #009926 } /* Literal.String.Regex */ +.highlight .s1 { color: #d14 } /* Literal.String.Single */ +.highlight .ss { color: #990073 } /* Literal.String.Symbol */ +.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #008080 } /* Name.Variable.Class */ +.highlight .vg { color: #008080 } /* Name.Variable.Global */ +.highlight .vi { color: #008080 } /* Name.Variable.Instance */ +.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ + +/* Make line numbers unselectable: excludes line numbers from copy-paste user ops */ +.highlight .lineno {-webkit-user-select: none;-moz-user-select: none; -o-user-select: none;} +.lineno::-moz-selection {background-color: transparent;} /* Mozilla specific */ +.lineno::selection {background-color: transparent;} /* Other major browsers */ diff --git a/assets/styles.scss b/assets/styles.scss new file mode 100644 index 0000000..0067f16 --- /dev/null +++ b/assets/styles.scss @@ -0,0 +1,54 @@ +--- +--- +@import url('https://unpkg.com/primer/build/build.css'); +@import 'highlight-syntax'; + + +// If a user adds a custom font, this component will stop it from bleeding into GitHub components: +.github-component { + font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol !important; +} + +.repo-language-color { + filter: brightness(125%) !important; + border-radius: 50%; + display: inline-block; + height: 12px; + position: relative; + top: 2px; + width: 12px; +} + +.emoji { + width: 18px; + height: auto; + vertical-align: middle; +} + +.article { + h1, h2, h3, h4, + .highlight { + margin-bottom: 16px; + } + + blockquote { + color: #6a737d; + border-left: 2px solid #959da5; + padding-left: 16px; + margin-bottom: 16px; + } + + ul, ol { + padding-left: 32px; + margin-bottom: 16px; + } + + li ul, li ol { + padding-left: 16px; + margin-bottom: 0px; + } +} + +.min-height-full { + min-height: 100vh; +} diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..dc378c4 Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..e4d427d --- /dev/null +++ b/index.html @@ -0,0 +1,3 @@ +--- +layout: home +---