Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
261e267
Create pages-deploy.yml
ampls-911 Aug 19, 2025
bf412ff
chore: add pages-deploy.yml workflow
ampls-911 Aug 19, 2025
e42d793
Update pages-deploy.yml
ampls-911 Aug 19, 2025
37f17b1
Delete .github/workflows/commitlint.yml
ampls-911 Aug 19, 2025
f572264
Update _config.yml
ampls-911 Aug 19, 2025
92cda72
Update _config.yml
ampls-911 Aug 19, 2025
a9ac50b
Update _config.yml
ampls-911 Aug 19, 2025
1fbd33e
Update _config.yml
ampls-911 Aug 19, 2025
7bece4f
Update _config.yml
ampls-911 Aug 19, 2025
c08040c
Update _config.yml
ampls-911 Aug 19, 2025
3376243
Update contact.yml
ampls-911 Aug 19, 2025
909363e
Update contact.yml
ampls-911 Aug 19, 2025
ea71b6c
Update contact.yml
ampls-911 Aug 19, 2025
6ca276e
Add files via upload
ampls-911 Aug 19, 2025
82053ed
Update _config.yml
ampls-911 Aug 19, 2025
025e78c
Update _config.yml
ampls-911 Aug 19, 2025
118761c
Update _config.yml
ampls-911 Aug 19, 2025
5a12e57
Create test.md
ampls-911 Aug 19, 2025
e38ba2e
Rename test.md to 2025-08-19-test.md
ampls-911 Aug 19, 2025
0d0c7f4
Update 2025-08-19-test.md
ampls-911 Aug 19, 2025
e1da33a
Create 2025-08-19-testz.md
ampls-911 Aug 19, 2025
af7aab7
Update 2025-08-19-testz.md
ampls-911 Aug 19, 2025
815a0e2
Update 2025-08-19-testz.md
ampls-911 Aug 19, 2025
398098a
Update 2025-08-19-testz.md
ampls-911 Aug 19, 2025
d6c143c
Update 2025-08-19-test.md
ampls-911 Aug 19, 2025
8d4eae4
Update 2025-08-19-testz.md
ampls-911 Aug 19, 2025
0ee9a18
Update 2025-08-19-testz.md
ampls-911 Aug 19, 2025
0fe7076
Create 2025-08-19-bwip.md
ampls-911 Aug 19, 2025
6fd5721
Delete _posts/2025-08-19-testz.md
ampls-911 Aug 19, 2025
2674cc0
Delete _posts/2019-08-08-text-and-typography.md
ampls-911 Aug 19, 2025
e2dda09
Delete _posts/2019-08-08-write-a-new-post.md
ampls-911 Aug 19, 2025
5a8a6b5
Delete _posts/2019-08-09-getting-started.md
ampls-911 Aug 19, 2025
2e8e3d6
Delete _posts/2019-08-11-customize-the-favicon.md
ampls-911 Aug 19, 2025
06e589b
Delete _posts/2025-08-19-test.md
ampls-911 Aug 19, 2025
4e36ae7
Update about.md
ampls-911 Aug 19, 2025
8fa18c2
Create 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
04c417c
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
e02235c
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
85d1716
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
5f0728f
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
7cb508c
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
c335f89
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
2a6ad06
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
c3d7432
Create custom.css
ampls-911 Aug 20, 2025
cdecf0e
Update _config.yml
ampls-911 Aug 20, 2025
629fc23
Update custom.css
ampls-911 Aug 20, 2025
5198470
Update jekyll-theme-chirpy.scss
ampls-911 Aug 20, 2025
9be231d
Update _config.yml
ampls-911 Aug 20, 2025
913474d
Update jekyll-theme-chirpy.scss
ampls-911 Aug 20, 2025
29ec8b6
Update jekyll-theme-chirpy.scss
ampls-911 Aug 20, 2025
0c36ffa
Update _config.yml
ampls-911 Aug 20, 2025
d84a752
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
32f101b
Update img-loading.js
ampls-911 Aug 20, 2025
2f64219
Update jekyll-theme-chirpy.scss
ampls-911 Aug 20, 2025
efdaa1c
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
0166f09
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
6e489f5
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
5c07705
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
a64aa40
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
dd5eef7
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
f24fe27
Delete _posts/2025-08-19-bwip.md
ampls-911 Aug 20, 2025
9edf242
Update 2025-08-20-Cheese_CTF.md
ampls-911 Aug 20, 2025
67f338b
Add files via upload
ampls-911 Aug 20, 2025
3a4875d
Delete assets/img/favicons/android-chrome-192x192.png
ampls-911 Aug 20, 2025
6527494
Delete assets/img/favicons/android-chrome-512x512.png
ampls-911 Aug 20, 2025
a140287
Delete assets/img/favicons/browserconfig.xml
ampls-911 Aug 20, 2025
f3f78df
Delete assets/img/favicons/favicon-16x16.png
ampls-911 Aug 20, 2025
b2433c1
Delete assets/img/favicons/favicon-32x32.png
ampls-911 Aug 20, 2025
26cd327
Delete assets/img/favicons/mstile-150x150.png
ampls-911 Aug 20, 2025
cb170ff
Update about.md
ampls-911 Aug 20, 2025
3d5fca3
Update about.md
ampls-911 Aug 20, 2025
fe4b9d5
Create 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
0faf5b1
Update 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
f2e88ae
Update 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
2993839
Update 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
463785e
Update 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
fc6c553
Update 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
f20ed0c
Update 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
981e1a4
Update 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
8a356cc
Update 2025-08-22-Expose.md
ampls-911 Aug 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/commitlint.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Pages build and deployment

