Skip to content

Commit 7b4d014

Browse files
committed
commit initial
1 parent 607963d commit 7b4d014

31 files changed

+653
-0
lines changed

Gemfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
gem "jekyll-theme-chirpy", "~> 7.1"
6+
7+
gem "html-proofer", "~> 5.0", group: :test
8+
9+
platforms :mingw, :x64_mingw, :mswin, :jruby do
10+
gem "tzinfo", ">= 1", "< 3"
11+
gem "tzinfo-data"
12+
end
13+
14+
# gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Cotes Chung
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.

_config.yml

+229
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
1+
# The Site Configuration
2+
3+
# Import the theme
4+
theme: jekyll-theme-chirpy
5+
6+
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
7+
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
8+
# otherwise, the layout language will use the default value of 'en'.
9+
lang: pt-BR
10+
11+
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
12+
timezone:
13+
14+
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
15+
# ↓ --------------------------
16+
17+
title: Paulo Soares # the main title
18+
19+
tagline: CyberSecurity | CTF Player | Bug Bounty | Pentest | Ethical Hacking | Red Team | Bug Hunter | SysAdmin | Linux | Windows # it will display as the subtitle
20+
21+
description: >- # used by seo meta and the atom feed
22+
A minimal, responsive and feature-rich Jekyll theme for technical writing.
23+
24+
# Fill in the protocol & hostname for your site.
25+
# E.g. 'https://username.github.io', note that it does not end with a '/'.
26+
url: "https://soarespaullo.github.io"
27+
28+
github:
29+
username: soarespaullo # change to your GitHub username
30+
31+
twitter:
32+
username: twitter_username # change to your Twitter username
33+
34+
author:
35+
name: Paulo Soares
36+
url: https://github.com/soarespaullo/
37+
38+
social:
39+
# Change to your full name.
40+
# It will be displayed as the default author of the posts and the copyright owner in the Footer
41+
name: Paulo Soares
42+
email: soarespaullo@proton.me # change to your email address
43+
links:
44+
# The first element serves as the copyright owner's link
45+
# - https://twitter.com/username # change to your Twitter homepage
46+
- https://github.com/username # change to your GitHub homepage
47+
# Uncomment below to add more social links
48+
# - https://www.facebook.com/username
49+
# - https://www.linkedin.com/in/username
50+
51+
# Site Verification Settings
52+
webmaster_verifications:
53+
google: # fill in your Google verification code
54+
bing: # fill in your Bing verification code
55+
alexa: # fill in your Alexa verification code
56+
yandex: # fill in your Yandex verification code
57+
baidu: # fill in your Baidu verification code
58+
facebook: # fill in your Facebook verification code
59+
60+
# ↑ --------------------------
61+
# The end of `jekyll-seo-tag` settings
62+
63+
# Web Analytics Settings
64+
analytics:
65+
google:
66+
id: # fill in your Google Analytics ID
67+
goatcounter:
68+
id: # fill in your GoatCounter ID
69+
umami:
70+
id: # fill in your Umami ID
71+
domain: # fill in your Umami domain
72+
matomo:
73+
id: # fill in your Matomo ID
74+
domain: # fill in your Matomo domain
75+
cloudflare:
76+
id: # fill in your Cloudflare Web Analytics token
77+
fathom:
78+
id: # fill in your Fathom Site ID
79+
80+
# Page views settings
81+
pageviews:
82+
provider: # now only supports 'goatcounter'
83+
84+
# Prefer color scheme setting.
85+
#
86+
# Note: Keep empty will follow the system prefer color by default,
87+
# and there will be a toggle to switch the theme between dark and light
88+
# on the bottom left of the sidebar.
89+
#
90+
# Available options:
91+
#
92+
# light — Use the light color scheme
93+
# dark — Use the dark color scheme
94+
#
95+
theme_mode: # [light | dark]
96+
97+
# The CDN endpoint for media resources.
98+
# Notice that once it is assigned, the CDN url
99+
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
100+
#
101+
# e.g. 'https://cdn.com'
102+
cdn:
103+
104+
# the avatar on sidebar, support local or CORS resources
105+
avatar: /assets/img/avatar/profile.jpg
106+
107+
# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
108+
# It can be overridden by a customized `page.image` in front matter.
109+
social_preview_image: # string, local or CORS resources
110+
111+
# boolean type, the global switch for TOC in posts.
112+
toc: true
113+
114+
comments:
115+
# Global switch for the post-comment system. Keeping it empty means disabled.
116+
provider: # [disqus | utterances | giscus]
117+
# The provider options are as follows:
118+
disqus:
119+
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
120+
# utterances settings › https://utteranc.es/
121+
utterances:
122+
repo: # <gh-username>/<repo>
123+
issue_term: # < url | pathname | title | ...>
124+
# Giscus options › https://giscus.app
125+
giscus:
126+
repo: # <gh-username>/<repo>
127+
repo_id:
128+
category:
129+
category_id:
130+
mapping: # optional, default to 'pathname'
131+
strict: # optional, default to '0'
132+
input_position: # optional, default to 'bottom'
133+
lang: # optional, default to the value of `site.lang`
134+
reactions_enabled: # optional, default to the value of `1`
135+
136+
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
137+
assets:
138+
self_host:
139+
enabled: # boolean, keep empty means false
140+
# specify the Jekyll environment, empty means both
141+
# only works if `assets.self_host.enabled` is 'true'
142+
env: # [development | production]
143+
144+
pwa:
145+
enabled: true # The option for PWA feature (installable)
146+
cache:
147+
enabled: true # The option for PWA offline cache
148+
# Paths defined here will be excluded from the PWA cache.
149+
# Usually its value is the `baseurl` of another website that
150+
# shares the same domain name as the current website.
151+
deny_paths:
152+
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
153+
154+
paginate: 10
155+
156+
# The base URL of your site
157+
baseurl: "/blog"
158+
159+
# ------------ The following options are not recommended to be modified ------------------
160+
161+
kramdown:
162+
footnote_backlink: "&#8617;&#xfe0e;"
163+
syntax_highlighter: rouge
164+
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
165+
css_class: highlight
166+
# default_lang: console
167+
span:
168+
line_numbers: false
169+
block:
170+
line_numbers: true
171+
start_line: 1
172+
173+
collections:
174+
tabs:
175+
output: true
176+
sort_by: order
177+
178+
defaults:
179+
- scope:
180+
path: "" # An empty string here means all files in the project
181+
type: posts
182+
values:
183+
layout: post
184+
comments: true # Enable comments in posts.
185+
toc: true # Display TOC column in posts.
186+
# DO NOT modify the following parameter unless you are confident enough
187+
# to update the code of all other post links in this project.
188+
permalink: /posts/:title/
189+
- scope:
190+
path: _drafts
191+
values:
192+
comments: false
193+
- scope:
194+
path: ""
195+
type: tabs # see `site.collections`
196+
values:
197+
layout: page
198+
permalink: /:title/
199+
200+
sass:
201+
style: compressed
202+
203+
compress_html:
204+
clippings: all
205+
comments: all
206+
endings: all
207+
profile: false
208+
blanklines: false
209+
ignore:
210+
envs: [development]
211+
212+
exclude:
213+
- "*.gem"
214+
- "*.gemspec"
215+
- docs
216+
- tools
217+
- README.md
218+
- LICENSE
219+
- "*.config.js"
220+
- package*.json
221+
222+
jekyll-archives:
223+
enabled: [categories, tags]
224+
layouts:
225+
category: category
226+
tag: tag
227+
permalinks:
228+
tag: /tags/:name/
229+
category: /categories/:name/

