From 9fffaebf18236ceeb74356000f9643f8583b36ef Mon Sep 17 00:00:00 2001 From: Quentin Rouland Date: Thu, 9 Jan 2025 15:14:49 +0100 Subject: [PATCH] Initial Commit --- _cobalt.yml | 10 ++++++++ _defaults/pages.md | 10 ++++++++ _defaults/posts.md | 10 ++++++++ _layouts/default.liquid | 13 ++++++++++ _sass/base.scss | 0 _site/index.html | 16 +++++++++++++ _site/rss.xml | 1 + index.md | 10 ++++++++ posts/cheatsheet-nmap.md | 11 +++++++++ posts/cheatsheet-tmux.md | 51 ++++++++++++++++++++++++++++++++++++++++ posts/post-1.md | 10 ++++++++ posts/writeup-box.md | 10 ++++++++ 12 files changed, 152 insertions(+) create mode 100644 _cobalt.yml create mode 100644 _defaults/pages.md create mode 100644 _defaults/posts.md create mode 100644 _layouts/default.liquid create mode 100644 _sass/base.scss create mode 100644 _site/index.html create mode 100644 _site/rss.xml create mode 100644 index.md create mode 100644 posts/cheatsheet-nmap.md create mode 100644 posts/cheatsheet-tmux.md create mode 100644 posts/post-1.md create mode 100644 posts/writeup-box.md diff --git a/_cobalt.yml b/_cobalt.yml new file mode 100644 index 0000000..646f20a --- /dev/null +++ b/_cobalt.yml @@ -0,0 +1,10 @@ + +site: + title: My Dev Blog + description: My Dev Blog + base_url: http://devblog.qrouland.com +posts: + rss: rss.xml +assets: + sass: + style: Nested diff --git a/_defaults/pages.md b/_defaults/pages.md new file mode 100644 index 0000000..ad063cb --- /dev/null +++ b/_defaults/pages.md @@ -0,0 +1,10 @@ +--- +layout: default.liquid +--- +## Blog! + +{% for post in collections.posts.pages %} +#### {{post.title}} + +[{{ post.title }}]({{ post.permalink }}) +{% endfor %} diff --git a/_defaults/posts.md b/_defaults/posts.md new file mode 100644 index 0000000..cf88955 --- /dev/null +++ b/_defaults/posts.md @@ -0,0 +1,10 @@ +--- +layout: default.liquid + +title: First Post +is_draft: true +--- + +# This is our first Post! + +Welcome to the first post ever on cobalt.rs! diff --git a/_layouts/default.liquid b/_layouts/default.liquid new file mode 100644 index 0000000..9ffaed4 --- /dev/null +++ b/_layouts/default.liquid @@ -0,0 +1,13 @@ + + + + + {{ page.title }} + + +
+

{{ page.title }}

+

{{ page.content }}

+

+ + diff --git a/_sass/base.scss b/_sass/base.scss new file mode 100644 index 0000000..e69de29 diff --git a/_site/index.html b/_site/index.html new file mode 100644 index 0000000..c746966 --- /dev/null +++ b/_site/index.html @@ -0,0 +1,16 @@ + + + + + Index + + +
+
+

Index

+

Blog!

+

+
+
+ + diff --git a/_site/rss.xml b/_site/rss.xml new file mode 100644 index 0000000..7f8785c --- /dev/null +++ b/_site/rss.xml @@ -0,0 +1 @@ +My Dev Bloghttp://devblog.qrouland.comMy Dev Blog diff --git a/index.md b/index.md new file mode 100644 index 0000000..ad063cb --- /dev/null +++ b/index.md @@ -0,0 +1,10 @@ +--- +layout: default.liquid +--- +## Blog! + +{% for post in collections.posts.pages %} +#### {{post.title}} + +[{{ post.title }}]({{ post.permalink }}) +{% endfor %} diff --git a/posts/cheatsheet-nmap.md b/posts/cheatsheet-nmap.md new file mode 100644 index 0000000..a595e0f --- /dev/null +++ b/posts/cheatsheet-nmap.md @@ -0,0 +1,11 @@ +--- +title: Nmap Cheat Sheet +layout: default.liquid +categories: ["Cheat Sheet"] +tags: ["cheats heet", "nmap"] +is_draft: true +--- + +```bash +nmap -sV +``` diff --git a/posts/cheatsheet-tmux.md b/posts/cheatsheet-tmux.md new file mode 100644 index 0000000..8560b21 --- /dev/null +++ b/posts/cheatsheet-tmux.md @@ -0,0 +1,51 @@ +--- +title: Tmux Cheat Sheet +layout: default.liquid +categories: ["Cheat Sheet"] +tags: ["cheat sheet", "tmux"] +is_draft: true +--- + +## Commands + +```bash +$ tmux new +$ tmux new -s session_name + +$ tmux attach # Default session +$ tmux attach -t session_name + +$ tmux switch -t session_name + +$ tmux ls # List sessions + +$ tmux detach +``` + +## Panes + +```bash +C-b % # vert +C-b " # horiz +C-b hkjl # navigation +C-b HJKL # resize +C-b o # next window +C-b q # show pane numbers +C-b x # close pane + +C-b { or } # move windows around +``` + +## Windows + +``` bash +C-b c # New window +C-b 1 # Go to window 1 +C-b n # Go to next window +C-b p # Go to previous window +C-b w # List all window +``` + +## References +* [Tmux official wiki](https://github.com/tmux/tmux/wiki) +* [Devhints](https://devhints.io/tmux) \ No newline at end of file diff --git a/posts/post-1.md b/posts/post-1.md new file mode 100644 index 0000000..cf88955 --- /dev/null +++ b/posts/post-1.md @@ -0,0 +1,10 @@ +--- +layout: default.liquid + +title: First Post +is_draft: true +--- + +# This is our first Post! + +Welcome to the first post ever on cobalt.rs! diff --git a/posts/writeup-box.md b/posts/writeup-box.md new file mode 100644 index 0000000..642fd01 --- /dev/null +++ b/posts/writeup-box.md @@ -0,0 +1,10 @@ +--- +title: Box Write Up +layout: default.liquid +categories: ["Write Up"] +tags: ["write up", "linux"] +is_draft: true +--- +# This is our first Post! + +Welcome to the first post ever on cobalt.rs!