From 4d12e92153c463bd5fecbc9606a5489601f57ee6 Mon Sep 17 00:00:00 2001 From: garhve Date: Tue, 14 Feb 2023 18:40:10 +0800 Subject: change back to hugo --- index.xml | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 index.xml (limited to 'index.xml') diff --git a/index.xml b/index.xml new file mode 100644 index 0000000..fb668b9 --- /dev/null +++ b/index.xml @@ -0,0 +1,102 @@ + + + + blog | garhve's hub + https://blog.garhve.com/ + Recent content on blog | garhve's hub + Hugo -- gohugo.io + en-us + Wed, 14 Dec 2022 00:00:00 +0000 + + No Problemo + https://blog.garhve.com/posts/no-problemo/ + Wed, 14 Dec 2022 00:00:00 +0000 + + https://blog.garhve.com/posts/no-problemo/ + My feeling to express are fading… Not sure how I know it, just got this sense. +Recently, I picked up an anime named “The Simpsons” which I watched first episode back in highschool. This first time was not gave me too much impression. but I fell in love with it right after re-watched first episode! So I downloaded the half of the whole series. The anime is just about + + + + Past Is Great + https://blog.garhve.com/posts/past-is-great/ + Mon, 07 Nov 2022 09:16:15 +0800 + + https://blog.garhve.com/posts/past-is-great/ + Lately, there’s a sign has been keeping jumping out in front of my eyes. That the past is great! +First is in the movie Midnight in Paris, directed by Woody Allen, which I just finished a week ago. It tells a story of how a screen writer loves 20th century because his loving artists all living in it. Though he finally realized that he loves past because the present is imperfect. + + + + Mess with Bash(2) + https://blog.garhve.com/posts/mess-with-bash2/ + Thu, 29 Sep 2022 09:43:02 +0800 + + https://blog.garhve.com/posts/mess-with-bash2/ + More info is in this tutorial Bash scripting cheatsheet +all value expansions (ie. all syntax with a $ prefix) can only expand inside quoted arguments if the argument was double-quoted . Single quotes will turn the dollar-syntax into literal characters, causing bash to output the dollar rather than expand its value in-place! +“Value expansions ($...) must always be double-quoted.” +Never leave a value expansion unquoted. +Redirection File Redirection 0 is standard input, 1 is standard output, 2 is standard error + + + + Escape Sequences + https://blog.garhve.com/posts/escape-sequence/ + Mon, 12 Sep 2022 09:02:06 +0800 + + https://blog.garhve.com/posts/escape-sequence/ + copied from github in case one day it disappears +more information could visit vt100 User Guide +ANSI Escape Sequences Standard escape codes are prefixed with Escape: +Ctrl-Key: ^[ Octal: \033 Unicode: \u001b Hexadecimal: \x1B Decimal: 27 Followed by the command, somtimes delimited by opening square bracket ([), known as a Control Sequence Introducer (CSI), optionally followed by arguments and the command itself. +Arguments are delimeted by semi colon (;). + + + + Architecture of Linux Kernel + https://blog.garhve.com/posts/architecture-of-linux-kernel/ + Sat, 03 Sep 2022 14:33:37 +0800 + + https://blog.garhve.com/posts/architecture-of-linux-kernel/ + Description Modern microcontrollers nowadays support at least two privilege levels. Intel/AMD x86-64 family supports 4 levels, whilst ARM (32bit) microcontrollers support up to 7 levels (6 privileged, 1 non-privileged). +Modern operating systems support at least 2 levels: +User space: For applications to run in unprivileged user mode Kernel space: For the kernel (and all its components) to run in privileged mode – kernel mode Address of these 2 spaces are separate. + + + + Mess with bash(1) + https://blog.garhve.com/posts/mess-with-bash1/ + Thu, 25 Aug 2022 13:40:56 +0800 + + https://blog.garhve.com/posts/mess-with-bash1/ + Crontab crontab is a useful tool, I really regret that I don’t familar it earlier. +It’s usage really simple, and these two are my frequent using: +crontab -e #edit crontab file that reside in /var/spool/cron crontab -l #list current crontab job It basic syntax as follow, also really simple example of usage: +delete file foo every minute * * * * * rm foo delete file foo every 15 minutes 15 * * * * rm foo delete file foo every beginning of hour 0 * * * * rm foo delete file foo every minute after 3 hours * 3 * * * rm foo delete file foo every day at 18:30 30 18 * * * rm foo delete file foo every beginning of month 0 0 0 * * rm foo delete file foo on beginning of 1st,10th of month 0 0 1,10 * * rm foo The usage really simple, I now use it to renew my SSL certification and daily update bt-tracker. + + + + Install arch linux on Tencent server + https://blog.garhve.com/posts/install-archlinux-on-tencent-server/ + Wed, 10 Aug 2022 19:24:59 +0800 + + https://blog.garhve.com/posts/install-archlinux-on-tencent-server/ + In order to build a website for myself, I rent a server from Tencent. This is my final decision, the process is turtuous… +My requirement as below: +abroad provider because they don’t have to register.. the the budget’s not relax, all I can choosing was in range of $0 - $10. It can runs Arch linux seamlessly I already eye on one: Linode. But they don’t see me… and banned all my gmail account from their service… + + + + First Website + https://blog.garhve.com/posts/first-website/ + Wed, 10 Aug 2022 17:21:02 +0800 + + https://blog.garhve.com/posts/first-website/ + So now I can say my website is on.. even though it just literally has nothing but a printing hello I got this garhve.com domain on namesilo for $9.95 per year, it’s really cheap! I always want a domain that is .com suffix. +Now, the web is https, this is a bit difficult for me. +Due to personal interest, I didn’t choose frame to base my website. I use Nginx but I don’t familiar with it. + + + + -- cgit v1.2.3-70-g09d2