_data/authors.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Template › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/advanced-usage.md#setting-author-url
2+
# ----------------------------------
3+
soarespaullo:
4+
name: Paulo Soares
5+
twitter: soarespaullo
6+
url: https://github.com/soarespaullo/

_data/contact.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# The contact options.
2+
3+
- type: github
4+
icon: "fab fa-github"
5+
6+
#- type: twitter
7+
# icon: "fa-brands fa-x-twitter"
8+
9+
- type: email
10+
icon: "fas fa-envelope"
11+
noblank: true # open link in current tab
12+
13+
#- type: rss
14+
# icon: "fas fa-rss"
15+
# noblank: true
16+
# Uncomment and complete the url below to enable more contact options
17+
#
18+
# - type: mastodon
19+
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
20+
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
21+
#
22+
# - type: linkedin
23+
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
24+
# url: '' # Fill with your Linkedin homepage
25+
#
26+
# - type: stack-overflow
27+
# icon: 'fab fa-stack-overflow'
28+
# url: '' # Fill with your stackoverflow homepage
29+
#
30+
# - type: bluesky
31+
# icon: 'fa-brands fa-bluesky'
32+
# url: '' # Fill with your Bluesky profile link
33+
#
34+
# - type: reddit
35+
# icon: 'fa-brands fa-reddit'
36+
# url: '' # Fill with your Reddit profile link
37+
#
38+
# - type: threads
39+
# icon: 'fa-brands fa-threads'
40+
# url: '' # Fill with your Threads profile link

