aboutsummaryrefslogtreecommitdiff
path: root/content/notes
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-05-27 17:17:41 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-05-27 17:17:41 +0200
commit5b0d04bf2be32e85e68fc1339000a0ea5a15543c (patch)
tree4e0a5f1c97ffffa6f070e93e6a76d5a4accf76d9 /content/notes
parenteb2cf9f9476473811178d1c5cfdd71a0293fdff4 (diff)
downloadmitjafelicijan.com-5b0d04bf2be32e85e68fc1339000a0ea5a15543c.tar.gz
Added tgas pages
Diffstat (limited to 'content/notes')
-rw-r--r--content/notes/cachebusting-in-hugo.md2
-rw-r--r--content/notes/catv-weechat-config.md4
-rw-r--r--content/notes/convert-mkv.md2
-rw-r--r--content/notes/cronjobs-github-with-actions.md10
-rw-r--r--content/notes/download-youtube-videos.md2
-rw-r--r--content/notes/extend-lua-with-custom-c.md2
-rw-r--r--content/notes/fix-plan9-bootloader.md2
-rw-r--r--content/notes/install-plan9port-linux.md2
-rw-r--r--content/notes/mass-set-permission.md2
-rw-r--r--content/notes/mount-plan9-over-network.md2
-rw-r--r--content/notes/non-blocking-shell-exec-csharp.md2
-rw-r--r--content/notes/plan9-screenshot.md2
-rw-r--r--content/notes/preview-troff-man-pages.md2
-rw-r--r--content/notes/show-xterm-colors.md8
-rw-r--r--content/notes/write-iso-usb.md2
15 files changed, 23 insertions, 23 deletions
diff --git a/content/notes/cachebusting-in-hugo.md b/content/notes/cachebusting-in-hugo.md
index 63baf1a..05ec859 100644
--- a/content/notes/cachebusting-in-hugo.md
+++ b/content/notes/cachebusting-in-hugo.md
@@ -4,7 +4,7 @@ url: cachebusting-in-hugo.html
4date: 2023-05-01T12:00:00+02:00 4date: 2023-05-01T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [hugo, cachebusting] 7tags: [hugo]
8--- 8---
9 9
10```html 10```html
diff --git a/content/notes/catv-weechat-config.md b/content/notes/catv-weechat-config.md
index 98c33ce..ff02300 100644
--- a/content/notes/catv-weechat-config.md
+++ b/content/notes/catv-weechat-config.md
@@ -4,10 +4,10 @@ url: catv-weechat-config.html
4date: 2023-05-09T12:00:00+02:00 4date: 2023-05-09T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [irc, weechat, cat-v] 7tags: [irc]
8--- 8---
9 9
10Set up weechat to connect to #cat-v on oftc. This applies to 10Set up weechat to connect to #cat-v on oftc. This applies to
11[weechat](https://weechat.org/) but should be similar for other irc clients. 11[weechat](https://weechat.org/) but should be similar for other irc clients.
12 12
13```sh 13```sh
diff --git a/content/notes/convert-mkv.md b/content/notes/convert-mkv.md
index 85928d6..acd3a20 100644
--- a/content/notes/convert-mkv.md
+++ b/content/notes/convert-mkv.md
@@ -4,7 +4,7 @@ url: convert-mkv.html
4date: 2023-05-14T12:00:00+02:00 4date: 2023-05-14T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [ffmpeg, mkv, webm, mp4] 7tags: [ffmpeg]
8--- 8---
9 9
10You will need `ffmpeg` installed on your system. This will convert all MKV files 10You will need `ffmpeg` installed on your system. This will convert all MKV files
diff --git a/content/notes/cronjobs-github-with-actions.md b/content/notes/cronjobs-github-with-actions.md
index 08dea54..13e7618 100644
--- a/content/notes/cronjobs-github-with-actions.md
+++ b/content/notes/cronjobs-github-with-actions.md
@@ -4,17 +4,17 @@ url: cronjobs-github-with-actions.html
4date: 2023-05-27T00:35:36+02:00 4date: 2023-05-27T00:35:36+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [github, actions] 7tags: [github]
8--- 8---
9 9
10In the root of your repository create a folder `.github/workflows` and 10In the root of your repository create a folder `.github/workflows` and
11in that folder create a file a file `cron.yaml`. This file can be named 11in that folder create a file a file `cron.yaml`. This file can be named
12whatever you wish. But it has to be a `yaml` file. 12whatever you wish. But it has to be a `yaml` file.
13 13
14File below (`.github/workflows/cron.yaml`) describes an action that will 14File below (`.github/workflows/cron.yaml`) describes an action that will
15trigger every six hours and it will curl example.com. 15trigger every six hours and it will curl example.com.
16 16
17However. Be sure that you have enough credits. Free account is not that 17However. Be sure that you have enough credits. Free account is not that
18generous with the minutes they give you for free. Check more about 18generous with the minutes they give you for free. Check more about
19GitHub Actions usage on their website https://docs.github.com/en/actions. 19GitHub Actions usage on their website https://docs.github.com/en/actions.
20 20
diff --git a/content/notes/download-youtube-videos.md b/content/notes/download-youtube-videos.md
index f9f9481..84e0505 100644
--- a/content/notes/download-youtube-videos.md
+++ b/content/notes/download-youtube-videos.md
@@ -4,7 +4,7 @@ url: download-youtube-videos.html
4date: 2023-05-13T12:00:00+02:00 4date: 2023-05-13T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [youtube, yt-dlp, ffmpeg, webm, mp4] 7tags: [youtube]
8--- 8---
9 9
10If you need to download a list of YouTube videos and don't want to download the 10If you need to download a list of YouTube videos and don't want to download the
diff --git a/content/notes/extend-lua-with-custom-c.md b/content/notes/extend-lua-with-custom-c.md
index 708e6fd..44089e0 100644
--- a/content/notes/extend-lua-with-custom-c.md
+++ b/content/notes/extend-lua-with-custom-c.md
@@ -4,7 +4,7 @@ url: extend-lua-with-custom-c.html
4date: 2023-05-23T12:00:00+02:00 4date: 2023-05-23T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [lua, clang, c] 7tags: [lua, c]
8--- 8---
9 9
10Here is a boilerplate for extending Lua with custom C functions. This requires 10Here is a boilerplate for extending Lua with custom C functions. This requires
diff --git a/content/notes/fix-plan9-bootloader.md b/content/notes/fix-plan9-bootloader.md
index 3ab571f..457a831 100644
--- a/content/notes/fix-plan9-bootloader.md
+++ b/content/notes/fix-plan9-bootloader.md
@@ -4,7 +4,7 @@ url: fix-plan9-bootloader.html
4date: 2023-05-11T12:00:00+02:00 4date: 2023-05-11T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, bootloader] 7tags: [plan9]
8--- 8---
9 9
10If the bootloader is not being written to a disk when installing 9front on real 10If the bootloader is not being written to a disk when installing 9front on real
diff --git a/content/notes/install-plan9port-linux.md b/content/notes/install-plan9port-linux.md
index 4773161..0ad83cf 100644
--- a/content/notes/install-plan9port-linux.md
+++ b/content/notes/install-plan9port-linux.md
@@ -4,7 +4,7 @@ url: install-plan9port-linux.html
4date: 2023-05-12T12:00:00+02:00 4date: 2023-05-12T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, plan9port, linux] 7tags: [plan9]
8--- 8---
9 9
10Install Plan9port on Linux. This applies to [Plan9port](https://9fans.github.io/plan9port/). 10Install Plan9port on Linux. This applies to [Plan9port](https://9fans.github.io/plan9port/).
diff --git a/content/notes/mass-set-permission.md b/content/notes/mass-set-permission.md
index b1e1480..36cf87c 100644
--- a/content/notes/mass-set-permission.md
+++ b/content/notes/mass-set-permission.md
@@ -4,7 +4,7 @@ url: mass-set-permission.html
4date: 2023-05-16T12:00:00+02:00 4date: 2023-05-16T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [linux, find, chmod] 7tags: [linux]
8--- 8---
9 9
10Replace `*.xml` with your pattern. This will remove executable bit from all 10Replace `*.xml` with your pattern. This will remove executable bit from all
diff --git a/content/notes/mount-plan9-over-network.md b/content/notes/mount-plan9-over-network.md
index 2e17d7d..0f8e685 100644
--- a/content/notes/mount-plan9-over-network.md
+++ b/content/notes/mount-plan9-over-network.md
@@ -4,7 +4,7 @@ url: mount-plan9-over-network.html
4date: 2023-05-07T12:00:00+02:00 4date: 2023-05-07T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, linux, 9pfs] 7tags: [plan9]
8--- 8---
9 9
10- First install libfuse with sudo apt install libfuse-dev. 10- First install libfuse with sudo apt install libfuse-dev.
diff --git a/content/notes/non-blocking-shell-exec-csharp.md b/content/notes/non-blocking-shell-exec-csharp.md
index b5891e3..db40409 100644
--- a/content/notes/non-blocking-shell-exec-csharp.md
+++ b/content/notes/non-blocking-shell-exec-csharp.md
@@ -4,7 +4,7 @@ url: non-blocking-shell-exec-csharp.html
4date: 2023-05-22T12:00:00+02:00 4date: 2023-05-22T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [csharp, async, shell] 7tags: [csharp]
8--- 8---
9 9
10Execute a shell command in async in C# while not blocking the UI thread. 10Execute a shell command in async in C# while not blocking the UI thread.
diff --git a/content/notes/plan9-screenshot.md b/content/notes/plan9-screenshot.md
index c26a7a6..ad11358 100644
--- a/content/notes/plan9-screenshot.md
+++ b/content/notes/plan9-screenshot.md
@@ -4,7 +4,7 @@ url: plan9-screenshot.html
4date: 2023-05-10T12:00:00+02:00 4date: 2023-05-10T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, screenshot] 7tags: [plan9]
8--- 8---
9 9
10Take a screenshot in Plan9. This applies to [Plan9](https://9p.io/plan9/) and 10Take a screenshot in Plan9. This applies to [Plan9](https://9p.io/plan9/) and
diff --git a/content/notes/preview-troff-man-pages.md b/content/notes/preview-troff-man-pages.md
index 0af4c6c..06299b8 100644
--- a/content/notes/preview-troff-man-pages.md
+++ b/content/notes/preview-troff-man-pages.md
@@ -4,7 +4,7 @@ url: preview-troff-man-pages.html
4date: 2023-05-15T12:00:00+02:00 4date: 2023-05-15T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [troff, man] 7tags: [troff]
8--- 8---
9 9
10Troff is used to write man pages and it is difficult to read it so this will 10Troff is used to write man pages and it is difficult to read it so this will
diff --git a/content/notes/show-xterm-colors.md b/content/notes/show-xterm-colors.md
index a8802fd..88e9856 100644
--- a/content/notes/show-xterm-colors.md
+++ b/content/notes/show-xterm-colors.md
@@ -4,7 +4,7 @@ url: write-iso-usb.html
4date: 2023-05-25T12:00:00+02:00 4date: 2023-05-25T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [linux, xterm, palette] 7tags: [linux]
8--- 8---
9 9
10- `bash xterm-palette.sh` - will show you number of max colors available 10- `bash xterm-palette.sh` - will show you number of max colors available
@@ -27,7 +27,7 @@ function setbg () {
27} 27}
28 28
29function showcolors() { 29function showcolors() {
30 # Given an integer, display that many colors 30 # Given an integer, display that many colors
31 for ((i=0; i<$1; i++)) 31 for ((i=0; i<$1; i++))
32 do 32 do
33 printf '%4d ' $i 33 printf '%4d ' $i
@@ -44,10 +44,10 @@ printf '\e]4;%d;?\a' 0
44read -d $'\a' -s -t 0.1 </dev/tty 44read -d $'\a' -s -t 0.1 </dev/tty
45if [ -z "$REPLY" ] 45if [ -z "$REPLY" ]
46then 46then
47 # OSC 4 not supported, so we'll fall back to terminfo 47 # OSC 4 not supported, so we'll fall back to terminfo
48 max=$(tput colors) 48 max=$(tput colors)
49else 49else
50 # OSC 4 is supported, so use it for a binary search 50 # OSC 4 is supported, so use it for a binary search
51 min=0 51 min=0
52 max=256 52 max=256
53 while [[ $((min+1)) -lt $max ]] 53 while [[ $((min+1)) -lt $max ]]
diff --git a/content/notes/write-iso-usb.md b/content/notes/write-iso-usb.md
index 8dff651..ea1d429 100644
--- a/content/notes/write-iso-usb.md
+++ b/content/notes/write-iso-usb.md
@@ -4,7 +4,7 @@ url: write-iso-usb.html
4date: 2023-05-08T12:00:00+02:00 4date: 2023-05-08T12:00:00+02:00
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [linux, iso, usb] 7tags: [linux]
8--- 8---
9 9
10Write ISO to USB key. Nothing fancy here. 10Write ISO to USB key. Nothing fancy here.