Skip to content

Commit

Permalink
miscellaneous
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-bash committed Feb 19, 2024
1 parent 3ad0c14 commit d70e976
Show file tree
Hide file tree
Showing 13 changed files with 500 additions and 264 deletions.
2 changes: 1 addition & 1 deletion .frontmatter/database/taxonomyDb.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"taxonomy":{"categories":[" ","-","H","Nany","Posts","T","a","cheetsheet","d","e","github","guides","home","j","k","l","machine-setup","n","n00b","notes","o","p","posts","quest","quests","quickstart","s","search","t","u","w","y"]}}
{"taxonomy":{"categories":[" ","-","H","Nany","Posts","Programming","T","a","about","art","bootstrap","c","cheetsheet","d","e","github","guides","h","hello world","hobbies","home","i","j","jekyll","k","l","m","machine-setup","n","n00b","notes","o","p","posts","quest","quests","quickstart","s","search","t","u","w","x","y"],"tags":["000","001","B","CDN","Custom Domain","DNS","Diagram","Disqus","Extension","Flowchart","Gantt","GitHub Copilot","GitHub Pages","GitLab Pages","Github Pages","Google Analytics","Highlighting","Jekyll","Liquid","Lunr.js","Markdown","MathJax","Mathematic","Mermaid","Nanobar","Netlify","Pagination","Performance","Personal Site","Port","Progress Bar","Ruby","SEO","Search","Security","ShareThis","Social Share","Travis CI","VS Code","Windows10","a","article","bash","cheatsheet","contributing","github","github pages","highlight.js","hobbies","how-to","index","jekyll","linux","macOS","migration","note","notes","o","p","powershell","r","s","script","sharex","shell","t","travis ci","webflow","winget"]}}
75 changes: 72 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,78 @@
---
title: contributing
description: "This page will describe the process and requirements to contribute to this repository"
lastmod: '2021-10-27T17:32:59.526Z'
title: Contributing
description: This is how to contribute.
slug: contributing
lastmod: 2024-02-19T20:18:29.010Z
---

## Contributing

Build the repository

Test your changes

Create a pull request

## Prerequisites

- A cup of coffee or your favorite beverage to keep you energized.
- A positive attitude and a sense of curiosity.
- A sense of adventure and a willingness to explore new tools and technologies.
- A growth mindset and a willingness to embrace challenges and learn from mistakes.
- A sense of humor and the ability to laugh at unexpected errors and bugs.
- A supportive community or network of friends and colleagues to ask for help and share your progress.
- A clear goal and motivation to build a useful and practical extension.
- A spirit of creativity and a desire to express yourself through code and technology.
- A sense of responsibility and a commitment to ethical and inclusive software development practices.
- A sense of empathy and a desire to create tools that benefit others and make the world a better place.
- A sense of gratitude and appreciation for the opportunities and resources that enable you to learn and grow.
- A sense of wonder and a curiosity about the possibilities of AI and machine learning in software development.
- A sense of purpose and a vision for how your extension can help developers be more productive and creative.
- A sense of determination and a willingness to persevere through challenges and setbacks.
- A sense of humility and a willingness to learn from others and share your knowledge with the community.
- A sense of optimism and a belief in the potential of technology to improve people's lives and create positive change.
- A sense of fun and a spirit of playfulness to make the learning process enjoyable and engaging.
- A sense of balance and a commitment to taking breaks and caring for your well-being while working on the extension.
- A sense of completion and a desire to celebrate your achievements and share your extension with the world.
- A sense of anticipation and excitement to see how your extension can make a difference in the developer community.
- A sense of satisfaction and fulfillment from creating something that brings joy and value to others.
- A sense of connection and belonging in the global community of developers and creators.
- A sense of possibility and a belief in your ability to create something meaningful and impactful.

## Contributing

Build the repository

Test your changes

Create a pull request

## Prerequisites

- A cup of coffee or your favorite beverage to keep you energized.
- A positive attitude and a sense of curiosity.
- A sense of adventure and a willingness to explore new tools and technologies.
- A growth mindset and a willingness to embrace challenges and learn from mistakes.
- A sense of humor and the ability to laugh at unexpected errors and bugs.
- A supportive community or network of friends and colleagues to ask for help and share your progress.
- A clear goal and motivation to build a useful and practical extension.
- A spirit of creativity and a desire to express yourself through code and technology.
- A sense of responsibility and a commitment to ethical and inclusive software development practices.
- A sense of empathy and a desire to create tools that benefit others and make the world a better place.
- A sense of gratitude and appreciation for the opportunities and resources that enable you to learn and grow.
- A sense of wonder and a curiosity about the possibilities of AI and machine learning in software development.
- A sense of purpose and a vision for how your extension can help developers be more productive and creative.
- A sense of determination and a willingness to persevere through challenges and setbacks.
- A sense of humility and a willingness to learn from others and share your knowledge with the community.
- A sense of optimism and a belief in the potential of technology to improve people's lives and create positive change.
- A sense of fun and a spirit of playfulness to make the learning process enjoyable and engaging.
- A sense of balance and a commitment to taking breaks and caring for your well-being while working on the extension.
- A sense of completion and a desire to celebrate your achievements and share your extension with the world.
- A sense of anticipation and excitement to see how your extension can make a difference in the developer community.
- A sense of satisfaction and fulfillment from creating something that brings joy and value to others.
- A sense of connection and belonging in the global community of developers and creators.
- A sense of possibility and a belief in your ability to create something meaningful and impactful.