on:
push:
branches:
- master # Set this to your default branch
workflow_dispatch:

jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2

- name: Install dependencies
run: |
gem install bundler
bundle install

- name: Build site
run: bundle exec jekyll build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./_site
175 changes: 38 additions & 137 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,163 +3,66 @@
# Import the theme
theme: jekyll-theme-chirpy

# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
# otherwise, the layout language will use the default value of 'en'.
lang: en

# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
timezone: Asia/Shanghai

# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
# ↓ --------------------------

title: Chirpy # the main title
aos:
enabled: false

tagline: A text-focused Jekyll theme # it will display as the subtitle
# Language & Timezone
lang: en
timezone: Africa/Tunis

description: >- # used by seo meta and the atom feed
A minimal, responsive and feature-rich Jekyll theme for technical writing.
# SEO settings
title: ampls
tagline: "Cybersecurity Insights & Reports"
description: >-
A personal site dedicated to cybersecurity writeups, tutorials, and reports by Garaali Mohamed Amine.

# Fill in the protocol & hostname for your site.
# E.g. 'https://username.github.io', note that it does not end with a '/'.
url: ""
url: "https://ampls-911.github.io"

github:
username: github_username # change to your GitHub username

twitter:
username: twitter_username # change to your Twitter username
username: "ampls-911"

social:
# Change to your full name.
# It will be displayed as the default author of the posts and the copyright owner in the Footer
name: your_full_name
email: [email protected] # change to your email address
name: "Garaali Mohamed Amine"
email: "[email protected]"
links:
# The first element serves as the copyright owner's link
- https://twitter.com/username # change to your Twitter homepage
- https://github.com/username # change to your GitHub homepage
# Uncomment below to add more social links
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username

# Site Verification Settings
webmaster_verifications:
google: # fill in your Google verification code
bing: # fill in your Bing verification code
alexa: # fill in your Alexa verification code
yandex: # fill in your Yandex verification code
baidu: # fill in your Baidu verification code
facebook: # fill in your Facebook verification code

# ↑ --------------------------
# The end of `jekyll-seo-tag` settings

# Web Analytics Settings
analytics:
google:
id: # fill in your Google Analytics ID
goatcounter:
id: # fill in your GoatCounter ID
umami:
id: # fill in your Umami ID
domain: # fill in your Umami domain
matomo:
id: # fill in your Matomo ID
domain: # fill in your Matomo domain
cloudflare:
id: # fill in your Cloudflare Web Analytics token
fathom:
id: # fill in your Fathom Site ID

# Page views settings
pageviews:
provider: # now only supports 'goatcounter'

# Prefer color scheme setting.
#
# Note: Keep empty will follow the system prefer color by default,
# and there will be a toggle to switch the theme between dark and light
# on the bottom left of the sidebar.
#
# Available options:
#
# light — Use the light color scheme
# dark — Use the dark color scheme
#
theme_mode: # [light | dark]

# The CDN endpoint for media resources.
# Notice that once it is assigned, the CDN url
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
#
# e.g. 'https://cdn.com'
cdn: "https://chirpy-img.netlify.app"
- https://www.linkedin.com/in/mohamed-amine-garaali-aa49a6350
- https://github.com/ampls-911

# the avatar on sidebar, support local or CORS resources
avatar: "/commons/avatar.jpg"

# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
# It can be overridden by a customized `page.image` in front matter.
social_preview_image: # string, local or CORS resources
# Theme & appearance
theme_mode: dark
cdn: "https://chirpy-img.netlify.app"
avatar: "https://raw.githubusercontent.com/ampls-911/ampls-911.github.io/master/assets/ampls.jpg"
social_preview_image:

# boolean type, the global switch for TOC in posts.
# Global site options
toc: true

