Code Monkey home page Code Monkey logo
Stefan Angelov photo

stevalang Goto Github PK

followers: 5.0 following: 17.0 repos: 38.0 gists: 0.0

Name: Stefan Angelov

Type: User

Company: Stefan Angelov

Bio: Technicals: Machine Learning | Neural Networks | Pandas | MatplotLib | SciPy | Web Scraping | Object-oriented Programming | SQL | Command Line Fluency | Numeric

Location: San Francisco

Portfolio Building Demo

This is an example repository that demos how to build a portfolio using GitHub Pages. The original material is from this repo and then modified for tutorial purpose.

No time to learn?

  1. Fork/copy this repository and change the repo name to username.github.io. For me it is rongpenl.github.io. (5 mins)
  2. Go to src directory, change the portfolio.json file, run the script according to its readme file. (20 mins)
  3. Replace the logos, etc in the image folder. (2 mins)
  4. Change the setting of your repo to GitHub pages (1 mins)
  5. Now you have your portfolio webpage running at username.github.io.

What is a GitHub page?

GitHub page is a static site building service. It enables you to turn a repository into a simple static website. For more details. Please refer to the official GitHub page.

The typical usage of GitHub page includes

  1. Project page like Electronjs.
  2. Personal blog, (a lot of examples).
  3. Personal portfolio, like this one.

Usually there are two ways to maintain a static website.

  1. Modify the html, js and css files directly.
  2. Use a static site generator like Jekyll.

If the website is simple enough like this one, you can modify the html file directly, as I am doing with jinja, but it is almost always encouraged to learn a static website generator. For more information, please refer to the official tutorial using Jekyll with GitHub page.

Change a repository to GitHub page

To turn a normal repository into a GitHub Page repository, go to the Settings tab of the repository and enable the GitHub page option. Do make sure that the repository has a index.md or index.html to show something on the main page of the site. For details, please refer to this tutorial.

If the repository's name is the same as your username, then it can be accessed at https://username.github.io. Otherwise he site can be accessed at https://username.github.io/reponame. For example, this page can be accessed at https://rongpenl.github.io/ZacharyCV/. The former is usually used to create personal portfolio so if your GitHub username looks unprofessional or unrelated to yourself, change it now since it is globally unique and someone else may also want it.

Directory structures

├── css
│   ├── base.css
│   ├── font-awesome
│   ├── fonts.css
│   ├── main.css
│   ├── micons
│   └── vendor.css
├── fonts
│   ├── lora
│   └── poppins
├── images
│   ├── bg.jpg
│   ├── intro-bg.jpg
│   ├── logo.jpeg
│   └── headshot.jpeg
├── index.html
├── index_src.html
├── js
│   ├── jquery-2.1.3.min.js
│   ├── main.js
│   ├── modernizr.js
│   ├── pace.min.js
│   └── plugins.js
├── README.md
├── requirements.txt
├── src
│   ├── index.html
│   ├── populate.py
│   ├── profile.json
│   ├── README.md
│   └── template.html
└── styles.html

Beginners only need to edit the index.html and images.

Add your own materials

For simplicity, there are only the index.html file and images directory that you need to modify. Follow the comments in the index.html file to modify it and monitor the content and look of it in your browser to proceed.

Branching and mergeing

GitHub page will by default use the main or master branch for static webpage rendering. It is suggested that you follow the branching and merging workflow to update contents.

Additional note

Thanks to Zach for allowing me to use his portfolio as example to build this website.

TODO

[x] Add jinja template generation script to avoid direct index.html modification. [ ] Fix some glitches on mobile and wide screens.

Stefan Angelov's Projects

100-pandas-puzzles icon 100-pandas-puzzles

100 data puzzles for pandas, ranging from short and simple to super tricky (60% complete)

acceptorrejectbankoffer icon acceptorrejectbankoffer

Investigation if the client’s offer for term deposit will be accepted or rejected based on provided information.

bestcardeal icon bestcardeal

:moneybag: Scraping, Visualizing, and Analyzing 1,700,000 Entries of Used Cars for Sale on Craigslist to Find The Best Car Deal :car:

coding-lessons icon coding-lessons

Here I'am uploading all the Coding Lessons I have taken so far.

dotfiles icon dotfiles

A set of vim, zsh, git, and tmux configuration files.

handson-ml icon handson-ml

A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in python using Scikit-Learn and TensorFlow.

handson-ml2 icon handson-ml2

A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in Python using Scikit-Learn, Keras and TensorFlow 2.

labs icon labs

This is a collection of tutorials for learning how to use Docker with various tools. Contributions welcome.

prem_prep_oct19_2020 icon prem_prep_oct19_2020

Repository for code and materials from Galvanize Premium Prep, Oct 19, 2020 through Nov 21, 2020

prem_prep_sep08 icon prem_prep_sep08

Repository for code and materials from Galvanize Premium Prep, Sept 08, 2020

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.