From a00c901650744aa6f41d5a1f2249a8a08c287f99 Mon Sep 17 00:00:00 2001 From: Jishan Shaikh Date: Sat, 10 Jul 2021 20:00:06 +0530 Subject: [PATCH] feat: v1 "working" files added - Repo cards - Interests - Posts X --- CNAME | 1 + Gemfile | 7 + LICENSE.txt | 21 + README.md | 235 +++- SECURITY.md | 21 + _config.yml | 86 ++ _data/colors.json | 1434 +++++++++++++++++++++++++ _data/social_media.yml | 84 ++ _includes/footer.html | 2 + _includes/header.html | 33 + _includes/interests.html | 9 + _includes/masthead.html | 63 ++ _includes/post-card.html | 10 + _includes/projects.html | 27 + _includes/repo-card-independent.html | 34 + _includes/repo-card.html | 21 + _includes/thoughts.html | 9 + _includes/topic-card.html | 35 + _layouts/default.html | 33 + _layouts/home.html | 55 + _layouts/post.html | 70 ++ _posts/2019-01-29-hello-world.md | 75 ++ _posts/2019-01-30-Must-Read-Books.md | 30 + _posts/2019-01-31-Entire-wish-list.md | 21 + _sass/_highlight-syntax.scss | 65 ++ assets/styles.scss | 54 + favicon.ico | Bin 0 -> 1150 bytes index.html | 3 + 28 files changed, 2536 insertions(+), 2 deletions(-) create mode 100644 CNAME create mode 100644 Gemfile create mode 100644 LICENSE.txt create mode 100644 SECURITY.md create mode 100644 _config.yml create mode 100644 _data/colors.json create mode 100644 _data/social_media.yml create mode 100644 _includes/footer.html create mode 100644 _includes/header.html create mode 100644 _includes/interests.html create mode 100644 _includes/masthead.html create mode 100644 _includes/post-card.html create mode 100644 _includes/projects.html create mode 100644 _includes/repo-card-independent.html create mode 100644 _includes/repo-card.html create mode 100644 _includes/thoughts.html create mode 100644 _includes/topic-card.html create mode 100644 _layouts/default.html create mode 100644 _layouts/home.html create mode 100644 _layouts/post.html create mode 100644 _posts/2019-01-29-hello-world.md create mode 100644 _posts/2019-01-30-Must-Read-Books.md create mode 100644 _posts/2019-01-31-Entire-wish-list.md create mode 100644 _sass/_highlight-syntax.scss create mode 100644 assets/styles.scss create mode 100644 favicon.ico create mode 100644 index.html 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.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 %} + + +
+{% 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 0000000000000000000000000000000000000000..dc378c4003f51f21ac55bf4669c95d270901d0d9 GIT binary patch literal 1150 zcmb7^?N3r+7>AE87a+F42_ginT&vC1De6P|CF@gLwX9YxTWia{Tr=bQ(w-*eyh*${+0dT-q-(5GFvzDW=a zf*|Z7Xp44M_Gu9W`flS(r_)&r3k&xUqDrL_^Yin>{Jek3qx*t_0#T>eiA6<4qDG?; zH>*^;DQio&yC>Mu)tTz(ddV8@-DTD?6Eha;6%2YEGwAiKgjQoo3ES^*FlSREYiVy= zxN*CFkZ1TtKfpKk5yPKGQQy!2o7oJD(E#%*Wd^z?N)1MAvslpRa-p~XJ)X2YWonID zT=V-p1E{X9CeH{SAiOS{xV}fM>{qmtCFMTTub-(hOjw_3s>B$Ik6` zG&MQ#y1Nt3M-RwXiC_G)n36&m92>_0I^Rw%$F|B^4)?37D)G)Y4BwY=w7ux0{x#xs zG>PeG3X^jYT&TT-a+`G}!(0YCq4?BCx!sP(&8?UWhA}Z4LRW7;y60NmYuEN5fp~;BDM~>2b!|?My zqcWz$afP>@A;k|ZF1xQxi+ z62h4rcvd*G1n=hw)SNws6Q^q6_WBUy{qZ^RImcuLw|7|aW7%ayvr7sqIa$ifVV2Gd z#FJDP^+$7&