# Comments system disabled
comments:
# Global switch for the post-comment system. Keeping it empty means disabled.
provider: # [disqus | utterances | giscus]
# The provider options are as follows:
disqus:
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
# utterances settings › https://utteranc.es/
utterances:
repo: # <gh-username>/<repo>
issue_term: # < url | pathname | title | ...>
# Giscus options › https://giscus.app
giscus:
repo: # <gh-username>/<repo>
repo_id:
category:
category_id:
mapping: # optional, default to 'pathname'
strict: # optional, default to '0'
input_position: # optional, default to 'bottom'
lang: # optional, default to the value of `site.lang`
reactions_enabled: # optional, default to the value of `1`

# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
provider:

# Self-hosted assets (disabled)
assets:
self_host:
enabled: # boolean, keep empty means false
# specify the Jekyll environment, empty means both
# only works if `assets.self_host.enabled` is 'true'
env: # [development | production]
enabled: false

# PWA (installable app)
pwa:
enabled: true # The option for PWA feature (installable)
enabled: true
cache:
enabled: true # The option for PWA offline cache
# Paths defined here will be excluded from the PWA cache.
# Usually its value is the `baseurl` of another website that
# shares the same domain name as the current website.
deny_paths:
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
enabled: true
deny_paths: []

# Pagination
paginate: 10

# The base URL of your site
baseurl: ""

# ------------ The following options are not recommended to be modified ------------------

# Markdown & code settings
kramdown:
footnote_backlink: "&#8617;&#xfe0e;"
syntax_highlighter: rouge
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
syntax_highlighter_opts:
css_class: highlight
# default_lang: console
span:
line_numbers: false
block:
Expand All @@ -173,22 +76,20 @@ collections:

defaults:
- scope:
path: "" # An empty string here means all files in the project
path: ""
type: posts
values:
layout: post
comments: true # Enable comments in posts.
toc: true # Display TOC column in posts.
# DO NOT modify the following parameter unless you are confident enough
# to update the code of all other post links in this project.
comments: false
toc: true
permalink: /posts/:title/
- scope:
path: _drafts
values:
comments: false
- scope:
path: ""
type: tabs # see `site.collections`
type: tabs
values:
layout: page
permalink: /:title/
Expand Down
38 changes: 4 additions & 34 deletions _data/contact.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,10 @@
# The contact options.

- type: github
icon: "fab fa-github"

- type: twitter
icon: "fa-brands fa-x-twitter"

- type: email
icon: "fas fa-envelope"
noblank: true # open link in current tab

- type: rss
icon: "fas fa-rss"
noblank: true
# Uncomment and complete the url below to enable more contact options
#
# - type: mastodon
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
#
# - type: linkedin
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
# url: '' # Fill with your Linkedin homepage
#
# - type: stack-overflow
# icon: 'fab fa-stack-overflow'
# url: '' # Fill with your stackoverflow homepage
#
# - type: bluesky
# icon: 'fa-brands fa-bluesky'
# url: '' # Fill with your Bluesky profile link
#
# - type: reddit
# icon: 'fa-brands fa-reddit'
# url: '' # Fill with your Reddit profile link
#
# - type: threads
# icon: 'fa-brands fa-threads'
# url: '' # Fill with your Threads profile link

- type: linkedin
icon: 'fab fa-linkedin'
url: 'https://www.linkedin.com/in/mohamed-amine-garaali-aa49a6350/'
22 changes: 14 additions & 8 deletions _javascript/modules/components/img-loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
const ATTR_DATA_SRC = 'data-src';
const ATTR_DATA_LQIP = 'data-lqip';

const cover = {
SHIMMER: 'shimmer',
BLUR: 'blur'
};
// Remove shimmer/blur references
// const cover = {
// SHIMMER: 'shimmer',
// BLUR: 'blur'
// };

function removeCover(clzss) {
this.parentElement.classList.remove(clzss);
Expand All @@ -19,11 +20,15 @@ function handleImage() {
return;
}

// Only remove blur if present
if (this.hasAttribute(ATTR_DATA_LQIP)) {
removeCover.call(this, cover.BLUR);
} else {
removeCover.call(this, cover.SHIMMER);
// removeCover.call(this, cover.BLUR);
this.parentElement.classList.remove('blur');
}
// Remove shimmer references entirely
// else {
// removeCover.call(this, cover.SHIMMER);
// }
}

/**
Expand All @@ -49,7 +54,8 @@ export function loadImg() {
// Images loaded from the browser cache do not trigger the 'load' event
document.querySelectorAll('article img[loading="lazy"]').forEach((img) => {
if (img.complete) {
removeCover.call(img, cover.SHIMMER);
// removeCover.call(img, cover.SHIMMER);
img.parentElement.classList.remove('shimmer');
}
});

Expand Down
Loading
Loading