Skip to content

Commit

Permalink
Test post in english US
Browse files Browse the repository at this point in the history
  • Loading branch information
40tude committed Dec 29, 2024
1 parent 18635c9 commit bce0e4e
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 5 deletions.
80 changes: 78 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Not sure what a .gitignore is?
# See: https://git-scm.com/docs/gitignore
###############################################################################
# From Jekkyll & Just the Docs

# These are directly copied from Jekyll's first-party docs on `.gitignore` files:
# https://jekyllrb.com/tutorials/using-jekyll-with-bundler/#commit-to-source-control
Expand All @@ -13,3 +13,79 @@ _site/
# Ignore folders generated by Bundler
.bundle/
vendor/


###############################################################################
# Specific to 40tude web site

# -----------------------------------------------------------------------------
# directories to ignore
.git/
.vscode/

# **/raw_assets/" ignore all directories no matters where they are
**/raw_assets/



# -----------------------------------------------------------------------------
# Files to ignore


# Large files Size > 100MB (warning at 50MB)
# No way to specify the size in .gitignore
# Get-ChildItem ./ -recurse | where-object {$_.length -gt 100000000} | Sort-Object length | ft fullname, length -auto
# Add below the large files listed with the previous command





###############################################################################
# This may help

# Project stats :
# Total number of files
# Get-ChildItem -Recurse -File | Measure-Object | Select-Object -ExpandProperty Count

# Count the number of files with the extension
# Get-ChildItem -Path "./" -Recurse -Filter "*.py" | Measure-Object | Select-Object -ExpandProperty Count

# Count the number of lines of python code
# Get-ChildItem -Recurse -Filter "*.py" | Get-Content | Measure-Object -Line | Select-Object -ExpandProperty Lines




# Display all files secret*.*
# Get-ChildItem -Path . -Recurse -Force -Filter "secret*.*" | ForEach-Object { $_.FullName }

# Find the project directory size - GitHub 5GB max
# (Get-ChildItem . -Recurse | Measure-Object -Property Length -sum).sum/1GB

# Search for files containing the pattern "AWS_SECRET_ACCESS_KEY" and display the file paths where this pattern is found
# Get-ChildItem -Recurse -File | Select-String -Pattern "AWS_SECRET_ACCESS_KEY" | Select-Object -ExpandProperty Path

# List the 20 largest files in a directory and its subdirectories
# Get-ChildItem -Path . -Recurse | Sort-Object Length -Descending | Select-Object FullName, Length -First 20

# Search for directories named .aws in the current directory and its subdirectories
# Get-ChildItem -Path . -Directory -Recurse -Force | Where-Object { $_.Name -eq ".aws" }

# List all PNG files in a directory and its subdirectories, then display their full paths
# Get-ChildItem -Path . -Filter *.png -Recurse | Select-Object -ExpandProperty FullName

# No longer needed as they no longer exist
# secrets.sh
# secrets.yaml
# python.config

# .aws/
# *.aws
# files like my-keypair.pem (AWS key)
# *.pem

# Docker Compose environment variables
# See https://app.jedha.co/course/docker-reminders-l/docker-compose-l
# *.env
# *.pyc
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ last_edit_timestamp: false # It is set to false because I have my own footer sho
last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html

favicon_ico: "/assets/images/40tude.png"
lang: fr

exclude:
# from https://github.com/jekyll/jekyll/blob/master/lib/site_template/_config.yml:
Expand Down
7 changes: 4 additions & 3 deletions _includes/head_custom.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<html lang="{{ page.lang | default: site.lang | default: " en" }}">
{% assign math = page.math | default: layout.math | default: site.math %}

{% case math %}
{% when "mathjax" %}
{% include mathjax.html %}
{% endcase %}
{% when "mathjax" %}
{% include mathjax.html %}
{% endcase %}
14 changes: 14 additions & 0 deletions docs/billet01.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: default
title: "My first Post"
# math: mathjax
date: 2024-12-29 12:00:00 +0000
last_modified_date: 2024-12-29 12:00:00 +0000
nav_order: 3
lang: eng
---

# Post in English US

Brian is in the k...

0 comments on commit bce0e4e

Please sign in to comment.