This is how to contribute.

## Prep
Expand Down
13 changes: 12 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ gem 'jekyll' , '3.9.2'
# uncomment the line below. To upgrade, run `bundle update github-pages`.

# dependancies https://pages.github.com/versions/
# https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll#installing-jekyll
# , group: :jekyll_plugins

# If you have any jekyll plugins, put them here!
Expand Down Expand Up @@ -44,14 +45,24 @@ end
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
# gem "webrick"
# gem 'eventmachine', github: 'eventmachine/eventmachine'
# gem "eventmachine" --platform ruby
end
# gem "eventmachine", "1.2.0"

# Live Reload Compatibility
# platforms :x64-mingw32 do
# gem "eventmachine" ~> 1.2.7
# end

# Performance-booster for watching directories on Windows
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
# gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Mac OS compatibility fix
gem "webrick", "~> 1.7"

# gem "webrick", "~> 1.7"
# gem "rack", ">= 2.1.4"

# gem "jekyll-postcss"
Expand Down
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
---
title: it-journey
description: it-journey
excerpt: it-journey
version: 0.0.0
date-released: 2022-03-01
url: https://github.com/bamr87/it-journey
tags: []
license: MIT
lastmod: 2024-02-15T01:16:11.554Z
created: 2022-03-01T12:00:00.000Z
---


