Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
abukhi148 committed Feb 23, 2024
0 parents commit e50cf32
Show file tree
Hide file tree
Showing 3,489 changed files with 63,618 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
78 changes: 78 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.123.2
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/
build/
public/
resources/
.vscode
.hugo_build.lock
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "themes/FixIt"]
path = themes/FixIt
url = https://github.com/hugo-fixit/FixIt.git
ignore = dirty
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# TODO: write some details on the repo and the workflow
17 changes: 17 additions & 0 deletions archetypes/ccna.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: {{ replace .Name "-" " " | title }}
subtitle: ""
description: ""
summary: ""
date: {{ .Date }}
tags: ["CCNA", "networking", "cisco" ,"notes"]
keywords: [""]
categories: ["CCNA"]
type: posts
featuredImagePreview:
comment: false
toc: true
---


<!--more-->
20 changes: 20 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "{{ replace .Name "-" " " | title }}"
subtitle: ""
description: ""
summary: ""
date: {{ .Date }}
tags: [""]
keywords: [""]
categories: [""]
type: posts
resources:
- name: featured-image
src: featured-image.jpg
- name: featured-image-preview
src: featured-image-preview.jpg
comment: false
toc: true
draft: true
---

22 changes: 22 additions & 0 deletions archetypes/favorites.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: {{ replace .Name "-" " " | title }}
subtitle: ""
description: Favorites of {{ replace .Name "-" " " | title }}
summary:
date: {{ .Date }}
tags: ["anime", "music", "gaming", "mtg", "learning"]
keywords: [""]
categories: ["favorites"]
type: posts
resources:
- name: featured-image
src: featured-image.jpg
- name: featured-image-preview
src: featured-image-preview.jpg
comment: false
toc: true
draft: true
---


<!--more-->
22 changes: 22 additions & 0 deletions archetypes/posts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: {{ replace .Name "-" " " | title }}
subtitle: ""
description: ""
summary: ""
date: {{ .Date }}
tags: [""]
keywords: [""]
categories: [""]
type: posts
resources:
- name: featured-image
src: featured-image.jpg
- name: featured-image-preview
src: featured-image-preview.jpg
comment: false
toc: true
draft: true
---


<!--more-->
22 changes: 22 additions & 0 deletions archetypes/projects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: {{ replace .Name "-" " " | title }}
subtitle: ""
description: ""
summary: ""
date: {{ .Date }}
tags: ["project", ""]
keywords: [""]
categories: [""]
type: posts
resources:
- name: featured-image
src: featured-image.jpg
- name: featured-image-preview
src: featured-image-preview.jpg
comment: false
toc: true
draft: true
---


<!--more-->
28 changes: 28 additions & 0 deletions assets/css/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.home {
.profile-ghchart {
width: 100%;
background: #473165;
}

&.posts .summary .content {
display: block;
}
}

.content {
text-align: justify;
}

.single {
.single-subtitle {
color: #bd93f9;
}
.content {
background-image: linear-gradient(90deg, rgba(60, 10, 30, .04) 3%, transparent 0), linear-gradient(1turn, rgba(60, 10, 30, .04) 3%, transparent 0);
background-size: 20px 20px;
background-position: center;
[data-theme='dark'] & {
background-image: linear-gradient(90deg, rgba(195, 245, 215, .04) 3%, transparent 0), linear-gradient(1turn, rgba(195, 245, 215, .04) 3%, transparent 0);
}
}
}
68 changes: 68 additions & 0 deletions assets/css/_override.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// Font and Line Height
$global-font-family: 'VT323', monospace;
$global-font-size: 16px;
$global-font-weight: 400;
$global-line-height: 1.5rem;

// Color of the background
$global-background-color-dark: #251f2d;

// Color of the text
$global-font-color-dark: #ffffff;

// Color of the secondary text
$global-font-secondary-color-dark: #ffffff;

// Color of the border
$global-border-color-dark: #ffffff;

// Color of the header background
$header-background-color-dark: #0a0a0a;

// Color of the link
$global-link-color-dark: #bd93f9;

// Color of the hover link
$global-link-hover-color-dark: #f1fa8c;

// Color of the single link
$single-link-color-dark: #ff79c6;

// Color of the hover single link
$single-link-hover-color-dark: #f1fa8c;

// Color of the link in pagination
$pagination-link-color-dark: #ff79c6;

// Color of the blockquote
$blockquote-color-dark: #f8f8f2;

// ========== Tag Cloud ========== //
// Color range of tag cloud
$tag-cloud-start-dark: #ff79c6;
$tag-cloud-end-dark: #ff79c6;


// ========== Code ========== //
// Color of the code
$code-color-dark: #ffffff;

// Color of the code background
$code-background-color-dark: #282a36;

$code-error-color: #dc3545;

// Color of the hightlight code
$code-hightlight-color-dark: rgba(174, 124, 20, 0.15);

$code-info-color-dark: #50fa7b;

// Font size of the code
$code-font-size: 0.900rem;

// Font family of the code
$code-font-family: 'Fira Code', monospace;


// Font style of the header title
$header-title-font-size: 1.4rem;
31 changes: 31 additions & 0 deletions assets/data/social.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 001: Github
github:
Weight: 1
Prefix: https://github.com/
Title: GitHub
Icon:
Class: fa-brands fa-github-alt fa-fw

# 002: LinkedIn
linkedin:
Weight: 2
Prefix: https://linkedin.com/in/
Title: LinkedIn
Icon:
Class: fa-brands fa-linkedin fa-fw

# 003: Devpost
devpost:
Weight: 3
Title: Devpost
Prefix: https://devpost.com/
Icon:
Class: fa-brands fa-dev

# 004: Email
email:
Weight: 4
Template: mailto:%v
Title: Email
Icon:
Class: fa-regular fa-envelope fa-fw
Binary file added assets/images/ccna/client.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ccna/cloud.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ccna/fiberCable.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ccna/firewall.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ccna/osiModel.jpeg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ccna/router.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ccna/sfp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ccna/switch.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ccna/tcpiposi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions assets/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": [
"../themes/FixIt/assets/*"
]
}
}
}
16 changes: 16 additions & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Hugo Configuration

title = "Copy Pasta with Ali"
baseURL = "https://abukhi148.github.io/"
theme = "FixIt"
defaultContentLanguage = "en"
languageCode = "en"
enableRobotsTXT = true
enableEmoji = true
enableGitInfo = true
relativeURLs = false
buildDrafts = false
summaryLength = 150
enableInlineShortcodes = true
# ignore some build errors
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
3 changes: 3 additions & 0 deletions config/_default/frontmatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Front Matter Configuration

lastmod = ["lastmod", ":git", ":fileModTime", ":defalut"]

0 comments on commit e50cf32

Please sign in to comment.