diff --git a/content/_index.md b/content/_index.md deleted file mode 100644 index 8240ae9..0000000 --- a/content/_index.md +++ /dev/null @@ -1,43 +0,0 @@ -+++ -title = 'Casual Blog' -draft = false -+++ - -  - - - -## Why do You want to read my blog? - -I write __short__ and clutterless aricles for people like me. If you are into: - - hacking - - technology - - learning - -then you will learn new things based on my research and experience. -The best part - it's completely free! - - -## Who Am I? - -Hi, I am __Casual__ - minimalist and [hacker](https://en.wikipedia.org/wiki/A_Hacker_Manifesto). -I do pentesting and counseling. -Also I love learning new stuff! - -[Learn more.](/whoami/casual/) - -  -  -  -  -  - ---- -  - -[Telegram mirror](https://t.me/allcasualblog) - -[RSS](https://blog.ca.sual.in/index.xml) - - - diff --git a/content/hacking/HowTo_learn_hacking.md b/content/hacking/HowTo_learn_hacking.md index 3904e08..b8511f8 100644 --- a/content/hacking/HowTo_learn_hacking.md +++ b/content/hacking/HowTo_learn_hacking.md @@ -5,7 +5,7 @@ date = 2024-05-03 -It's my personal hacking learning strategy: +It's my personal hacking learning strategy: - Superficially recognize how it is done - you need to find familiar concepts - Read OWASP Top-10 for it - Gather methodology on testing from various sources diff --git a/content/hacking/HowTo_start_simple_http_server.md b/content/hacking/HowTo_start_simple_http_server.md index 4a3c349..ac36e7f 100644 --- a/content/hacking/HowTo_start_simple_http_server.md +++ b/content/hacking/HowTo_start_simple_http_server.md @@ -4,6 +4,8 @@ date = 2024-04-23 draft = false +++ +Start HTTP server in 1 command! + ### Python3 `python -m http.server PORT` diff --git a/content/index.md b/content/index.md new file mode 100644 index 0000000..db7cae0 --- /dev/null +++ b/content/index.md @@ -0,0 +1,12 @@ +Hi, I'm Casual. Jack of all trades, master of none. + +I write __short__ and clutterless aricles about: + - hacking + - technology + - productivity + +  + +--- +  +## All posts diff --git a/content/personal/limitations.md b/content/personal/limitations.md index 36f18df..4fefe29 100644 --- a/content/personal/limitations.md +++ b/content/personal/limitations.md @@ -4,4 +4,5 @@ date = 2024-03-08T14:01:49+03:00 draft = false +++ -Well, the first real post is about constrains - usually it's quicker to follow them, then bypass them. As a pentester I find it strange contradicting to my *nature*, but the time saved on making a proper solution/workaround is pretty important. It is reminds me of "The Cult of Done". +Well, the first personal post is about constrains. +Usually it's quicker to follow them, then bypass them. As a pentester I find it strange contradicting to my *nature*, but the time saved on making a proper solution/workaround is pretty important. It reminds me of "The Cult of Done". diff --git a/content/productivity/HowTo_create_habit.md b/content/productivity/HowTo_create_habit.md index ad7ea7b..17e310d 100644 --- a/content/productivity/HowTo_create_habit.md +++ b/content/productivity/HowTo_create_habit.md @@ -3,9 +3,7 @@ title = 'HowTo create habit' date = 2024-04-27 +++ -# Intro - -Building habit is hard and takes 90 days of consistent everyday work. Here is guide to make a habit in (subjectively) easy way. +Building habit is hard and takes 90 days of consistent everyday work. Here is guide to make a habit in (subjectively) easy way. Why you would want to create habit? + to start doing something everyday diff --git a/content/productivity/HowTo_read.md b/content/productivity/HowTo_read.md index ce7f080..b8c9eca 100644 --- a/content/productivity/HowTo_read.md +++ b/content/productivity/HowTo_read.md @@ -3,10 +3,7 @@ title = 'HowTo read' date = 2024-05-03 +++ - - - -You need to: +You will not waste time while you read if you follow these rules: + realise what and why you read - to stay motivated + ask yourself - what you need to read next to be better in this theme + make reading list about this theme diff --git a/content/tech/HowTo_buy_used_PC_hardware.md b/content/tech/HowTo_buy_used_PC_hardware.md new file mode 100644 index 0000000..ea55a0f --- /dev/null +++ b/content/tech/HowTo_buy_used_PC_hardware.md @@ -0,0 +1,28 @@ ++++ +title = 'HowTo buy used PC hardware' +date = 2024-05-06 ++++ + + + +What is safe to buy second-hand for PC? + +  +## Safe to buy + + - CPU + - RAM (but still check it with MemTest86) + - PC Case + - Cooler + +## Dangerous + + - Motherboard + - GPU + - Fan (would be more noisy since degradation) + +## Do not buy + + - Storage (especially HDD. With SSD you can check left lifespan and _kinda_ be safe) + - PSU + diff --git a/content/tech/about_this_site.md b/content/tech/about_this_site.md index 32d64ef..dc69ea6 100644 --- a/content/tech/about_this_site.md +++ b/content/tech/about_this_site.md @@ -6,7 +6,7 @@ draft = false ## Blog -Powered by Hugo with Anubis2 theme. +Powered by Hugo with Anubis2 theme. ## Mirrors diff --git a/content/whoami/casual.md b/content/whoami/casual.md index b70681b..4fc6ff6 100644 --- a/content/whoami/casual.md +++ b/content/whoami/casual.md @@ -1,64 +1,43 @@ +++ -title = 'Who is Casual?' +title = 'About blog and casual' draft = false +++ -Hi, I'm Casual. Geek. Jack of all trades, master of none. -Right now I'm passionate about: +## Why do You want to read my blog? + +I write __short__ and clutterless aricles for people like me. +Blog about: + - hacking + - technology + - productivity + + + +## Who Am I? + +Hi, I'm Casual. Jack of all trades, master of none. +I'm passionate about: - Hacking - Learning/Education - Minimalism - Productivity and Habit building - -Previously I was highly interested in: - - Anonymity - - Art - - Automatization - - Chess - - Containerization (Docker, Podman) - - Decentralized technologies - - DIY - Do It Yourself - - DnD - Dungeon and Dragons - - Drawing (pixelart, sketches) - - EDC - Every Day Carry - - Fixing Stuff - - FOSS - Free and open-source software - - GameDev - - IaC - Infrastructure as Code (Terraform, NixOS) - - Journalism - - Latin language - - Linux - - Music - - Network Administration - - NixOS - - OSINT - Open Source Intelligence - - Overlay networks (Tor, Yggdrasil, I2P) - - Programming (Python, Go, C++) - - Psychology - - Scripting (Bash,Python) - - SecOps - - Security - - Social Engineering - - Soldering - - System Administration - - Volleyball - - Writing/Storytelling - - - -## Achievements - - - Worked for enterprise company - - Successful in bugbounty and CTF platforms. - - My HackTheBox account was banned by IppSec himself :D - - Have experience at being a teacher and tutor - - Have pretty big HomeLab (Stack, High Availability, 6 Nodes) - - Have gratitude from the government - - Can write 60 WPS (words per minute) - - Was winning national and international championships - - Was a journalist - - +  [Contact Me](/whoami/contact_me/) + + +   + +--- +  + +[Telegram mirror](https://t.me/allcasualblog) + +[RSS](https://blog.ca.sual.in/index.xml) + +  + +--- +  +All material under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/legalcode.en) license. diff --git a/content/whoami/contact_me.md b/content/whoami/contact_me.md index d1f3d64..96bd777 100644 --- a/content/whoami/contact_me.md +++ b/content/whoami/contact_me.md @@ -7,7 +7,7 @@ Chat with me on: - XMPP: casual@pwned.life Or write your message here (with contact information) and I will contact you: - + diff --git a/hugo.yaml b/hugo.yaml index 840d00a..76da36d 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -67,7 +67,7 @@ params: style: dark-without-switcher mainSections: [ "blog" ] # which sections should be on index/main page sectionsWithFullContentOnListPage: [ "notes" ] # for which sections content should be displayed on list pages - readMore: false # show read more button + readMore: true # show read more button readNextPosts: 5 # show 5 related posts, 0 by default disableSummary: false toc: true # display Table of Contents diff --git a/themes/anubis2/layouts/index.html b/themes/anubis2/layouts/index.html index 44f2764..4ca92aa 100644 --- a/themes/anubis2/layouts/index.html +++ b/themes/anubis2/layouts/index.html @@ -1,14 +1,35 @@ {{ define "main" }} -
+
{{ .Content }}
- {{ $pages := where (where site.RegularPages "Type" "in" site.Params.mainSections) "Params.hidden" "!=" true }} - {{ range (.Paginate $pages).Pages }} - {{ partial "post-summary.html" . }} +

