Skip to content

Commit 363e794

Browse files
committed
init
Signed-off-by: husharp <[email protected]>
1 parent bef7b2b commit 363e794

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+5025
-1
lines changed

.DS_Store

10 KB
Binary file not shown.

CNAME

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

Gemfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
gemspec
6+
7+
gem 'wdm', '~> 0.1.0' if Gem.win_platform?
8+
gem 'jekyll-seo-tag'
9+
gem 'jekyll-sitemap'
10+
gem 'jekyll-feed'
11+
gem 'jekyll'
12+
gem 'webrick'

Gemfile.lock

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
PATH
2+
remote: .
3+
specs:
4+
HuSharp (0.0.1)
5+
jekyll (> 3.5, < 5.0)
6+
jekyll-seo-tag (~> 2.0)
7+
8+
GEM
9+
remote: https://rubygems.org/
10+
specs:
11+
addressable (2.8.4)
12+
public_suffix (>= 2.0.2, < 6.0)
13+
colorator (1.1.0)
14+
concurrent-ruby (1.2.2)
15+
em-websocket (0.5.3)
16+
eventmachine (>= 0.12.9)
17+
http_parser.rb (~> 0)
18+
eventmachine (1.2.7)
19+
ffi (1.15.5)
20+
forwardable-extended (2.6.0)
21+
google-protobuf (3.22.3-arm64-darwin)
22+
http_parser.rb (0.8.0)
23+
i18n (1.13.0)
24+
concurrent-ruby (~> 1.0)
25+
jekyll (4.3.2)
26+
addressable (~> 2.4)
27+
colorator (~> 1.0)
28+
em-websocket (~> 0.5)
29+
i18n (~> 1.0)
30+
jekyll-sass-converter (>= 2.0, < 4.0)
31+
jekyll-watch (~> 2.0)
32+
kramdown (~> 2.3, >= 2.3.1)
33+
kramdown-parser-gfm (~> 1.0)
34+
liquid (~> 4.0)
35+
mercenary (>= 0.3.6, < 0.5)
36+
pathutil (~> 0.9)
37+
rouge (>= 3.0, < 5.0)
38+
safe_yaml (~> 1.0)
39+
terminal-table (>= 1.8, < 4.0)
40+
webrick (~> 1.7)
41+
jekyll-feed (0.17.0)
42+
jekyll (>= 3.7, < 5.0)
43+
jekyll-sass-converter (3.0.0)
44+
sass-embedded (~> 1.54)
45+
jekyll-seo-tag (2.8.0)
46+
jekyll (>= 3.8, < 5.0)
47+
jekyll-sitemap (1.4.0)
48+
jekyll (>= 3.7, < 5.0)
49+
jekyll-watch (2.2.1)
50+
listen (~> 3.0)
51+
kramdown (2.4.0)
52+
rexml
53+
kramdown-parser-gfm (1.1.0)
54+
kramdown (~> 2.0)
55+
liquid (4.0.4)
56+
listen (3.8.0)
57+
rb-fsevent (~> 0.10, >= 0.10.3)
58+
rb-inotify (~> 0.9, >= 0.9.10)
59+
mercenary (0.4.0)
60+
pathutil (0.16.2)
61+
forwardable-extended (~> 2.6)
62+
public_suffix (5.0.1)
63+
rb-fsevent (0.11.2)
64+
rb-inotify (0.10.1)
65+
ffi (~> 1.0)
66+
rexml (3.2.5)
67+
rouge (4.1.0)
68+
safe_yaml (1.0.5)
69+
sass-embedded (1.62.1-arm64-darwin)
70+
google-protobuf (~> 3.21)
71+
terminal-table (3.0.2)
72+
unicode-display_width (>= 1.1.1, < 3)
73+
unicode-display_width (2.4.2)
74+
webrick (1.8.1)
75+
76+
PLATFORMS
77+
arm64-darwin-21
78+
79+
DEPENDENCIES
80+
HuSharp!
81+
jekyll
82+
jekyll-feed
83+
jekyll-seo-tag
84+
jekyll-sitemap
85+
webrick
86+
87+
BUNDLED WITH
88+
2.3.9

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 HuSharp
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 all
13+
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 THE
21+
SOFTWARE.

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,39 @@
1-
# HuSharp.github.io
1+
# HuSharp's Page
2+
3+
Personal site. A remake of [Xinye Tao's Page](https://tabokie.github.io/) with jekyll.
4+
5+
Run `bundle install` followed by `bundle exec jekyll serve` to serve locally.
6+
7+
## Memo
8+
9+
Front matter for normal blog post (named `/_posts/yyyy-mm-dd-name.md`):
10+
```
11+
---
12+
layout: blog
13+
title: Old Blog
14+
category: admin
15+
---
16+
```
17+
18+
Tentative catogorization for blogposts:
19+
20+
- tech: skills and facts only
21+
- review: single, concrete target, e.g. paper, film, device
22+
- fiction
23+
- non-fiction
24+
25+
Front matter for topic post (named `/_(sub)topics/uuid.md`):
26+
```
27+
---
28+
layout: blog
29+
title: Master Topic
30+
childs:
31+
- /subtopics/uuid
32+
---
33+
```
34+
35+
Referencing blog post:
36+
37+
```
38+
[A Related Post](/tag/yyyy/mm/dd/name.html)
39+
```

_config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
collections:
2+
topics:
3+
output: true
4+
subtopics:
5+
output: true
6+
plugins:
7+
- jekyll-seo-tag
8+
- jekyll-sitemap
9+
- jekyll-feed

_data/navigation.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
- name: Home
2+
link: /
3+
- name: Index
4+
link: /
5+
- name: Blogs
6+
link: /blogs.html
7+
- name: Topics
8+
link: /topics.html

_includes/folder

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<div markdown="0">
2+
<a href="#{{uid}}" id="{{uid}}">{{include.title}}</a>
3+
<div markdown="1" class="foldable">
4+
{% assign uid = uid | plus: 1 %}

_includes/footer.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<footer>
2+
<span class="hidden-text">
3+
<blockquote>Copyright 2023 Jinhao Hu. Any and all opinions listed here are my own and not representative of my employers; future, past and present.</blockquote>
4+
</span>
5+
<br />
6+
</footer>

0 commit comments

Comments
 (0)