Commit 8258aed8b9
Unsigned
Layout: unified · split
content/blog/2024-01-09-macos-customization.md +3 −26
| @@ -42,11 +42,9 @@ I use [iTerm2](https://iterm2.com/), which can be installed with Homebrew: | |||
| 42 | brew install iterm2 | 42 | brew install iterm2 |
| 43 | ``` | 43 | ``` |
| 44 | 44 | ||
| 45 |  | 45 | To install color schemes, such as the Dracula scheme, you visit [iTerm |
| 46 | 46 | Themes](https://iterm2colorschemes.com/) and follow their installation | |
| 47 | To install color schemes, such as the Dracula scheme shown in the screenshot | 47 | instructions to install any of the themes. |
| 48 | above, you visit [iTerm Themes](https://iterm2colorschemes.com/) and follow | ||
| 49 | their installation instructions to install any of the themes. | ||
| 50 | 48 | ||
| 51 | # Desktop | 49 | # Desktop |
| 52 | 50 | ||
| @@ -65,12 +63,6 @@ wiki](<https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-releas | |||
| 65 | for installation instructions. You will need to ensure that yabai is allowed to | 63 | for installation instructions. You will need to ensure that yabai is allowed to |
| 66 | access the accessibility and screen recording APIs. | 64 | access the accessibility and screen recording APIs. |
| 67 | 65 | ||
| 68 | You can see a basic three-pane layout atuomatically configured by yabai for me | ||
| 69 | as I opened the windows below. | ||
| 70 | |||
| 71 |  | ||
| 73 | |||
| 74 | ## Keyboard Shortcuts | 66 | ## Keyboard Shortcuts |
| 75 | 67 | ||
| 76 | [skhd](https://github.com/koekeishiya/skhd) is a simple hotkey daemon that | 68 | [skhd](https://github.com/koekeishiya/skhd) is a simple hotkey daemon that |
| @@ -116,9 +108,6 @@ folder. | |||
| 116 | See below for an example of the | 108 | See below for an example of the |
| 117 | [Mond](https://tracesof.net/uebersicht-widgets/#Mond) widget in action. | 109 | [Mond](https://tracesof.net/uebersicht-widgets/#Mond) widget in action. |
| 118 | 110 | ||
| 119 |  | ||
| 121 | |||
| 122 | ## Status Bar | 111 | ## Status Bar |
| 123 | 112 | ||
| 124 | [SketchyBar](https://github.com/FelixKratz/SketchyBar) is a customizable | 113 | [SketchyBar](https://github.com/FelixKratz/SketchyBar) is a customizable |
| @@ -128,11 +117,6 @@ You can browse a discussion where various users shared their | |||
| 128 | [configurations](https://github.com/FelixKratz/SketchyBar/discussions/47?sort=top) | 117 | [configurations](https://github.com/FelixKratz/SketchyBar/discussions/47?sort=top) |
| 129 | for inspiration or to copy their dotfiles. | 118 | for inspiration or to copy their dotfiles. |
| 130 | 119 | ||
| 131 | See below for a quick (& slightly broken) copy of | ||
| 132 | [zer0yu's](https://github.com/zer0yu/dotfiles) SketchyBar configuration. | ||
| 133 | |||
| 134 |  | ||
| 135 | |||
| 136 | ## Dock | 120 | ## Dock |
| 137 | 121 | ||
| 138 | The easiest way to customize the dock is to install | 122 | The easiest way to customize the dock is to install |
| @@ -146,8 +130,6 @@ use the built-in dock instead of customizing it with third-party software. | |||
| 146 | 130 | ||
| 147 | Regardless, see below for the default installation style of uBar. | 131 | Regardless, see below for the default installation style of uBar. |
| 148 | 132 | ||
| 149 |  | ||
| 150 | |||
| 151 | ## Application Icons | 133 | ## Application Icons |
| 152 | 134 | ||
| 153 | You can also customize the icon of any application in macOS, which will show up | 135 | You can also customize the icon of any application in macOS, which will show up |
| @@ -163,8 +145,3 @@ them by following this process. | |||
| 163 | over it). | 145 | over it). |
| 164 | 5. Release the new icon on top of the old icon and it will update! | 146 | 5. Release the new icon on top of the old icon and it will update! |
| 165 | 147 | ||
| 166 | You can see an example of me dragging a new `signal.icns` file onto my | ||
| 167 | Signal.app information window to update it below: | ||
| 168 | |||
| 169 |  | ||
content/blog/2024-01-13-local-llm.md −13
| @@ -50,16 +50,12 @@ After running the app, the app will ask you to open a terminal and run the | |||
| 50 | default `llama2` model, which will open an interactive chat session in the | 50 | default `llama2` model, which will open an interactive chat session in the |
| 51 | terminal. You can startfully using the application at this point. | 51 | terminal. You can startfully using the application at this point. |
| 52 | 52 | ||
| 53 |  | ||
| 54 | |||
| 55 | If you don't want to use the default `llama2` model, you can download and run | 53 | If you don't want to use the default `llama2` model, you can download and run |
| 56 | additional models found on the [Models](https://ollama.ai/library) page. | 54 | additional models found on the [Models](https://ollama.ai/library) page. |
| 57 | 55 | ||
| 58 | To see the information for the currently-used model, you can run the `/show | 56 | To see the information for the currently-used model, you can run the `/show |
| 59 | info` command in the chat. | 57 | info` command in the chat. |
| 60 | 58 | ||
| 61 |  | ||
| 62 | |||
| 63 | ## Community Integrations | 59 | ## Community Integrations |
| 64 | 60 | ||
| 65 | I highly recommend browsing the [Community | 61 | I highly recommend browsing the [Community |
| @@ -68,9 +64,6 @@ section of the project to see how you would prefer to extend Ollama beyond a | |||
| 68 | simple command-line interface. There are options for APIs, browser UIs, advanced | 64 | simple command-line interface. There are options for APIs, browser UIs, advanced |
| 69 | terminal configurations, and more. | 65 | terminal configurations, and more. |
| 70 | 66 | ||
| 71 |  | ||
| 73 | |||
| 74 | # iOS | 67 | # iOS |
| 75 | 68 | ||
| 76 | While there are a handful of decent macOS options, it was quite difficult to | 69 | While there are a handful of decent macOS options, it was quite difficult to |
| @@ -93,12 +86,6 @@ Once you have a file downloaded, you simply create a new chat and select the | |||
| 93 | downloaded model file and ensure the inference matches the requirement in the | 86 | downloaded model file and ensure the inference matches the requirement in the |
| 94 | `models.md` file. | 87 | `models.md` file. |
| 95 | 88 | ||
| 96 | See below for a test of the ORCA Mini v3 model: | ||
| 97 | |||
| 98 | | Chat List | Chat | | ||
| 99 | | ----------------------------------------------------------------------- | ----------------------------------------------------------------- | | ||
| 100 | |  |  | | ||
| 101 | |||
| 102 | [Enchanted](https://github.com/AugustDev/enchanted) is also an iOS for private | 89 | [Enchanted](https://github.com/AugustDev/enchanted) is also an iOS for private |
| 103 | AI models, but it requires a public-facing Ollama API, which did not meet my "on | 90 | AI models, but it requires a public-facing Ollama API, which did not meet my "on |
| 104 | device requirement." Nonetheless, it's an interesting looking app and I will | 91 | device requirement." Nonetheless, it's an interesting looking app and I will |
content/blog/2024-01-26-audit-dashboard.md +5 −31
| @@ -9,10 +9,8 @@ Alteryx and Power BI are powerful tools that can help turn your old-school audit | |||
| 9 | trackers into interactive tools that provide useful insights and potential | 9 | trackers into interactive tools that provide useful insights and potential |
| 10 | action plans. | 10 | action plans. |
| 11 | 11 | ||
| 12 | With these tools, we are going to build the following dashboard: | 12 | With these tools, we are going to build a dashboard that can effectively |
| 13 | 13 | communicate project status. | |
| 14 |  | ||
| 15 |  | ||
| 16 | 14 | ||
| 17 | # Requirements | 15 | # Requirements |
| 18 | 16 | ||
| @@ -37,9 +35,6 @@ and let Alteryx determine the format for you. For this example, we will be | |||
| 37 | importing an Excel file and changing the `Start Data Import on Line` variable to | 35 | importing an Excel file and changing the `Start Data Import on Line` variable to |
| 38 | `2`. | 36 | `2`. |
| 39 | 37 | ||
| 40 |  | ||
| 42 | |||
| 43 | ## Transform Data | 38 | ## Transform Data |
| 44 | 39 | ||
| 45 | Next, let's replace null data and remove whitespace to clean up our data. We can | 40 | Next, let's replace null data and remove whitespace to clean up our data. We can |
| @@ -53,17 +48,11 @@ Ensure that the following options are enabled: | |||
| 53 | - Remove Unwanted Characters | 48 | - Remove Unwanted Characters |
| 54 | - Leading and Trailing Whitespace | 49 | - Leading and Trailing Whitespace |
| 55 | 50 | ||
| 56 |  | ||
| 58 | |||
| 59 | For our next step, we will transform the date fields from strings to datetime | 51 | For our next step, we will transform the date fields from strings to datetime |
| 60 | format. Add a `Datetime` tool for each field you want to transform - in the | 52 | format. Add a `Datetime` tool for each field you want to transform - in the |
| 61 | example below, I am using the tool twice for the "Started On" and "Submitted On" | 53 | example below, I am using the tool twice for the "Started On" and "Submitted On" |
| 62 | fields. | 54 | fields. |
| 63 | 55 | ||
| 64 |  | ||
| 66 | |||
| 67 | Now that the dates are in the correct format, let's perform a calculation based | 56 | Now that the dates are in the correct format, let's perform a calculation based |
| 68 | on those fields. Start by adding a `Filter` tool, naming a new Output Column, | 57 | on those fields. Start by adding a `Filter` tool, naming a new Output Column, |
| 69 | and pasting the formula below into it (the two fields used in this formula must | 58 | and pasting the formula below into it (the two fields used in this formula must |
| @@ -71,19 +60,13 @@ match the output of the `Datetime` tools above): | |||
| 71 | 60 | ||
| 72 | ```txt | 61 | ```txt |
| 73 | DateTimeDiff([SubmittedOn_Out],[StartedOn_Out], "days") | 62 | DateTimeDiff([SubmittedOn_Out],[StartedOn_Out], "days") |
| 74 | ``` | 63 | ` |
| 75 | |||
| 76 |  | ||
| 78 | 64 | ||
| 79 | ## Export Data | 65 | ## Export Data |
| 80 | 66 | ||
| 81 | Finalize the process by exporting the transformed data set to a new file, for | 67 | Finalize the process by exporting the transformed data set to a new file, for |
| 82 | use in the following visualization step. | 68 | use in the following visualization step. |
| 83 | 69 | ||
| 84 |  | ||
| 86 | |||
| 87 | # Power BI: Data Visualization | 70 | # Power BI: Data Visualization |
| 88 | 71 | ||
| 89 | ## Import Data | 72 | ## Import Data |
| @@ -98,19 +81,10 @@ for this project. | |||
| 98 | During this process, I also imported the export from the Alteryx workflow above. | 81 | During this process, I also imported the export from the Alteryx workflow above. |
| 99 | Therefore, we have two different files available for use in our dashboard. | 82 | Therefore, we have two different files available for use in our dashboard. |
| 100 | 83 | ||
| 101 |  | ||
| 103 | |||
| 104 |  | ||
| 106 | |||
| 107 | ## Add Visuals | 84 | ## Add Visuals |
| 108 | 85 | ||
| 109 | To create the dashboard below, you will need to follow the list instructions | 86 | To create the dashboard, you will need to follow the list instructions |
| 110 | below and format as needed: | 87 | below and format as needed. |
| 111 | |||
| 112 |  | ||
| 113 |  | ||
| 114 | 88 | ||
| 115 | Instructions to create the visuals above: | 89 | Instructions to create the visuals above: |
| 116 | 90 | ||
content/blog/2024-02-21-self-hosting-otter-wiki.md −16
| @@ -120,19 +120,3 @@ Once enabled, restart the Nginx server to start serving the app externally. | |||
| 120 | sudo systemctl restart nginx.service | 120 | sudo systemctl restart nginx.service |
| 121 | ``` | 121 | ``` |
| 122 | 122 | ||
| 123 | # Screenshots | ||
| 124 | |||
| 125 | In the screenshot below, you can see the initial launch screen for An Otter | ||
| 126 | Wiki. Start by creating your admin account and configure the app as necessary. | ||
| 127 | |||
| 128 |  | ||
| 130 | |||
| 131 | You can also see the default editing screen for creating and editing pages. It's | ||
| 132 | as easy as typing Markdown and hitting the save button. | ||
| 133 | |||
| 134 |  | ||
| 136 | |||
| 137 | Overall, I like An Otter Wiki and will be looking forward to seeing how much use | ||
| 138 | I get out of it going forward. | ||
content/blog/2024-04-06-convert-onenote-to-markdown.md −12
| @@ -25,15 +25,6 @@ To start, export any pages or tabs from OneNote to the Word format (`.docx`): | |||
| 25 | 25 | ||
| 26 | See below for a visual walkthrough of the export process. | 26 | See below for a visual walkthrough of the export process. |
| 27 | 27 | ||
| 28 |  | ||
| 30 | |||
| 31 |  | ||
| 33 | |||
| 34 |  | ||
| 36 | |||
| 37 | # Download Pandoc | 28 | # Download Pandoc |
| 38 | 29 | ||
| 39 | Start by downloading Pandoc from their [GitHub | 30 | Start by downloading Pandoc from their [GitHub |
| @@ -93,9 +84,6 @@ This loop will perform the following actions: | |||
| 93 | `-o`. This option adds the `.md` file extension to recognize the output files | 84 | `-o`. This option adds the `.md` file extension to recognize the output files |
| 94 | as Markdown files. | 85 | as Markdown files. |
| 95 | 86 | ||
| 96 |  | ||
| 98 | |||
| 99 | If you want to export to another format, simply specify the `-f=`/`--from=` and | 87 | If you want to export to another format, simply specify the `-f=`/`--from=` and |
| 100 | `-t=`/`--to=` options. | 88 | `-t=`/`--to=` options. |
| 101 | 89 | ||
content/blog/2024-04-18-mu4e.md +2 −10
| @@ -279,7 +279,7 @@ If you have Doom open, execute `SPC h r r` to reload the new configurations. | |||
| 279 | # Initial Sync | 279 | # Initial Sync |
| 280 | 280 | ||
| 281 | Once you have configured all of the relevant files, you can perform an initial | 281 | Once you have configured all of the relevant files, you can perform an initial |
| 282 | sync. Note that you can perform syncing within Mu4e itself afer this. | 282 | sync. Note that you can perform syncing within Mu4e itself after this. |
| 283 | 283 | ||
| 284 | ```sh | 284 | ```sh |
| 285 | mbsync -aV | 285 | mbsync -aV |
| @@ -299,15 +299,7 @@ The emails will now to be ready to use! | |||
| 299 | You can now launch Doom and open Mu4e with `SPC o m`. You can also explore the | 299 | You can now launch Doom and open Mu4e with `SPC o m`. You can also explore the |
| 300 | Mu4e options with `SPC : mu4e`. | 300 | Mu4e options with `SPC : mu4e`. |
| 301 | 301 | ||
| 302 | The home page shows various options and metdata about the account you've opened. | 302 | The home page shows various options and metadata about the account you've opened. |
| 303 | 303 | ||
| 304 |  | 304 |  |
| 305 | 305 | ||
| 306 | When composing an email, you can see the metadata fields at the top and compose | ||
| 307 | the message below the indicator line. | ||
| 308 | |||
| 309 |  | ||
| 310 | |||
| 311 | When in a folder, you can view emails in a pane and perform actions as needed. | ||
| 312 | |||
| 313 |  | ||
content/blog/2024-05-03-ubuntu-on-macos.md +3 −7
| @@ -50,9 +50,6 @@ script via the provided path if you wish. When you're comfortable with the | |||
| 50 | script, you can toggle the `Suppress this message permanently` button and click | 50 | script, you can toggle the `Suppress this message permanently` button and click |
| 51 | OK to run the machine. | 51 | OK to run the machine. |
| 52 | 52 | ||
| 53 |  | ||
| 55 | |||
| 56 | > **Quick Tip**! | 53 | > **Quick Tip**! |
| 57 | > | 54 | > |
| 58 | > You will always be able to launch the OrbStack application and | 55 | > You will always be able to launch the OrbStack application and |
| @@ -65,7 +62,7 @@ Warning](https://img.cleberg.net/blog/20240503-ubuntu-on-macos/warning.png) | |||
| 65 | Once successful, OrbStack will launch your default terminal and log you into the | 62 | Once successful, OrbStack will launch your default terminal and log you into the |
| 66 | Linux machine you created above. | 63 | Linux machine you created above. |
| 67 | 64 | ||
| 68 | In the example below, we can see that the machine is using `Linux ubuntu 6.7.11` | 65 | In the example below, we can see that the machine is using `Linux ubuntu 6.9.6` |
| 69 | and operates similar to a fresh Ubuntu install on bare metal. | 66 | and operates similar to a fresh Ubuntu install on bare metal. |
| 70 | 67 | ||
| 71 |  | 68 |  |
| @@ -82,11 +79,10 @@ defaults to opening in Xcode on my system. | |||
| 82 | 79 | ||
| 83 |  | 80 |  |
| 84 | 81 | ||
| 85 | |||
| 86 | ### Test Examples | 82 | ### Test Examples |
| 87 | 83 | ||
| 88 | As a quick example of the system, I added a `test` user, installed `neofetch`, | 84 | As a quick example of the system, I installed `neofetch`, switched to the `zsh` |
| 89 | and switched the `test` user's shell to `zsh`: | 85 | shell, and ran a few common commands. |
| 90 | 86 | ||
| 91 |  | 87 |  |
| 92 | 88 | ||