{{ i18n .Title | markdownify }}

+ {{ $showFullContent := in .Site.Params.sectionsWithFullContentOnListPage .Section }} + {{ $pages := where .Site.RegularPages "Params.hidden" "!=" true}} + + {{ $pagesRange := $pages}} + {{ if $showFullContent }} + {{ $pagesRange = (.Paginate $pages).Pages }} + {{ end}} + + {{ range $pagesRange }} +
+
+
+

{{ trim .Title " " | markdownify }}

+ {{ partial "post-language-switcher.html" . }} +
+
+ {{ if $showFullContent }} + {{ .Content }} + {{ end }} + {{ partial "post-info.html" . }} +
{{ end }} - {{ partial "pagination.html" . }} + {{ if $showFullContent }} + {{ partial "pagination.html" . }} + {{ end}}
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/themes/anubis2/layouts/partials/post-summary.html b/themes/anubis2/layouts/partials/post-summary.html index 72f5148..6abc1f0 100644 --- a/themes/anubis2/layouts/partials/post-summary.html +++ b/themes/anubis2/layouts/partials/post-summary.html @@ -8,7 +8,7 @@ {{ if not .Site.Params.disableSummary }}
- {{ .Summary | safeHTML }} + {{ .Summary | safeHTML }}
{{ end }} {{ if and (.Truncated) (.Site.Params.readMore) }} @@ -18,4 +18,4 @@ {{ end }} {{ partial "post-info.html" . }} - \ No newline at end of file +