diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-27 17:17:41 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-27 17:17:41 +0200 |
| commit | 5b0d04bf2be32e85e68fc1339000a0ea5a15543c (patch) | |
| tree | 4e0a5f1c97ffffa6f070e93e6a76d5a4accf76d9 /content | |
| parent | eb2cf9f9476473811178d1c5cfdd71a0293fdff4 (diff) | |
| download | mitjafelicijan.com-5b0d04bf2be32e85e68fc1339000a0ea5a15543c.tar.gz | |
Added tgas pages
Diffstat (limited to 'content')
| -rw-r--r-- | content/notes/cachebusting-in-hugo.md | 2 | ||||
| -rw-r--r-- | content/notes/catv-weechat-config.md | 4 | ||||
| -rw-r--r-- | content/notes/convert-mkv.md | 2 | ||||
| -rw-r--r-- | content/notes/cronjobs-github-with-actions.md | 10 | ||||
| -rw-r--r-- | content/notes/download-youtube-videos.md | 2 | ||||
| -rw-r--r-- | content/notes/extend-lua-with-custom-c.md | 2 | ||||
| -rw-r--r-- | content/notes/fix-plan9-bootloader.md | 2 | ||||
| -rw-r--r-- | content/notes/install-plan9port-linux.md | 2 | ||||
| -rw-r--r-- | content/notes/mass-set-permission.md | 2 | ||||
| -rw-r--r-- | content/notes/mount-plan9-over-network.md | 2 | ||||
| -rw-r--r-- | content/notes/non-blocking-shell-exec-csharp.md | 2 | ||||
| -rw-r--r-- | content/notes/plan9-screenshot.md | 2 | ||||
| -rw-r--r-- | content/notes/preview-troff-man-pages.md | 2 | ||||
| -rw-r--r-- | content/notes/show-xterm-colors.md | 8 | ||||
| -rw-r--r-- | content/notes/write-iso-usb.md | 2 |
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 | |||
| 4 | date: 2023-05-01T12:00:00+02:00 | 4 | date: 2023-05-01T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [hugo, cachebusting] | 7 | tags: [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 | |||
| 4 | date: 2023-05-09T12:00:00+02:00 | 4 | date: 2023-05-09T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [irc, weechat, cat-v] | 7 | tags: [irc] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | Set up weechat to connect to #cat-v on oftc. This applies to | 10 | Set 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 | |||
| 4 | date: 2023-05-14T12:00:00+02:00 | 4 | date: 2023-05-14T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [ffmpeg, mkv, webm, mp4] | 7 | tags: [ffmpeg] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | You will need `ffmpeg` installed on your system. This will convert all MKV files | 10 | You 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 | |||
| 4 | date: 2023-05-27T00:35:36+02:00 | 4 | date: 2023-05-27T00:35:36+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [github, actions] | 7 | tags: [github] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | In the root of your repository create a folder `.github/workflows` and | 10 | In the root of your repository create a folder `.github/workflows` and |
| 11 | in that folder create a file a file `cron.yaml`. This file can be named | 11 | in that folder create a file a file `cron.yaml`. This file can be named |
| 12 | whatever you wish. But it has to be a `yaml` file. | 12 | whatever you wish. But it has to be a `yaml` file. |
| 13 | 13 | ||
| 14 | File below (`.github/workflows/cron.yaml`) describes an action that will | 14 | File below (`.github/workflows/cron.yaml`) describes an action that will |
| 15 | trigger every six hours and it will curl example.com. | 15 | trigger every six hours and it will curl example.com. |
| 16 | 16 | ||
| 17 | However. Be sure that you have enough credits. Free account is not that | 17 | However. Be sure that you have enough credits. Free account is not that |
| 18 | generous with the minutes they give you for free. Check more about | 18 | generous with the minutes they give you for free. Check more about |
| 19 | GitHub Actions usage on their website https://docs.github.com/en/actions. | 19 | GitHub 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 | |||
| 4 | date: 2023-05-13T12:00:00+02:00 | 4 | date: 2023-05-13T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [youtube, yt-dlp, ffmpeg, webm, mp4] | 7 | tags: [youtube] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | If you need to download a list of YouTube videos and don't want to download the | 10 | If 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 | |||
| 4 | date: 2023-05-23T12:00:00+02:00 | 4 | date: 2023-05-23T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [lua, clang, c] | 7 | tags: [lua, c] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | Here is a boilerplate for extending Lua with custom C functions. This requires | 10 | Here 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 | |||
| 4 | date: 2023-05-11T12:00:00+02:00 | 4 | date: 2023-05-11T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [plan9, bootloader] | 7 | tags: [plan9] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | If the bootloader is not being written to a disk when installing 9front on real | 10 | If 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 | |||
| 4 | date: 2023-05-12T12:00:00+02:00 | 4 | date: 2023-05-12T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [plan9, plan9port, linux] | 7 | tags: [plan9] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | Install Plan9port on Linux. This applies to [Plan9port](https://9fans.github.io/plan9port/). | 10 | Install 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 | |||
| 4 | date: 2023-05-16T12:00:00+02:00 | 4 | date: 2023-05-16T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [linux, find, chmod] | 7 | tags: [linux] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | Replace `*.xml` with your pattern. This will remove executable bit from all | 10 | Replace `*.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 | |||
| 4 | date: 2023-05-07T12:00:00+02:00 | 4 | date: 2023-05-07T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [plan9, linux, 9pfs] | 7 | tags: [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 | |||
| 4 | date: 2023-05-22T12:00:00+02:00 | 4 | date: 2023-05-22T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [csharp, async, shell] | 7 | tags: [csharp] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | Execute a shell command in async in C# while not blocking the UI thread. | 10 | Execute 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 | |||
| 4 | date: 2023-05-10T12:00:00+02:00 | 4 | date: 2023-05-10T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [plan9, screenshot] | 7 | tags: [plan9] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | Take a screenshot in Plan9. This applies to [Plan9](https://9p.io/plan9/) and | 10 | Take 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 | |||
| 4 | date: 2023-05-15T12:00:00+02:00 | 4 | date: 2023-05-15T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [troff, man] | 7 | tags: [troff] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | Troff is used to write man pages and it is difficult to read it so this will | 10 | Troff 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 | |||
| 4 | date: 2023-05-25T12:00:00+02:00 | 4 | date: 2023-05-25T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [linux, xterm, palette] | 7 | tags: [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 | ||
| 29 | function showcolors() { | 29 | function 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 | |||
| 44 | read -d $'\a' -s -t 0.1 </dev/tty | 44 | read -d $'\a' -s -t 0.1 </dev/tty |
| 45 | if [ -z "$REPLY" ] | 45 | if [ -z "$REPLY" ] |
| 46 | then | 46 | then |
| 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) |
| 49 | else | 49 | else |
| 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 | |||
| 4 | date: 2023-05-08T12:00:00+02:00 | 4 | date: 2023-05-08T12:00:00+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [linux, iso, usb] | 7 | tags: [linux] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | Write ISO to USB key. Nothing fancy here. | 10 | Write ISO to USB key. Nothing fancy here. |
