Add move script and update config
parent
373035e71d
commit
a1f0c34fbc
16
config.toml
16
config.toml
|
@ -32,7 +32,7 @@ paginate = 5
|
||||||
|
|
||||||
# set post to show the last updated
|
# set post to show the last updated
|
||||||
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
|
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
|
||||||
showLastUpdated = false
|
showLastUpdated = true
|
||||||
|
|
||||||
# set a custom favicon (default is a `themeColor` square)
|
# set a custom favicon (default is a `themeColor` square)
|
||||||
# favicon = "favicon.ico"
|
# favicon = "favicon.ico"
|
||||||
|
@ -48,7 +48,7 @@ paginate = 5
|
||||||
|
|
||||||
# whether to show a table of contents
|
# whether to show a table of contents
|
||||||
# can be overridden in a page's front-matter
|
# can be overridden in a page's front-matter
|
||||||
# Toc = false # default
|
Toc = true # default
|
||||||
|
|
||||||
# set title for the table of contents
|
# set title for the table of contents
|
||||||
# can be overridden in a page's front-matter
|
# can be overridden in a page's front-matter
|
||||||
|
@ -59,14 +59,14 @@ paginate = 5
|
||||||
# set Twitter handles for Twitter cards
|
# set Twitter handles for Twitter cards
|
||||||
# see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution
|
# see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution
|
||||||
# do not include @
|
# do not include @
|
||||||
creator = ""
|
creator = "Gasper212"
|
||||||
site = ""
|
site = ""
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
title = "Terminal"
|
title = "Welcome!"
|
||||||
subtitle = "A simple, retro theme for Hugo"
|
subtitle = "Hello"
|
||||||
owner = ""
|
owner = ""
|
||||||
keywords = ""
|
keywords = ""
|
||||||
copyright = ""
|
copyright = ""
|
||||||
|
@ -81,3 +81,9 @@ paginate = 5
|
||||||
[languages.en.params.logo]
|
[languages.en.params.logo]
|
||||||
logoText = "blog.spanskiduh.xyz"
|
logoText = "blog.spanskiduh.xyz"
|
||||||
logoHomeLink = "/"
|
logoHomeLink = "/"
|
||||||
|
|
||||||
|
[languages.en.menu]
|
||||||
|
[[languages.en.menu.main]]
|
||||||
|
identifier = "about"
|
||||||
|
name = "About"
|
||||||
|
url = "/about"
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
+++
|
||||||
|
title = "About"
|
||||||
|
date = "2022-12-24"
|
||||||
|
author = "spanskiduh"
|
||||||
|
+++
|
||||||
|
|
||||||
|
# Hi :)
|
||||||
|
|
||||||
|
I am a compsci student at university of Ljubljana.
|
||||||
|
|
||||||
|
This is a simple blog, with all the linux tools I have used throught my life
|
||||||
|
journey. It varies from CTF tools to basic linux sysadmin explanations and usage
|
||||||
|
of terminal commands.
|
||||||
|
|
||||||
|
p.s. search feature is still in the making ;)
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="Clipboard"
|
title="Clipboard"
|
||||||
description="click to read Clipboard"
|
description="click to read about Clipboard"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-12-21"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="Compression"
|
title="Compression"
|
||||||
description="click to read Compression"
|
description="click to read about Compression"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="Curl"
|
title="Curl"
|
||||||
description="click to read Curl"
|
description="click to read about Curl"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="Dig"
|
title="Dig"
|
||||||
description="click to read Dig"
|
description="click to read about Dig"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="Find"
|
title="Find"
|
||||||
description="click to read Find"
|
description="click to read about Find"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-12-21"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="GIT"
|
title="GIT"
|
||||||
description="click to read GIT"
|
description="click to read about GIT"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="Locate"
|
title="Locate"
|
||||||
description="click to read Locate"
|
description="click to read about Locate"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-12-01"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="MPI"
|
title="MPI"
|
||||||
description="click to read MPI"
|
description="click to read about MPI"
|
||||||
+++
|
+++
|
||||||
# MPI
|
# MPI
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-12-21"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="Networking"
|
title="Networking"
|
||||||
description="click to read Networking"
|
description="click to read about Networking"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="SSH"
|
title="SSH"
|
||||||
description="click to read SSH"
|
description="click to read about SSH"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="Tracks"
|
title="Tracks"
|
||||||
description="click to read Tracks"
|
description="click to read about Tracks"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="VFS"
|
title="VFS"
|
||||||
description="click to read VFS"
|
description="click to read about VFS"
|
||||||
+++
|
+++
|
||||||
# VFS
|
# VFS
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="VIM"
|
title="VIM"
|
||||||
description="click to read VIM"
|
description="click to read about VIM"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="adress_space"
|
title="adress_space"
|
||||||
description="click to read adress_space"
|
description="click to read about adress_space"
|
||||||
+++
|
+++
|
||||||
# Adress space
|
# Adress space
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="ansible"
|
title="ansible"
|
||||||
description="click to read ansible"
|
description="click to read about ansible"
|
||||||
+++
|
+++
|
||||||
# Ansible
|
# Ansible
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="bash"
|
title="bash"
|
||||||
description="click to read bash"
|
description="click to read about bash"
|
||||||
+++
|
+++
|
||||||
# Bash
|
# Bash
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="binary-patching"
|
title="binary-patching"
|
||||||
description="click to read binary-patching"
|
description="click to read about binary-patching"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="binary_vs_text_files"
|
title="binary_vs_text_files"
|
||||||
description="click to read binary_vs_text_files"
|
description="click to read about binary_vs_text_files"
|
||||||
+++
|
+++
|
||||||
# Binary vs text files
|
# Binary vs text files
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="burpsuite"
|
title="burpsuite"
|
||||||
description="click to read burpsuite"
|
description="click to read about burpsuite"
|
||||||
+++
|
+++
|
||||||
# BURPSUITE
|
# BURPSUITE
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="certs"
|
title="certs"
|
||||||
description="click to read certs"
|
description="click to read about certs"
|
||||||
+++
|
+++
|
||||||
# CERTS
|
# CERTS
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="disk-usage"
|
title="disk-usage"
|
||||||
description="click to read disk-usage"
|
description="click to read about disk-usage"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="disk-utils"
|
title="disk-utils"
|
||||||
description="click to read disk-utils"
|
description="click to read about disk-utils"
|
||||||
+++
|
+++
|
||||||
# Disk utils
|
# Disk utils
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="docker"
|
title="docker"
|
||||||
description="click to read docker"
|
description="click to read about docker"
|
||||||
+++
|
+++
|
||||||
# Docker
|
# Docker
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="document-conversion"
|
title="document-conversion"
|
||||||
description="click to read document-conversion"
|
description="click to read about document-conversion"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
### Pandoc
|
### Pandoc
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-12-21"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="emacs"
|
title="emacs"
|
||||||
description="click to read emacs"
|
description="click to read about emacs"
|
||||||
+++
|
+++
|
||||||
# Emacs
|
# Emacs
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="exec"
|
title="exec"
|
||||||
description="click to read exec"
|
description="click to read about exec"
|
||||||
+++
|
+++
|
||||||
# EXEC
|
# EXEC
|
||||||
It is a family of functions that do the same thing but actually no.
|
It is a family of functions that do the same thing but actually no.
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="ffmpeg"
|
title="ffmpeg"
|
||||||
description="click to read ffmpeg"
|
description="click to read about ffmpeg"
|
||||||
+++
|
+++
|
||||||
# FFMPEG
|
# FFMPEG
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="forensics"
|
title="forensics"
|
||||||
description="click to read forensics"
|
description="click to read about forensics"
|
||||||
+++
|
+++
|
||||||
# FORENSICS
|
# FORENSICS
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="fork"
|
title="fork"
|
||||||
description="click to read fork"
|
description="click to read about fork"
|
||||||
+++
|
+++
|
||||||
# Fork
|
# Fork
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="gcc"
|
title="gcc"
|
||||||
description="click to read gcc"
|
description="click to read about gcc"
|
||||||
+++
|
+++
|
||||||
# GCC
|
# GCC
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="gdb"
|
title="gdb"
|
||||||
description="click to read gdb"
|
description="click to read about gdb"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="hydra"
|
title="hydra"
|
||||||
description="click to read hydra"
|
description="click to read about hydra"
|
||||||
+++
|
+++
|
||||||
# HYDRA - brute forcing tool
|
# HYDRA - brute forcing tool
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="lxc"
|
title="lxc"
|
||||||
description="click to read lxc"
|
description="click to read about lxc"
|
||||||
+++
|
+++
|
||||||
# LXC
|
# LXC
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="mosquitto"
|
title="mosquitto"
|
||||||
description="click to read mosquitto"
|
description="click to read about mosquitto"
|
||||||
+++
|
+++
|
||||||
# Mosquitto
|
# Mosquitto
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="mount"
|
title="mount"
|
||||||
description="click to read mount"
|
description="click to read about mount"
|
||||||
+++
|
+++
|
||||||
# Mount
|
# Mount
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="named_pipes"
|
title="named_pipes"
|
||||||
description="click to read named_pipes"
|
description="click to read about named_pipes"
|
||||||
+++
|
+++
|
||||||
# Named pipes
|
# Named pipes
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="nmap"
|
title="nmap"
|
||||||
description="click to read nmap"
|
description="click to read about nmap"
|
||||||
+++
|
+++
|
||||||
# NMAP
|
# NMAP
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="pdf"
|
title="pdf"
|
||||||
description="click to read pdf"
|
description="click to read about pdf"
|
||||||
+++
|
+++
|
||||||
# PDF MANIPULATION
|
# PDF MANIPULATION
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="permissions"
|
title="permissions"
|
||||||
description="click to read permissions"
|
description="click to read about permissions"
|
||||||
+++
|
+++
|
||||||
# PERMS
|
# PERMS
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="pipewire"
|
title="pipewire"
|
||||||
description="click to read pipewire"
|
description="click to read about pipewire"
|
||||||
+++
|
+++
|
||||||
# PIPEWIRE
|
# PIPEWIRE
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="powerusage"
|
title="powerusage"
|
||||||
description="click to read powerusage"
|
description="click to read about powerusage"
|
||||||
+++
|
+++
|
||||||
# Check deatiled power usage on linux (common distros have it preinstalled)
|
# Check deatiled power usage on linux (common distros have it preinstalled)
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="proces_sorting_algorithms"
|
title="proces_sorting_algorithms"
|
||||||
description="click to read proces_sorting_algorithms"
|
description="click to read about proces_sorting_algorithms"
|
||||||
+++
|
+++
|
||||||
# Sorting algorithms
|
# Sorting algorithms
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="proxmox"
|
title="proxmox"
|
||||||
description="click to read proxmox"
|
description="click to read about proxmox"
|
||||||
+++
|
+++
|
||||||
# PROXMOX
|
# PROXMOX
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="pwn"
|
title="pwn"
|
||||||
description="click to read pwn"
|
description="click to read about pwn"
|
||||||
+++
|
+++
|
||||||
# PWN
|
# PWN
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="python_specifics"
|
title="python_specifics"
|
||||||
description="click to read python_specifics"
|
description="click to read about python_specifics"
|
||||||
+++
|
+++
|
||||||
# PYTHON SPECIFICS
|
# PYTHON SPECIFICS
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="qemu"
|
title="qemu"
|
||||||
description="click to read qemu"
|
description="click to read about qemu"
|
||||||
+++
|
+++
|
||||||
# Qemu
|
# Qemu
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="regex"
|
title="regex"
|
||||||
description="click to read regex"
|
description="click to read about regex"
|
||||||
+++
|
+++
|
||||||
# REGEX
|
# REGEX
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="rstudio"
|
title="rstudio"
|
||||||
description="click to read rstudio"
|
description="click to read about rstudio"
|
||||||
+++
|
+++
|
||||||
# Rstudio
|
# Rstudio
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="rust"
|
title="rust"
|
||||||
description="click to read rust"
|
description="click to read about rust"
|
||||||
+++
|
+++
|
||||||
# RUST
|
# RUST
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="services-and-process-management"
|
title="services-and-process-management"
|
||||||
description="click to read services-and-process-management"
|
description="click to read about services-and-process-management"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="shell"
|
title="shell"
|
||||||
description="click to read shell"
|
description="click to read about shell"
|
||||||
+++
|
+++
|
||||||
# SHELL SHORTCUTS
|
# SHELL SHORTCUTS
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="squid"
|
title="squid"
|
||||||
description="click to read squid"
|
description="click to read about squid"
|
||||||
+++
|
+++
|
||||||
# SQUID tool
|
# SQUID tool
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="symlinks"
|
title="symlinks"
|
||||||
description="click to read symlinks"
|
description="click to read about symlinks"
|
||||||
+++
|
+++
|
||||||
# Difference between hardlinks and symlinks
|
# Difference between hardlinks and symlinks
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="system-information"
|
title="system-information"
|
||||||
description="click to read system-information"
|
description="click to read about system-information"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-12-21"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="tmux"
|
title="tmux"
|
||||||
description="click to read tmux"
|
description="click to read about tmux"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="uart"
|
title="uart"
|
||||||
description="click to read uart"
|
description="click to read about uart"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="ufw"
|
title="ufw"
|
||||||
description="click to read ufw"
|
description="click to read about ufw"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="vim_tutor"
|
title="vim_tutor"
|
||||||
description="click to read vim_tutor"
|
description="click to read about vim_tutor"
|
||||||
+++
|
+++
|
||||||
# Vim Tutor
|
# Vim Tutor
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="virt-manager"
|
title="virt-manager"
|
||||||
description="click to read virt-manager"
|
description="click to read about virt-manager"
|
||||||
+++
|
+++
|
||||||
# VIRT MANAGER
|
# VIRT MANAGER
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="wasm"
|
title="wasm"
|
||||||
description="click to read wasm"
|
description="click to read about wasm"
|
||||||
+++
|
+++
|
||||||
# Wasm
|
# Wasm
|
||||||
h39df71edfbdc6cfb
|
h39df71edfbdc6cfb
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="wl-mirror"
|
title="wl-mirror"
|
||||||
description="click to read wl-mirror"
|
description="click to read about wl-mirror"
|
||||||
+++
|
+++
|
||||||
# WL-mirror
|
# WL-mirror
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
+++
|
+++
|
||||||
date="2022-12-24"
|
date="2022-11-30"
|
||||||
author="spanskiduh"
|
author="spanskiduh"
|
||||||
title="yaml"
|
title="yaml"
|
||||||
description="click to read yaml"
|
description="click to read about yaml"
|
||||||
+++
|
+++
|
||||||
# YAML
|
# YAML
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
import os
|
||||||
|
import time
|
||||||
|
|
||||||
|
header = {
|
||||||
|
"author": "spanskiduh",
|
||||||
|
}
|
||||||
|
|
||||||
|
MD_NOTES_DIR = "../../md-notes/"
|
||||||
|
POSTS_DIR = "../content/posts/"
|
||||||
|
|
||||||
|
def main():
|
||||||
|
# List all files in md-notes directory
|
||||||
|
for filename in os.listdir(MD_NOTES_DIR):
|
||||||
|
# Check if file is md file
|
||||||
|
if filename.endswith(".md"):
|
||||||
|
# Opent the file and read it
|
||||||
|
with open(MD_NOTES_DIR + filename, "r") as f:
|
||||||
|
# Read the file
|
||||||
|
file = f.read()
|
||||||
|
# Find --- in the file and remove it and content inside ---
|
||||||
|
splited_file = file.split("---")
|
||||||
|
if(len(splited_file) > 2):
|
||||||
|
splited_file = splited_file[2:]
|
||||||
|
# Join the list back to a string
|
||||||
|
file = "".join(splited_file)
|
||||||
|
|
||||||
|
|
||||||
|
header["title"] = filename[:-3]
|
||||||
|
header["description"] = f"click to read about {filename[:-3]}"
|
||||||
|
date_modified = os.path.getmtime(MD_NOTES_DIR + filename)
|
||||||
|
header["date"] = time.strftime("%Y-%m-%d", time.localtime(date_modified))
|
||||||
|
|
||||||
|
# Add the header to the file for hugo to parse
|
||||||
|
file = f"""\r
|
||||||
|
+++
|
||||||
|
date="{header["date"]}"
|
||||||
|
author="{header["author"]}"
|
||||||
|
title="{header["title"]}"
|
||||||
|
description="{header["description"]}"
|
||||||
|
+++
|
||||||
|
{file}"""
|
||||||
|
# Write the file to proc directory
|
||||||
|
with open(POSTS_DIR + filename, "w") as f:
|
||||||
|
f.write(file)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
Loading…
Reference in New Issue