Skip to content

Commit 971aad1

Browse files
Merge pull request #1 from jishanshaikh4/v1-init
feat: v1 "working" files added
2 parents 3c5e3eb + a00c901 commit 971aad1

28 files changed

+2536
-2
lines changed

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jishan.codes

Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages', group: :jekyll_plugins
3+
gem "jekyll-github-metadata"
4+
gem "jekyll-octicons"
5+
gem "jemoji"
6+
gem 'webrick'
7+

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2019 GitHub
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 233 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,233 @@
1-
# jishanshaikh4.github.io
2-
Development repo for v1 (Soon to be deprecated)
1+
<html>
2+
<!--
3+
4+
# Get started building your personal website
5+
6+
### Showcase your software development skills
7+
8+
This repository gives you the code you'll need to kickstart a personal website that showcases your work as a software developer. And when you manage the code in a GitHub repository, it will automatically render a webpage with the owner's profile information, including a photo, bio, and repositories.
9+
10+
Your personal website is waiting to be personalized, though. It includes space to highlight your specific areas of interest in software development, like languages or industries. And it's standing by to publish your next great blog post.
11+
12+
It's all possible using the combination of [Jekyll](https://jekyllrb.com/docs/) (for building your website), [GitHub Pages](https://pages.github.com/) (for hosting your website), and [GitHub's API](https://developer.github.com/v3/) (for automatically populating your website with content).
13+
14+
## Installation
15+
16+
### Fork the `github/personal-website` repo
17+
18+
You'll be making your own copy of the "personal website starter" repository so you have your own project to customize. A "fork" is a copy of a repository. So select "Fork" atop [the `github/personal-website` repository](https://github.com/github/personal-website).
19+
20+
Once you've found a home for your forked repository, it's yours. You're the owner, so you're ready to publish, if you wish.
21+
22+
### Install in your local development environment
23+
24+
If you want to manage your website in a local web development environment, you'll be using [Ruby](https://jekyllrb.com/docs/installation/).
25+
26+
Once you've found a home for your forked repository, **[clone it](https://help.github.com/articles/cloning-a-repository/)**.
27+
28+
#### Install Jekyll
29+
30+
Jekyll is a [Ruby Gem](https://jekyllrb.com/docs/ruby-101/#gems) that can be installed on most systems.
31+
32+
1. Install a full [Ruby development environment](https://jekyllrb.com/docs/installation/)
33+
2. Install Jekyll and [bundler](https://jekyllrb.com/docs/ruby-101/#bundler) [gems](https://jekyllrb.com/docs/ruby-101/#gems)
34+
```
35+
gem install jekyll bundler
36+
```
37+
3. Change into your new directory
38+
```
39+
cd personal-website
40+
```
41+
4. Install missing gems
42+
```
43+
bundle install
44+
```
45+
5. Build the site and make it available on a local server
46+
```
47+
bundle exec jekyll serve
48+
```
49+
50+
You should see something like:
51+
52+
```
53+
Configuration file: /octocat/personal-website/_config.yml
54+
Source: /octocat/personal-website
55+
Destination: /octocat/_site
56+
Incremental build: disabled. Enable with --incremental
57+
Generating...
58+
GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
59+
done in 14.729 seconds.
60+
Auto-regeneration: enabled for '/octocat/personal-website'
61+
Server address: http://127.0.0.1:4000
62+
Server running... press ctrl-c to stop.
63+
```
64+
65+
Don't worry about the "No GitHub API authentication could be found" message. [API authentication is only necessary](https://github.com/jekyll/github-metadata/blob/master/docs/authentication.md) if you intend to display more detailed metadata, like a branch name.
66+
67+
6. Now browse to [http://localhost:4000](http://localhost:4000)
68+
69+
### Publish
70+
71+
When you host your personal website's code on GitHub, you get the support of free hosting through GitHub Pages.
72+
73+
**The fastest approach** is to rename your repository `username.github.io`, where `username` is your GitHub username (or organization name). Then, the next time you push any changes to your repository's `master` branch, they'll be accessible on the web at your `username.github.io` address.
74+
75+
**If you want to use a custom domain**, you'll want to add it to your repository's "Custom domain" settings on github.com. And then register and/or [configure your domain with a DNS provider](https://help.github.com/articles/quick-start-setting-up-a-custom-domain/).
76+
77+
## Customization
78+
79+
It's your website, and you control the source code. So you can customize everything, if you like. But we've provided a handful of quick customizations for you to consider as you get your website off the ground.
80+
81+
### Quick configuration changes
82+
83+
Most customizations can be done in a matter of seconds, by revising your repository's `_config.yml` file. Just remember to restart your local server each time you save new changes so your Jekyll-powered website rebuilds correctly:
84+
85+
1. Shut down your server by entering the keyboard command <kbd>CTRL</kbd>+<kbd>c</kbd>
86+
2. Restart your server: `bundle exec jekyll serve`
87+
88+
89+
#### Layout
90+
91+
Your website will display in a two-column layout by default on larger-screen devices, with your photo, name, and basic information displayed in a left-aligned "sidebar." You can quickly switch to a "stacked" single-column layout by changing the line in your `_config.yml` file that reads `layout: sidebar` to `layout: stacked`.
92+
93+
#### Style
94+
95+
Your website appears with a "light" white and gray background by default, with dark text. You can quickly switch to a "dark" background with white text by changing the line in your `_config.yml` file that reads `style: light` to `style: dark`.
96+
97+
#### Projects
98+
99+
The "My Projects" section of your website is generated by default with your nine most recently "pushed" repositories. It also excludes repositories that you forked, by default. But each of these parameters can be quickly customized in your repository's `_config.yml` file, under the `projects` dictionary line.
100+
101+
Parameters include:
102+
103+
- `sort_by`: The method by which repositories are sorted. Options include `pushed` and `stars`.
104+
- `limit`: The maximum number of repositories that will be displayed in the "My Projects" section of your website. Out of the box, this number is set to `9`.
105+
- `exclude`:
106+
- `forks`: When `true`, repositories you've forked will be excluded from the listing.
107+
- `projects`: A list the repository names you want to exclude from the listing.
108+
109+
#### Topics
110+
111+
Your website comes pre-configured with three topics (e.g. "Web design" and "Sass") that appear in a section titled "My Interests." These are also stored in your repository's `_config.yml` file, where you can define each topic's name and two other optional details:
112+
113+
- `web_url`: The web address you'd like to your topic to link to (e.g. `https://github.com/topics/sass`).
114+
- `image_url`: The web address of an (ideally square) image that you'd like to appear with your topic.
115+
116+
#### Social media
117+
118+
Your website supports linking and sharing to social media services you're using, including Behance, Dribbble, Facebook, LinkedIn, Medium, Stack Overflow, Twitter, and YouTube. To identify the services you use:
119+
120+
1. Edit your repository's `_config.yml` file.
121+
2. Edit the `social_media` dictionary line, and represent the services you like in a simple `key: value` form:
122+
123+
```
124+
social_media:
125+
behance: your_username
126+
dribbble: your_username
127+
facebook: your_username
128+
hackerrank: your_username
129+
instagram: your_username
130+
keybase: your_username
131+
linkedin: your_username
132+
medium: your_username
133+
stackoverflow: your_user_id
134+
telegram: your_username
135+
twitter: your_username
136+
unsplash: your_username
137+
vk: your_username
138+
website: http://your_website_url
139+
youtube: your_username
140+
```
141+
142+
Links to your profile for each of the services you define will appear in the `<header>` of your website, appended to your bio. And if those services support sharing, any blog posts that you publish will include links to share that post using each social media service.
143+
144+
**Note**: This feature is supported by two files in your repository:
145+
146+
- `/_data/social_media.yml`: Defines each of the supported services, including variable name, display name, URL path, and SVG icon.
147+
- `/_includes/social_media_share_url.html`: Outputs the share URL required for any of the supported social media services that support sharing URLs.
148+
149+
If you're interested in adding a social media service that's not already supported in this repo, you can edit these two files to build that support.
150+
151+
## Adding pages
152+
153+
To **add a page** to your website (e.g. detailed resume):
154+
155+
1. Create a new `.html` or `.md` file at the root of your repository.
156+
2. Give it a filename that you want to be used in the page's URL (e.g. `http://yoursite.dev/filename`).
157+
3. At the start of your file, include the following [front matter](https://jekyllrb.com/docs/front-matter/):
158+
159+
```
160+
---
161+
layout: default
162+
---
163+
```
164+
165+
## Adding blog posts
166+
167+
To **add a blog post** to your website:
168+
169+
1. Create a new `.md` file in your repository's `/_posts/` directory.
170+
2. Give it a filename using the following format:
171+
172+
```
173+
YEAR-MONTH-DAY-title.MARKUP
174+
```
175+
176+
3. At the start of your file, include the following [front matter](https://jekyllrb.com/docs/front-matter/):
177+
178+
```
179+
---
180+
title: "The title of my blog post"
181+
---
182+
```
183+
184+
Your website comes with a placeholder blog post that you can reference. Notably, its [front matter](https://jekyllrb.com/docs/front-matter/) declares `published` as `false`, so that it won't appear on your website.
185+
186+
While you can define a `layout` in the front matter, your website is pre-configured to assign the `post` layout to all of the posts in your `/_posts/` directory. So you don't have to declare that in your posts.
187+
188+
Jekyll's conventions for authoring and managing blog posts is very flexible. You can [learn more in Jekyll's documentation for "Posts."](https://jekyllrb.com/docs/posts/)
189+
190+
## Content and templates
191+
192+
To give you a sound foundation to start your personal website, your repository includes a handful of "includes" -- dynamic `.html` files that are re-used throughout your website. They're all stored in the `/_includes/` directory.
193+
194+
There are the usual suspects, like `header.html` and `footer.html`. But there are few more worth pointing out:
195+
196+
- `interests.html`: A heading and dynamic list of "My Interests," which is populated with the [topics](#topics) you list in your `_config.yml`.
197+
- `masthead.html`: A collection of your avatar, name, bio, and other metadata that's displayed prominently on all your webpages to help identify what the website is about.
198+
- `post-card.html`: A compact, summarized presentation of a blog post, re-used to display a listing of your latest blog posts.
199+
- `projects.html`: A heading and dynamic list of "My Projects," which is populated with a listing of your newest GitHub repositories.
200+
- `repo-card.html`: A compact, summarized presentation of a repository, re-used to display a listing of your GitHub repositories.
201+
- `thoughts.html`: A heading and dynamic list of "My Thoughts," which is populated with a listing of your latest blog posts.
202+
- `topic-card.html`: A compact, summarized presentation of a topic (defined in your `_config.yml`), re-used to display a listing of your interests.
203+
204+
### Layouts
205+
206+
Your repository comes with three layouts:
207+
208+
- **default**: Not used by any of the built-in pages or posts, but useful for any new pages you create.
209+
- **home**: Used by your `index.html` homepage to display listings of your projects, interests, and (optionally) your blog posts.
210+
- **post**: Used by default by the posts in your `/_posts/` directory.
211+
212+
Jekyll's convention for defining layouts is very flexible. You can [learn more about customizing your layouts in the Jekyll "Layouts" docs.](https://jekyllrb.com/docs/layouts/)
213+
214+
## Styles
215+
216+
Your website is pre-configured to use [GitHub's very flexible CSS framework called "Primer,"](https://styleguide.github.com/primer/). It's currently referenced within your `styles.scss` file, using the CSS import at-rule:
217+
218+
```
219+
@import url('https://unpkg.com/primer/build/build.css');
220+
```
221+
222+
You are, of course, welcome to remove it or replace it with another framework. Just bear in mind that the HTML that your website came pre-packaged with references multiple Primer "utility classes" to define things like column widths, margins, and background colors.
223+
224+
You also have the option to add on to and extend Primer's styles by adding custom CSS to your `/assets/styles.scss` Sass stylesheet. By editing this file, you can customize your website's color scheme, typography, and more.
225+
226+
227+
## License
228+
229+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
230+
231+
232+
!>
233+
</html>

SECURITY.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Use this section to tell people about which versions of your project are
6+
currently being supported with security updates.
7+
8+
| Version | Supported |
9+
| ------- | ------------------ |
10+
| 5.1.x | :white_check_mark: |
11+
| 5.0.x | :x: |
12+
| 4.0.x | :white_check_mark: |
13+
| < 4.0 | :x: |
14+
15+
## Reporting a Vulnerability
16+
17+
Use this section to tell people how to report a vulnerability.
18+
19+
Tell them where to go, how often they can expect to get an update on a
20+
reported vulnerability, what to expect if the vulnerability is accepted or
21+
declined, etc.

_config.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
layout: sidebar
2+
# other options for layout is stacked, sidebar
3+
style: dark
4+
5+
# ADDING SECURITY HEADERS
6+
webrick:
7+
headers:
8+
Referrer-Policy: strict-origin
9+
Content-Security-Policy: frame-ancestors 'none'; default-src 'self'
10+
X-Frame-Options: SAMEORIGIN
11+
Strict-Transport-Security: max-age=15768000;includeSubdomains
12+
X-Content-Type-Options: nosniff
13+
14+
plugins:
15+
- jekyll-octicons
16+
- jekyll-github-metadata
17+
- jemoji
18+
19+
permalink: /:year/:month/:day/:title/
20+
21+
defaults:
22+
-
23+
scope:
24+
path: "" # an empty string here means all files in the project
25+
type: "posts"
26+
values:
27+
layout: "post"
28+
29+
projects:
30+
sort_by: stars
31+
exclude:
32+
archived: false
33+
forks: true
34+
projects:
35+
- blog
36+
- jishanshaikh4.github.io
37+
- is-cv
38+
- sas
39+
40+
# sort_by options:
41+
# - pushed
42+
# - stars
43+
limit: 6
44+
45+
social_media:
46+
# github: jishanshaikh4 NOT WORKING :)
47+
linkedin: jishanshaikh4
48+
instagram: j15h4n
49+
# website: https://jishanshaikh4.github.io/
50+
twitter: jishanshaikh41
51+
hackerrank: jishanshaikh
52+
facebook: zishan.shhaikh
53+
# telegram: jishanshaikh4
54+
dribbble: jishanshaikh4
55+
# behance: your_username
56+
# codepen: jishanshaikh4
57+
# keybase: your_username
58+
# mastodon: your_username
59+
# medium: jishanshaikh4
60+
stackoverflow: 8458465
61+
#telegram: jishanshaikh4
62+
# quora: jishan-shaikh-11
63+
# unsplash: your_username
64+
# vk: your_username
65+
66+
# website: http://jishanshaikh.myartsonline.com
67+
# website: http://jishanshaikh.atwebpages.com/
68+
# youtube: your_username
69+
70+
posts:
71+
- name: xyz
72+
73+
topics:
74+
- name: Machine Learning Papers 2021
75+
web_url: https://www.github.com/jishanshaikh4/ml-papers
76+
image_url: https://upload.wikimedia.org/wikipedia/commons/6/69/EM_Clustering_of_Old_Faithful_data.gif
77+
78+
- name: Learning R for Data Science
79+
web_url: https://en.wikipedia.org/wiki/R
80+
image_url: https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Mandelbrot_Creation_Animation.gif/400px-Mandelbrot_Creation_Animation.gif
81+
82+
- name: Exploring TDD for Python stack
83+
web_url: https://github.com/jishanshaikh4/
84+
image_url: https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/TDD_Global_Lifecycle.png/220px-TDD_Global_Lifecycle.png
85+
86+
theme: jekyll-theme-cayman

0 commit comments

Comments
 (0)