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 | 42 | brew install iterm2 |
| 43 | 43 | ``` |
| 44 | 44 | |
| 45 |  | |
| 46 | ||
| 47 | To install color schemes, such as the Dracula scheme shown in the screenshot | |
| 48 | above, you visit [iTerm Themes](https://iterm2colorschemes.com/) and follow | |
| 49 | their installation instructions to install any of the themes. | |
| 45 | To install color schemes, such as the Dracula scheme, you visit [iTerm | |
| 46 | Themes](https://iterm2colorschemes.com/) and follow their installation | |
| 47 | instructions to install any of the themes. | |
| 50 | 48 | |
| 51 | 49 | # Desktop |
| 52 | 50 | |
| @@ -65,12 +63,6 @@ wiki](<https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-releas | ||
| 65 | 63 | for installation instructions. You will need to ensure that yabai is allowed to |
| 66 | 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 | 66 | ## Keyboard Shortcuts |
| 75 | 67 | |
| 76 | 68 | [skhd](https://github.com/koekeishiya/skhd) is a simple hotkey daemon that |
| @@ -116,9 +108,6 @@ folder. | ||
| 116 | 108 | See below for an example of the |
| 117 | 109 | [Mond](https://tracesof.net/uebersicht-widgets/#Mond) widget in action. |
| 118 | 110 | |
| 119 |  | |
| 121 | ||
| 122 | 111 | ## Status Bar |
| 123 | 112 | |
| 124 | 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 | 117 | [configurations](https://github.com/FelixKratz/SketchyBar/discussions/47?sort=top) |
| 129 | 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 | 120 | ## Dock |
| 137 | 121 | |
| 138 | 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 | 131 | Regardless, see below for the default installation style of uBar. |
| 148 | 132 | |
| 149 |  | |
| 150 | ||
| 151 | 133 | ## Application Icons |
| 152 | 134 | |
| 153 | 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 | 145 | over it). |
| 164 | 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 | 50 | default `llama2` model, which will open an interactive chat session in the |
| 51 | 51 | terminal. You can startfully using the application at this point. |
| 52 | 52 | |
| 53 |  | |
| 54 | ||
| 55 | 53 | If you don't want to use the default `llama2` model, you can download and run |
| 56 | 54 | additional models found on the [Models](https://ollama.ai/library) page. |
| 57 | 55 | |
| 58 | 56 | To see the information for the currently-used model, you can run the `/show |
| 59 | 57 | info` command in the chat. |
| 60 | 58 | |
| 61 |  | |
| 62 | ||
| 63 | 59 | ## Community Integrations |
| 64 | 60 | |
| 65 | 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 | 64 | simple command-line interface. There are options for APIs, browser UIs, advanced |
| 69 | 65 | terminal configurations, and more. |
| 70 | 66 | |
| 71 |  | |
| 73 | ||
| 74 | 67 | # iOS |
| 75 | 68 | |
| 76 | 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 | 86 | downloaded model file and ensure the inference matches the requirement in the |
| 94 | 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 | 89 | [Enchanted](https://github.com/AugustDev/enchanted) is also an iOS for private |
| 103 | 90 | AI models, but it requires a public-facing Ollama API, which did not meet my "on |
| 104 | 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 | 9 | trackers into interactive tools that provide useful insights and potential |
| 10 | 10 | action plans. |
| 11 | 11 | |
| 12 | With these tools, we are going to build the following dashboard: | |
| 13 | ||
| 14 |  | |
| 15 |  | |
| 12 | With these tools, we are going to build a dashboard that can effectively | |
| 13 | communicate project status. | |
| 16 | 14 | |
| 17 | 15 | # Requirements |
| 18 | 16 | |
| @@ -37,9 +35,6 @@ and let Alteryx determine the format for you. For this example, we will be | ||
| 37 | 35 | importing an Excel file and changing the `Start Data Import on Line` variable to |
| 38 | 36 | `2`. |
| 39 | 37 | |
| 40 |  | |
| 42 | ||
| 43 | 38 | ## Transform Data |
| 44 | 39 | |
| 45 | 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 | 48 | - Remove Unwanted Characters |
| 54 | 49 | - Leading and Trailing Whitespace |
| 55 | 50 | |
| 56 |  | |
| 58 | ||
| 59 | 51 | For our next step, we will transform the date fields from strings to datetime |
| 60 | 52 | format. Add a `Datetime` tool for each field you want to transform - in the |
| 61 | 53 | example below, I am using the tool twice for the "Started On" and "Submitted On" |
| 62 | 54 | fields. |
| 63 | 55 | |
| 64 |  | |
| 66 | ||
| 67 | 56 | Now that the dates are in the correct format, let's perform a calculation based |
| 68 | 57 | on those fields. Start by adding a `Filter` tool, naming a new Output Column, |
| 69 | 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 | 61 | ```txt |
| 73 | 62 | DateTimeDiff([SubmittedOn_Out],[StartedOn_Out], "days") |
| 74 | ``` | |
| 75 | ||
| 76 |  | |
| 63 | ` | |
| 78 | 64 | |
| 79 | 65 | ## Export Data |
| 80 | 66 | |
| 81 | 67 | Finalize the process by exporting the transformed data set to a new file, for |
| 82 | 68 | use in the following visualization step. |
| 83 | 69 | |
| 84 |  | |
| 86 | ||
| 87 | 70 | # Power BI: Data Visualization |
| 88 | 71 | |
| 89 | 72 | ## Import Data |
| @@ -98,19 +81,10 @@ for this project. | ||
| 98 | 81 | During this process, I also imported the export from the Alteryx workflow above. |
| 99 | 82 | Therefore, we have two different files available for use in our dashboard. |
| 100 | 83 | |
| 101 |  | |
| 103 | ||
| 104 |  | |
| 106 | ||
| 107 | 84 | ## Add Visuals |
| 108 | 85 | |
| 109 | To create the dashboard below, you will need to follow the list instructions | |
| 110 | below and format as needed: | |
| 111 | ||
| 112 |  | |
| 113 |  | |
| 86 | To create the dashboard, you will need to follow the list instructions | |
| 87 | below and format as needed. | |
| 114 | 88 | |
| 115 | 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 | 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 | 26 | See below for a visual walkthrough of the export process. |
| 27 | 27 | |
| 28 |  | |
| 30 | ||
| 31 |  | |
| 33 | ||
| 34 |  | |
| 36 | ||
| 37 | 28 | # Download Pandoc |
| 38 | 29 | |
| 39 | 30 | Start by downloading Pandoc from their [GitHub |
| @@ -93,9 +84,6 @@ This loop will perform the following actions: | ||
| 93 | 84 | `-o`. This option adds the `.md` file extension to recognize the output files |
| 94 | 85 | as Markdown files. |
| 95 | 86 | |
| 96 |  | |
| 98 | ||
| 99 | 87 | If you want to export to another format, simply specify the `-f=`/`--from=` and |
| 100 | 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 | 279 | # Initial Sync |
| 280 | 280 | |
| 281 | 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 | 284 | ```sh |
| 285 | 285 | mbsync -aV |
| @@ -299,15 +299,7 @@ The emails will now to be ready to use! | ||
| 299 | 299 | You can now launch Doom and open Mu4e with `SPC o m`. You can also explore the |
| 300 | 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 | 50 | script, you can toggle the `Suppress this message permanently` button and click |
| 51 | 51 | OK to run the machine. |
| 52 | 52 | |
| 53 |  | |
| 55 | ||
| 56 | 53 | > **Quick Tip**! |
| 57 | 54 | > |
| 58 | 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 | 62 | Once successful, OrbStack will launch your default terminal and log you into the |
| 66 | 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 | 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 | 82 | ### Test Examples |
| 87 | 83 | |
| 88 | As a quick example of the system, I added a `test` user, installed `neofetch`, | |
| 89 | and switched the `test` user's shell to `zsh`: | |
| 84 | As a quick example of the system, I installed `neofetch`, switched to the `zsh` | |
| 85 | shell, and ran a few common commands. | |
| 90 | 86 | |
| 91 | 87 |  |
| 92 | 88 | |