_data/share.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Sharing options at the bottom of the post.
2+
# Icons from <https://fontawesome.com/>
3+
4+
platforms:
5+
- type: Twitter
6+
icon: "fa-brands fa-square-x-twitter"
7+
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
8+
9+
- type: Facebook
10+
icon: "fab fa-facebook-square"
11+
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
12+
13+
- type: Telegram
14+
icon: "fab fa-telegram"
15+
link: "https://t.me/share/url?url=URL&text=TITLE"
16+
17+
# Uncomment below if you need to.
18+
#
19+
- type: Linkedin
20+
icon: "fab fa-linkedin"
21+
link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
22+
#
23+
# - type: Weibo
24+
# icon: "fab fa-weibo"
25+
# link: "https://service.weibo.com/share/share.php?title=TITLE&url=URL"
26+
#
27+
# - type: Mastodon
28+
# icon: "fa-brands fa-mastodon"
29+
# # See: https://github.com/justinribeiro/share-to-mastodon#properties
30+
# instances:
31+
# - label: mastodon.social
32+
# link: "https://mastodon.social/"
33+
# - label: mastodon.online
34+
# link: "https://mastodon.online/"
35+
# - label: fosstodon.org
36+
# link: "https://fosstodon.org/"
37+
# - label: photog.social
38+
# link: "https://photog.social/"
39+
#
40+
# - type: Bluesky
41+
# icon: "fa-brands fa-bluesky"
42+
# link: "https://bsky.app/intent/compose?text=TITLE%20URL"
43+
#
44+
# - type: Reddit
45+
# icon: "fa-brands fa-square-reddit"
46+
# link: "https://www.reddit.com/submit?url=URL&title=TITLE"
47+
#
48+
# - type: Threads
49+
# icon: "fa-brands fa-square-threads"
50+
# link: "https://www.threads.net/intent/post?text=TITLE%20URL"

_plugins/posts-lastmod-hook.rb

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env ruby
2+
#
3+
# Check for changed posts
4+
5+
Jekyll::Hooks.register :posts, :post_init do |post|
6+
7+
commit_num = `git rev-list --count HEAD "#{ post.path }"`
8+
9+
if commit_num.to_i > 1
10+
lastmod_date = `git log -1 --pretty="%ad" --date=iso "#{ post.path }"`
11+
post.data['last_modified_at'] = lastmod_date
12+
end
13+
14+
end

_posts/.placeholder

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)