Browse Source

updated docusaurus and added magic

windhamdavid 3 years ago
parent
commit
d13af126ad
8 changed files with 1325 additions and 1053 deletions
  1. 1 0
      docs/index.md
  2. 151 0
      docs/localhost/magic.md
  3. 3 3
      docusaurus.config.js
  4. 455 384
      package-lock.json
  5. 7 7
      package.json
  6. 1 0
      sidebars.js
  7. 10 8
      src/pages/index.md
  8. 697 651
      yarn.lock

+ 1 - 0
docs/index.md

@@ -37,6 +37,7 @@ I collect docs I find useful as I'm using them. I like to make notes along the w
 ### Localhost  
 ### Localhost  
 [Log](localhost/_log) | 
 [Log](localhost/_log) | 
 [Macs](localhost/macs) | 
 [Macs](localhost/macs) | 
+[Magic](localhost/magic) | 
 [Apple](localhost/apple) | 
 [Apple](localhost/apple) | 
 [Chrome](localhost/chrome) | 
 [Chrome](localhost/chrome) | 
 [Homebrew](localhost/brew) | 
 [Homebrew](localhost/brew) | 

+ 151 - 0
docs/localhost/magic.md

@@ -0,0 +1,151 @@
+# magic
+My secondary machine ( i7 mac mini )  
+My current main machine is [Macs](macs)  
+**[https://davidawindham.com/mac-mini/](https://davidawindham.com/mac-mini/)**  
+**[https://davidawindham.com/anthropomorphizing-machines/](https://davidawindham.com/anthropomorphizing-machines/)**  
+**[https://davidawindham.com/arm/](https://davidawindham.com/arm/)**
+
+### Notes:
+**22/11/8** - Preparing for my annual machine cleaning and migration to ARM.  In doing so, I've moved the magic mini up to the office to act as a server on which to drop my development projects during the migration. I previously had used the mini as a media server in the den but I've found that it's easier to user AirPlay from a tablet.  I'll leave a breadcrumb trail here of the specifics as a reference. 
+```sh
+$magic
+```
+### Network
+Moved it to have an ethernet connection to the main router and reserved the IP address: **192.168.7.177** so that it's available to all of the machines on the network. 
+
+### Storage
+Renamed the drive ( MiniSSD ) and wiped clean the original 1TB disc ( Magick ) to use as a NAS backup drive. Added my two Lacie drives ( Silverbullet / Farpoe ) so that they are accessible via the network. Changed the file permissions to allow Remote Management and access. 
+
+### Operating System
+It's going to be permanently stuck on MacOS 11 Catalina due to Monterey not supporting it. Installed the lastest XCode command line tools to bring Homebrew up to speed. Matched up the software on macs so I have duplicates and I'm making notes on which ones are x86, universal, and ARM native.
+
+### Terminal
+Oh My ZSH configuration to match servers and other machines. I use an identifying emoji ( Macs ๐Ÿถ / Magic ๐ŸŽฑ / Zeke ๐ŸฆŠ / Woozer ๐Ÿป  )for each prompt to make it easier to differentiate the machines.
+Migrated dotfiles using my repo @ [https://code.davidawindham.com/david/dotfiles](https://code.davidawindham.com/david/dotfiles)
+
+### Databases
+Duplicated all of my existing project databases:
+- MySQL 8.0.26 x86 64bit
+- PostGreSQL 13.4 
+- MongoDB 4.4
+- Redis 6.2
+
+### Languages
+- PHP 7.4.24 & 8.0.11
+- Ruby 2.7.4 & 3.0.2 ( via RVM )
+- Python 3.9.7
+- GoLang 1.17.3 
+- Node 16.13 & 17.0.1 ( via NVM )
+
+### Software
+- Abandoned 
+  - RDM ( Redis Now in TablesPlus )
+  - Colloquy ( No IRC anymore )
+  
+- Migrated
+  - TablesPlus
+  - Sequel Pro
+  - MongoDB Compass
+  - Docker
+  - DBengin
+  - Postman/Insomnia
+  - Vercel Now
+  - WebStorm/RubyMine/PyCharm/PhpStorm/GoLand
+  - VSCode/Textmate/Sublime/Atom/CodeKit
+  - AdobeCC/Sketch/Sip
+  - Final Cut/Audio Hijack/VLC/Handbrake/Screenflow/Licecap
+  - Keybase/Slack/Zoom
+  - Apache/Nginx
+  - Homebrew 3.3.3
+  
+### Homebrew
+```sh
+brew leaves | column
+```
+|            |  |                      |
+|--------------------|-------------|------------------------------|
+| automake           | libmetalink | php@7.2                      |
+| boost              | libpqxx     | php@7.4                      |
+| composer           | libxml2     | phpunit                      |
+| dnsmasq            | libyaml     | postgresql                   |
+| faac               | makedepend  | redis                        |
+| ffmpeg             | mcrypt      | sphinx-doc                   |
+| gist               | mkcert      | texi2html                    |
+| gnupg              | mysql@5.7   | tmux                         |
+| go                 | nghttp2     | wp-cli                       |
+| heroku/brew/heroku | nginx       | yarn                         |
+| httpd              | nss         | yasm                         |
+| httrack            | nvm         | zlib                         |
+| ilmbase            | pandoc      | zsh-history-substring-search |
+| imagemagick        | php         | zsh-syntax-highlighting      |
+
+```sh
+brew list
+```
+
+|                       |                  |                              |
+|-----------------------|------------------|------------------------------|
+| adns                  | leptonica        | nspr                         |
+| aom                   | libass           | nss                          |
+| apr                   | libassuan        | nvm                          |
+| apr-util              | libbluray        | oniguruma                    |
+| argon2                | libde265         | opencore-amr                 |
+| aspell                | libev            | openexr                      |
+| autoconf              | libevent         | openjpeg                     |
+| automake              | libffi           | openldap                     |
+| bdw-gc                | libgcrypt        | openssl@1.1                  |
+| boost                 | libgpg-error     | opus                         |
+| brotli                | libheif          | p11-kit                      |
+| c-ares                | libidn           | pandoc                       |
+| ca-certificates       | libidn2          | pcre                         |
+| cairo                 | libksba          | pcre2                        |
+| composer              | liblqr           | php                          |
+| curl                  | libmetalink      | php@7.2                      |
+| curl-openssl          | libnghttp2       | php@7.4                      |
+| dav1d                 | libogg           | phpunit                      |
+| dnsmasq               | libomp           | pinentry                     |
+| docbook               | libpng           | pixman                       |
+| docbook-xsl           | libpq            | pkg-config                   |
+| faac                  | libpqxx          | postgresql                   |
+| ffmpeg                | libpthread-stubs | python@3.10                  |
+| flac                  | libsamplerate    | python@3.9                   |
+| fontconfig            | libsndfile       | rav1e                        |
+| freetds               | libsodium        | readline                     |
+| freetype              | libsoxr          | redis                        |
+| frei0r                | libssh2          | rtmpdump                     |
+| fribidi               | libtasn1         | rubberband                   |
+| gd                    | libtiff          | sdl2                         |
+| gdbm                  | libtool          | shared-mime-info             |
+| gettext               | libunistring     | snappy                       |
+| ghostscript           | libusb           | speex                        |
+| giflib                | libvidstab       | sphinx-doc                   |
+| gist                  | libvmaf          | sqlite                       |
+| glib                  | libvorbis        | srt                          |
+| gmp                   | libvpx           | tesseract                    |
+| gnu-getopt            | libx11           | texi2html                    |
+| gnupg                 | libxau           | theora                       |
+| gnutls                | libxcb           | tidy-html5                   |
+| go                    | libxdmcp         | tmux                         |
+| gobject-introspection | libxext          | unbound                      |
+| graphite2             | libxml2          | unixodbc                     |
+| guile                 | libxrender       | utf8proc                     |
+| harfbuzz              | libyaml          | webp                         |
+| heroku                | libzip           | wp-cli                       |
+| heroku-node           | little-cms2      | x264                         |
+| httpd                 | lzo              | x265                         |
+| httpd24               | m4               | xmlto                        |
+| httrack               | makedepend       | xorgproto                    |
+| icu4c                 | mcrypt           | xvid                         |
+| ilmbase               | mhash            | xz                           |
+| imagemagick           | mkcert           | yarn                         |
+| imath                 | mpdecimal        | yasm                         |
+| jansson               | mysql@5.7        | zeromq                       |
+| jbig2dec              | ncurses          | zimg                         |
+| jemalloc              | nettle           | zlib                         |
+| jpeg                  | nghttp2          | zsh-history-substring-search |
+| jpeg-xl               | nginx            | zsh-syntax-highlighting      |
+| krb5                  | node             | zstd                         |
+| lame                  | npth             |                              |
+
+
+

+ 3 - 3
docusaurus.config.js

@@ -2,7 +2,7 @@
 module.exports = {
 module.exports = {
   title: 'David Windham TIL',
   title: 'David Windham TIL',
   tagline: 'Because Today I Learned',
   tagline: 'Because Today I Learned',
-  url: 'https://davidawindham.com/til',
+  url: 'https://davidawindham.com',
   baseUrl: '/til/',
   baseUrl: '/til/',
   onBrokenLinks: 'throw',
   onBrokenLinks: 'throw',
   onBrokenMarkdownLinks: 'warn',
   onBrokenMarkdownLinks: 'warn',
@@ -44,7 +44,7 @@ module.exports = {
         {to: 'about/',activeBasePath: 'til',label: 'About',position: 'left'},
         {to: 'about/',activeBasePath: 'til',label: 'About',position: 'left'},
         {to: 'help', label: 'Help', position: 'left'},
         {to: 'help', label: 'Help', position: 'left'},
         {
         {
-          search: true,
+          type: 'search', position: 'right',
         },
         },
       ],
       ],
     },
     },
@@ -55,7 +55,7 @@ module.exports = {
       {
       {
         docs: {
         docs: {
           sidebarPath: require.resolve('./sidebars.js'),
           sidebarPath: require.resolve('./sidebars.js'),
-          editUrl:'https://code.davidawindham.com/david/til/',
+          editUrl:'https://code.davidawindham.com/david/til/master/',
         },
         },
         theme: {
         theme: {
           customCss: require.resolve('./src/css/custom.css'),
           customCss: require.resolve('./src/css/custom.css'),

File diff suppressed because it is too large
+ 455 - 384
package-lock.json


+ 7 - 7
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "daw-til-2",
   "name": "daw-til-2",
-  "version": "0.0.0",
+  "version": "0.0.1",
   "private": true,
   "private": true,
   "scripts": {
   "scripts": {
     "docusaurus": "docusaurus",
     "docusaurus": "docusaurus",
@@ -14,13 +14,13 @@
     "write-heading-ids": "docusaurus write-heading-ids"
     "write-heading-ids": "docusaurus write-heading-ids"
   },
   },
   "dependencies": {
   "dependencies": {
-    "@docusaurus/core": "2.0.0-alpha.72",
-    "@docusaurus/preset-classic": "2.0.0-alpha.72",
-    "@mdx-js/react": "^1.6.21",
+    "@docusaurus/core": "2.0.0-beta.9",
+    "@docusaurus/preset-classic": "2.0.0-beta.9",
+    "@mdx-js/react": "^1.6.22",
     "clsx": "^1.1.1",
     "clsx": "^1.1.1",
-    "docusaurus-lunr-search": "^2.1.10",
-    "react": "^17.0.1",
-    "react-dom": "^17.0.1"
+    "docusaurus-lunr-search": "^2.1.15",
+    "react": "^17.0.2",
+    "react-dom": "^17.0.2"
   },
   },
   "browserslist": {
   "browserslist": {
     "production": [
     "production": [

+ 1 - 0
sidebars.js

@@ -62,6 +62,7 @@ module.exports = {
       label: 'Localhost',
       label: 'Localhost',
       items: [
       items: [
         'localhost/macs',
         'localhost/macs',
+        'localhost/magic',
         'localhost/apple',
         'localhost/apple',
         'localhost/chrome',
         'localhost/chrome',
         'localhost/brew',
         'localhost/brew',

+ 10 - 8
src/pages/index.md

@@ -3,6 +3,8 @@ title: Today I Learned
 ---
 ---
 
 
 # TIL (Today I Learned)
 # TIL (Today I Learned)
+* November 2021
+  * [Preparing my Mac Mini to migrate to a new ARM based Mac](/docs/localhost/magic)
 * March 2021
 * March 2021
 	* [When Redd Foxx died, everyone laughed because they thought it was a reference to Fred Sanford](https://en.wikipedia.org/wiki/Redd_Foxx#Death)
 	* [When Redd Foxx died, everyone laughed because they thought it was a reference to Fred Sanford](https://en.wikipedia.org/wiki/Redd_Foxx#Death)
 	* [Woozer data center migration lost the php7.4-fpm sock](https://davidawindham.com/til/docs/projects/woozer/)
 	* [Woozer data center migration lost the php7.4-fpm sock](https://davidawindham.com/til/docs/projects/woozer/)
@@ -25,17 +27,17 @@ title: Today I Learned
 * January 2020  
 * January 2020  
 	* [Annual overhaul of the machines](https://davidawindham.com/late-adopter/)
 	* [Annual overhaul of the machines](https://davidawindham.com/late-adopter/)
 	* [MacOS 10.15](https://davidawindham.com/til/docs/localhost/custom)
 	* [MacOS 10.15](https://davidawindham.com/til/docs/localhost/custom)
-	* [PHP 7.4.2](https://davidawindham.com/til/docs/lang/php)
-	* [MySQL 8.0.19](https://davidawindham.com/til/docs/db/mysql)
-	* [Ruby 2.7.0](https://davidawindham.com/til/docs/lang/ruby)
-	* [Rails 5.2.4.1](https://davidawindham.com/til/docs/lang/rails)
+	* [PHP 7.4.2](https://davidawindham.com/til/docs/lang/PHP)
+	* [MySQL 8.0.19](https://davidawindham.com/til/docs/db/MySQL)
+	* [Ruby 2.7.0](https://davidawindham.com/til/docs/lang/Ruby)
+	* [Rails 5.2.4.1](https://davidawindham.com/til/docs/waf/rails)
 	* [Homebrew 2.2.5](https://davidawindham.com/til/docs/localhost/brew)
 	* [Homebrew 2.2.5](https://davidawindham.com/til/docs/localhost/brew)
 	* [Node 2.2.5](https://davidawindham.com/til/docs/localhost/brew)
 	* [Node 2.2.5](https://davidawindham.com/til/docs/localhost/brew)
-	* [NPM 6.9.2](https://davidawindham.com/til/docs/lang/npm)
-	* [Node 10.16.3](https://davidawindham.com/til/docs/lang/nodejs)
-	* [Golang 1.13.7](https://davidawindham.com/til/docs/lang/golang)
+	* [NPM 6.9.2](https://davidawindham.com/til/docs/waf/npm)
+	* [Node 10.16.3](https://davidawindham.com/til/docs/waf/nodejs)
+	* [Golang 1.13.7](https://davidawindham.com/til/docs/lang/Golang)
 * September 2019
 * September 2019
-	* [PHP 7.3 updates](/docs/lang/php)
+	* [PHP 7.3 updates](/docs/lang/PHP)
 * January 2019
 * January 2019
 	* [LetsEncrypt Certbot TLS-SNI-01 deprecated](https://davidawindham.com/til/docs/server/letsencrypt)
 	* [LetsEncrypt Certbot TLS-SNI-01 deprecated](https://davidawindham.com/til/docs/server/letsencrypt)
 	* [Groucho Marx told Warner Brothers that he owned 'brothers'](https://en.wikipedia.org/wiki/A_Night_in_Casablanca)
 	* [Groucho Marx told Warner Brothers that he owned 'brothers'](https://en.wikipedia.org/wiki/A_Night_in_Casablanca)

File diff suppressed because it is too large
+ 697 - 651
yarn.lock


Some files were not shown because too many files changed in this diff