Giter VIP home page Giter VIP logo

anthonyweidai / anthonyweidai.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from academicpages/academicpages.github.io

1.0 1.0 0.0 92 MB

Github Pages template for academic personal websites, forked from academicpages/academicpages.github.io. Take xingjunm/xingjunm.github.io as reference.

Home Page: https://anthonyweidai.github.io

License: MIT License

Ruby 0.26% HTML 23.17% CSS 3.57% JavaScript 37.73% Jupyter Notebook 11.74% Python 4.31% SCSS 19.22%

anthonyweidai.github.io's Introduction

This is a folk from a Github Pages template for academic websites (https://github.com/OleVik/personal-academic-website), which was again forked (then detached) by Stuart Geiger from the Minimal Mistakes Jekyll Theme, which is © 2016 Michael Rose and released under the MIT License. See LICENSE.md. Meanwhile, I took xingjunm/xingjunm.github.io and a-paxton/a-paxton.github.io as reference.

I want to write something for Windows users

Environment configuration

Run Locally

  • Run the following in command windows
bundle clean

(no need to use --force)

bundle install --verbose

In your ruby installing path, like

S:\Ruby27-x64\lib\ruby\gems\2.7.0\gems\eventmachine-1.2.7-x64-mingw32\lib

Add the following command on the first line of the file eventmachine.rb

require 'em/pure_ruby' if not defined?(EventMachine)

or try:

gem uninstall eventmachine
gem install eventmachine --platform ruby
bundle install
  • Run
bundle exec jekyll serve -l --trace

Other bugs fixing advice

Bundler v2 is running, but your lockfile was generated with v1. Installing Bundler v1 and restarting using that version.

Delete Gemfile.lock

Why I can not see icon images such as GitHub icon when I deploy my page?

The cause of the problem is that html webpage cannot find the icons.

What you need to do is: put the following codes in any free space of _includes/head.html, if you fork from my repo, you won't get the problem.

<link rel="stylesheet" href="{{ base_path }}/assets/css/academicons.min.css"/>

and

<script src="https://kit.fontawesome.com/42df25671e.js" crossorigin="anonymous"></script>

I think the character 42df25671e is from my registered account. Thus, you are recommended to register fa account to get your own one. And it is free: https://fontawesome.com/start

Or, you use the wrong code to call it, eg. github icon

<i class="fab fa-github"></i>

I was wrong because I used

<i class="fa fa-github"></i>

Recently, I found that if I doesn't open private network, I also can't see these "Font Awesome icons". In other words, it is nothing about the problem of your source codes.

ERROR NoMethodError: undefined method `key?' for nil

Use gem "jekyll", "3.9.3" in Gemfile

No source of timezone data could be found. Exception on jekyll serve (Uninitialized constant)

`rescue in create_default_data_source': No source of timezone data could be found. (TZInfo::DataSourceNotFound)

Add the following commands in Gemfile

platforms :mingw, :x64_mingw, :mswin, :jruby do
  gem 'tzinfo', '>= 1', '< 3'
  gem 'tzinfo-data'
end

An error occurred while installing wdm (0.1.1), and Bundler cannot continue.

gem install wdm -- --with-cflags=-Wno-implicit-function-declaration
or
gem install wdm --platform=ruby

For more information about pages' icons

The packages are free to use:

Academicons

Font Awesome

anthonyweidai.github.io's People

Contributors

staeiou avatar rjzupkoii avatar anthonyweidai avatar yimingzhaomath avatar aki-nishimura avatar maxgalindo150 avatar dgrahn avatar naveenarun avatar zuoxingdong avatar saravan2 avatar mohit-15 avatar luismmontilla avatar a-paxton avatar jayrobwilliams avatar hainesr avatar sukkaw avatar tlcaputi avatar yany-henry avatar zarela avatar amyzlc avatar bxie avatar johnhandleyd avatar ning-y avatar thiagorr162 avatar qaisjp avatar kc9jud avatar cifkao avatar mborowczak avatar carreau avatar manuelhaussmann avatar

Stargazers

 avatar

Watchers

 avatar

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.