Branch | Build Status
---------|---------
Master | [![Build Status](https://app.travis-ci.com/bamr87/it-journey.svg?branch=master)](https://app.travis-ci.com/bamr87/it-journey)
gh-pages | [![Build Status](https://app.travis-ci.com/bamr87/it-journey.svg?branch=gh-pages)](https://app.travis-ci.com/bamr87/it-journey)


# README

Welcome to the source code reposoity for it-journey.dev.
Expand Down Expand Up @@ -47,10 +67,6 @@ Thank you for being part of IT-Journey.dev - Your Pathway to IT Mastery!

This template provides a clear and engaging overview of the site, its contents, and how users can contribute. You can tailor it to fit the specific features and guidelines of "it-journey.dev."

Branch | Build Status
---------|---------
Master | [![Build Status](https://app.travis-ci.com/bamr87/it-journey.svg?branch=master)](https://app.travis-ci.com/bamr87/it-journey)
gh-pages | [![Build Status](https://app.travis-ci.com/bamr87/it-journey.svg?branch=gh-pages)](https://app.travis-ci.com/bamr87/it-journey)

## Abstract

Expand Down
7 changes: 6 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ logo_source : &logo_source "https://www.it-journey.dev"
teaser : /assets/images/teaser_default-500x300.png # path of fallback teaser image, e.g. "/assets/images/500x300.png"
breadcrumbs : true # true, false (default)
words_per_minute : 200
_posts_file_structure : "year-month-day-title.md"



## Identity #####################################################################

Expand Down Expand Up @@ -167,7 +170,9 @@ plugins:
- jekyll-sitemap
- jekyll-assets
- jekyll-algolia
- jekyll-mermaid # https://mermaidjs.github.io/
- jekyll-mermaid # https://mermaidjs.github.io/
- jekyll-admin # https://github.com/jekyll/jekyll-admin
- jekyll-redirect-from

# - jekyll-spaceship
# - jemoji # Doesn't work for some reason
Expand Down
36 changes: 15 additions & 21 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ main:
sublinks:
- title: "home"
url: /notes
- title: "shell"
url: /notes/shell
- title: "Javascript"
url: /notes/js
- title: "Jekyll"
url: /notes/jekyll
# - title: *test
- title: "About"
url: /about/
Expand All @@ -88,21 +82,21 @@ main:
- title: "Map"
url: /about/sitemap

# Notes
notes:
- title: "Notes"
url: /notes
sublinks:
- title: "home"
url: /notes
- title: "Shell"
url: /notes/shell
- title: "programming cs"
url: /notes/cheatsheets/programming
- title: "bootstrap cs"
url: /notes/cheatsheets/bootstrap
- title: "liquid cs"
url: /notes/cheatsheets/bootstrap
# # Notes
# notes:
# - title: "Notes"
# url: /notes
# sublinks:
# - title: "home"
# url: /notes
# - title: "Shell"
# url: /notes/shell
# - title: "programming cs"
# url: /notes/cheatsheets/programming
# - title: "bootstrap cs"
# url: /notes/cheatsheets/bootstrap
# - title: "liquid cs"
# url: /notes/cheatsheets/bootstrap

# Quick Start
quickstart:
Expand Down
2 changes: 1 addition & 1 deletion _includes/dev-shortcuts.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<i class="bi bi-github"></i>
<!-- https://icons.getbootstrap.com/icons/github/ -->
</a>
<a class="btn bg-primary" href="https://vscode.dev/github/{{ site.repository_name }}/blob/master/{{ page_dir }}/{{ page.path }}">
<a class="btn bg-primary" href="https://github.dev/{{site.repository}}/blob/master/{{ page_dir }}/{{ page.path }}">
<i class="bi bi-microsoft"></i>
<!-- https://icons.getbootstrap.com/icons/microsoft/ -->
</a>
Expand Down
27 changes: 25 additions & 2 deletions _includes/sidebar-left.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,31 @@ <h5 class="offcanvas-title" id="bdSidebarOffcanvasLabel">Browse docs</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close" data-bs-target="#bdSidebar"></button>
</div>

<!-- Left Sidebar Nav List -->
<div class="offcanvas-body">
<!-- dynamic listing of notes in side bar -->

<div class="d-flex">
<div class="border-end bg-white" id="sidebar-wrapper">
<div class="list-group list-group-flush">
{% if page.collection == "notes" %}
{% assign collection = site.collections | where: "label", page.collection | first %}
<div class="list-group list-group-flush">
{% for doc in collection.docs %}
{% assign folder = doc.path | split: '/' | first %}
{% unless folders contains folder %}
<!-- Output the folder name if you want -->
{% assign folders = folders | push: folder %}
{% endunless %}
<a href="{{ doc.url }}" class="list-group-item list-group-item-action ">{{ doc.title }}</a>
{% endfor %}
</div>
{% endif %}
</div>
</div>
</div>

<!-- Left Sidebar Nav List -->
<div class="offcanvas-body">

<nav class="bd-links w-100" id="bd-docs-nav">

<!-- Source Code Control Shortcuts - Site and Nav -->
Expand Down
46 changes: 45 additions & 1 deletion frontmatter.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
{
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.content.pageFolders": [
{
"title": "pages",
"path": "[[workspace]]/pages"
},
{
"title": "it-journey",
"path": "[[workspace]]"
},
{
"title": "_about",
"path": "[[workspace]]/pages/_about"
},
{
"title": "_docs",
"path": "[[workspace]]/pages/_docs"
},
{
"title": "_hobbies",
"path": "[[workspace]]/pages/_hobbies"
},
{
"title": "_notes",
"path": "[[workspace]]/pages/_notes"
},
{
"title": "_posts",
"path": "[[workspace]]/pages/_posts"
},
{
"title": "_quests",
"path": "[[workspace]]/pages/_quests"
},
{
"title": "_quickstart",
"path": "[[workspace]]/pages/_quickstart"
},
{
"title": "pages",
"path": "[[workspace]]/pages"
Expand Down Expand Up @@ -156,5 +192,13 @@
}
]
}
]
],
"frontMatter.content.snippets": {
"Test Snippet": {
"description": "test",
"body": "echo \"hello World\"",
"fields": []
}
},
"frontMatter.preview.host": "http://localhost:4000"
}
6 changes: 6 additions & 0 deletions pages/_notes/folder_test/sub_folder_test/test_file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: test
lastmod: 2024-02-19T18:04:59.582Z
---

## Test
11 changes: 2 additions & 9 deletions pages/_notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Notes Index
description: Notes Index
layout: collection
permalink: /notes/
lastmod: 2023-03-11T20:53:36.032Z
lastmod: 2024-02-19T16:46:41.137Z
---

# Quick Start
Expand Down Expand Up @@ -269,18 +269,11 @@ https://icons.getbootstrap.com/#install

## OS Based instructions

{% mac %}
TODO: find a way to include OS based instructions using liquid tags

These instructions are pertinent to Mac users.

{% endmac %}
{% linux %}

These instructions are pertinent to Linux users.

{% endlinux %}
{% windows %}

These instructions are pertinent to Windows users.

{% endwindows %}
Loading

0 comments on commit d70e976

Please sign in to comment.