diff --git a/enter/.obsidian/workspace.json b/enter/.obsidian/workspace.json index 172e9e2..6d3b86e 100644 --- a/enter/.obsidian/workspace.json +++ b/enter/.obsidian/workspace.json @@ -10,138 +10,6 @@ { "id": "5b6ceb80caee1b9b", "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Terminal Tips/CLI Tools/CLI Tool Collection/Vim/Vim.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "1dfe7d9c4e8dd41a", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Project Vault/Current Occupations/Potential and Future/About 60 Careers.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "a10cac5e7de32522", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Terminal Tips/Languages/Fortran 1.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "368b690b57efb87a", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Project Vault/Obsidian/Tips on Obsidian itself.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "e439a4adc42cc6ac", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "1a0bac1b67a9e17d", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/KDE Linux.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "71e364b0e1138307", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Project Vault/Current Occupations/Missions/Organizations.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "0bc03f1628dea8ab", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/KDE Linux.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "da80847ae66727c1", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Machine Tips (Quantum)/Math/Algorithms/Encryption/Encryption Software.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "0df2d8640273e70d", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Project Vault/Current Occupations/Missions/Organizations.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "6d7944057d965aa4", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Project Vault/Current Occupations/Missions/Organizations.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "be831ab9ae3b0b76", - "type": "leaf", "state": { "type": "markdown", "state": { @@ -163,18 +31,6 @@ } } }, - { - "id": "71e0f51c211cc694", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Machine Tips (Quantum)/Physics/Hardware/MicroControllers/Arduino.md", - "mode": "source", - "source": false - } - } - }, { "id": "3345e0ca2b759e9e", "type": "leaf", @@ -199,18 +55,6 @@ } } }, - { - "id": "6f2189b218fe34aa", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Servers/Cloud Servers/Cloudron.md", - "mode": "preview", - "source": false - } - } - }, { "id": "63119b17f9c0e9f0", "type": "leaf", @@ -270,21 +114,8 @@ "source": false } } - }, - { - "id": "86e5376cc2747c1a", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Machine Tips (Quantum)/Physics/Hardware/Spark Gap Physics.md", - "mode": "source", - "source": false - } - } } - ], - "currentTab": 4 + ] } ], "direction": "vertical" @@ -413,21 +244,25 @@ "omnisearch:Omnisearch": false } }, - "active": "e439a4adc42cc6ac", + "active": "5b6ceb80caee1b9b", "lastOpenFiles": [ "Coding Tips (Classical)/Project Vault/Obsidian/Tips on Obsidian itself.md", - "Coding Tips (Classical)/Project Vault/Obsidian/Alt. Obsidian.md", + "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md", + "Coding Tips (Classical)/Terminal Tips/CLI Tools/CLI Tool Collection/Vim/Vim.md", + "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/KDE Linux.md", + "Coding Tips (Classical)/Terminal Tips/Languages/Fortran 1.md", + "Coding Tips (Classical)/Project Vault/Current Occupations/Missions/Organizations.md", + "Quantum spaces.canvas", "Coding Tips (Classical)/Project Vault/Obsidian/Encrypting Obsidian.md", + "Coding Tips (Classical)/Project Vault/Obsidian/Alt. Obsidian.md", "Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Extensions.md", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230815110450.png", "Coding Tips (Classical)/Project Vault/Obsidian/Encrypting Obsidian", - "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md", "Machine Tips (Quantum)/Math/Algorithms/Encryption/Encryption Software.md", "Machine Tips (Quantum)/Math/Algorithms/Encryption/Password Managers.md", "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Servers/Cloud Servers/Linode.md", "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md", "Coding Tips (Classical)/Terminal Tips/About terminal.md", - "Coding Tips (Classical)/Terminal Tips/CLI Tools/CLI Tool Collection/Vim/Vim.md", "Machine Tips (Quantum)/Physics/Hardware/MicroControllers/Arduino UNO R4 Wifi.md", "Machine Tips (Quantum)/Physics/Hardware/MicroControllers/Arduino r4 Minima.md", "Machine Tips (Quantum)/Physics/Hardware/MicroControllers/Arduino.md", @@ -444,9 +279,6 @@ "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230810204012.png", "Coding Tips (Classical)/Terminal Tips/CLI Tools/Networking/DNS.md", "Coding Tips (Classical)/Terminal Tips/CLI Tools/Networking/Protocols/Uniform Resource Identifier.md", - "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Servers/About Servers.md", - "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Browser talk/Uniform Resource Locator.md", - "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Browser talk/TLD.md", "Coding Tips (Classical)/Terminal Tips/CLI Tools/Networking/Protocols", "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Servers/Cloud Servers", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230810192136.png", @@ -457,7 +289,6 @@ "Machine Tips (Quantum)/Physics/Hardware/MicroControllers", "Coding Tips (Classical)/Project Vault/Current Occupations/Missions", "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE", - "Quantum spaces.canvas", "Coding Tips (Classical)/Terminal Tips/CLI Tools/CLI Tool Collection", "Classical", "Machine Tips (Quantum)/Math/Algorithms/Encryption", diff --git a/enter/Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md b/enter/Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md index bc8bb7c..5977bc5 100644 --- a/enter/Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md +++ b/enter/Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md @@ -9,8 +9,6 @@ git commit -m "Noted: `date +'%Y-%m-%d %H:%M:%S'`" git push -u origin main ``` -But basically this is the self-hosted information flow: A Sketch -![[Pasted image 20230716192907.png]] --- @@ -19,14 +17,20 @@ But basically this is the self-hosted information flow: A Sketch My Obsidian files are all stored within Google Drive. So in order to maintain sync while still preserving cloud storage space, I used a few different steps than the guides, and well really it was a culmination of it all. +--- -### CURRENT METHOD: Syncing via Gitea Server -This can be done locally or via Google Drive. However, I will be using **[Linode](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FGUIs%2FInternet%2FServers%2FCloud%20Servers%2FLinode)** to host [Gitea](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FGUIs%2FInternet%2FRepos%2FGitea) to host my obsidian and all my repos locally. Go to the folder on your laptop that you'd like to start the git syncing your Obsidian Vault at and run: +##### CURRENT METHOD: Syncing via Gitea Server + +This can be done locally or via Google Drive. However, I will be using **[Linode](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FGUIs%2FInternet%2FServers%2FCloud%20Servers%2FLinode)** to host [Gitea](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FGUIs%2FInternet%2FRepos%2FGitea) to host my obsidian and all my repos locally. + +But basically this is the self-hosted information flow: A Sketch +![[Pasted image 20230716192907.png]] ##### 1. **Setting Up Git repo on your local machine.** +Go to the folder on your laptop that you'd like to start the git syncing your Obsidian Vault at and run: ``` git init ``` @@ -70,7 +74,8 @@ So this is all great and all, you can now push and pull to a remote server that ###### *For Linux:* Sync the Obsidian vault very few minutes with this script via `cron`: - + + ```shell #!/usr/bin/env sh # ^^^^^^^^^^^^^^^ This says find the first instance of a sh (shell) @@ -295,7 +300,7 @@ note: The 180 integer interval is made in *seconds*, thus this script executes launchctl load -w ~/Library/LaunchAgents/us.shwetha.obsidian.plist ``` -to load this `launchd` action. +to load this `launchd` action. This may be in your local user directory as well. 6. Now check your gitea repository. ![[Pasted image 20230715021300.png]] @@ -304,6 +309,7 @@ Ta-da!! You did it!!! All your work will now be synced to git every few minutes No need for pesky cloud storage or physical systems anymore. :) Enjoy. +--- ###### ~~OLD METHOD: Making a Gitlab Repo in GDrive ~~ DON'T DO THIS I learned the hard way :) @@ -375,22 +381,11 @@ Voila! You should see the changes now [over here](https://gitlab.com/shwetha729/ -### Extra Tidbits: ---- -- Lastly but not leastly, I stumbled upon Perlite in my search for obsidian sync. -![[Pasted image 20230206134648.png]] -The sample view of Perlite extension. - -Another[ site that you can render ](https://gitlab-org.gitlab.io/frontend/playground/obsidian-and-gitlab-pages-demo/)Obsidian in: -![[Pasted image 20230714005144.png]] - -For instructions on setting up the front-end of Gitea to your Obsidian Vault head to Browser Talk. - ---- - ##### Resources: +--- + - Follow the instructions [here](https://medium.com/analytics-vidhya/how-i-put-my-mind-under-version-control-24caea37b8a5) and document as you go: - on [Cron]( https://osxdaily.com/2020/04/27/fix-cron-permissions-macos-full-disk-access/): - *UPDATE*: crontab is deprecated for MacOS so the sync option given will not work. diff --git a/enter/Coding Tips (Classical)/Project Vault/Obsidian/Tips on Obsidian itself.md b/enter/Coding Tips (Classical)/Project Vault/Obsidian/Tips on Obsidian itself.md index 0645d03..7672b93 100644 --- a/enter/Coding Tips (Classical)/Project Vault/Obsidian/Tips on Obsidian itself.md +++ b/enter/Coding Tips (Classical)/Project Vault/Obsidian/Tips on Obsidian itself.md @@ -32,7 +32,7 @@ Place any tips or tricks you find on the web on here. ## Plugins -The file to see all installed plugins through terminal is ```/Users/shwethajayaraj/Google\ Drive/My\ Drive/uploads/Obsidian/.obsidian/plugins/obsidian-extract-pdf-annotations``` +The file too see all installed plugins through terminal is ```/Users/shwethajayaraj/Google\ Drive/My\ Drive/uploads/Obsidian/.obsidian/plugins/obsidian-extract-pdf-annotations``` ##### Extract PDF Annotations ![[Pasted image 20221211145937.png]] @@ -68,13 +68,26 @@ Your Obsidian vault is already quite secure given that it is locally hosted and --- +###### Misc. improvements Recent Obsidian Updates: -###### Misc. improvements - - YouTube and Twitter links can now be embedded within your notes using the markdown image embed syntax (i.e. `![](https://www.youtube.com/...)`). - We've redesigned all the tree components (e.g. File Explorer, Outline view) to make the visual hierarchy more clear. If you are using a custom theme, make sure to update it (Settings → Appearance → Check for updates) in case it was impacted at all. - Bookmarks: Added new "Bookmark this block" menu item when right-clicking on a block ID. --- +### Extra Tidbits: +--- + + +- Lastly but not leastly, I stumbled upon Perlite in my search for obsidian sync. +![[Pasted image 20230206134648.png]] +The sample view of Perlite extension. + +Another[ site that you can render ](https://gitlab-org.gitlab.io/frontend/playground/obsidian-and-gitlab-pages-demo/)Obsidian in: +![[Pasted image 20230714005144.png]] + +For instructions on setting up the front-end of Gitea to your Obsidian Vault head to Browser Talk. + +---