Skip to content

Instantly share code, notes, and snippets.

View aravezskinteeth's full-sized avatar

Liv aravezskinteeth

View GitHub Profile
@aravezskinteeth
aravezskinteeth / astronvim.txt
Created May 24, 2023 16:28
AstroNvim log health
────────────────────────────────────────────────────────────────────
1 ──────────
2 astronvim: require("astronvim.health").check()
3
4 AstroNvim
5 - AstroNvim Version: v3.10.2
6 - Neovim Version: v0.9.0
7 - OK Using stable Neovim >= 0.8.0
8 - OK git is installed: Used for core functionality such as
8 updater and plugin management
@aravezskinteeth
aravezskinteeth / neovim.txt
Created May 24, 2023 16:26
Neovim log health
==============================================================================
astronvim: require("astronvim.health").check()
AstroNvim ~
- AstroNvim Version: v3.10.2
- Neovim Version: v0.9.0
- OK Using stable Neovim >= 0.8.0
- OK `git` is installed: Used for core functionality such as updater and plugin management
- OK `open` is installed: Used for `gx` mapping for opening files with system opener (Optional)
- OK `lazygit` is installed: Used for mappings to pull up git TUI (Optional)
@aravezskinteeth
aravezskinteeth / rectangle-pro-gaps.sh
Created May 12, 2023 16:14
[Fix gaps between borders Rectangle Pro] Fit your custom menu bar (like sketchybar) without making the gaps between windows too big. #macos
defaults write com.knollsoft.Hookshot screenEdgeGapTop -int 45
defaults write com.knollsoft.Hookshot screenEdgeGapBottom -int 10
defaults write com.knollsoft.Hookshot screenEdgeGapLeft -int 10
defaults write com.knollsoft.Hookshot screenEdgeGapRight -int 10
# Restart the app and tile the windows again.
# If it's too big, change the size between gaps on the UI and done!
@aravezskinteeth
aravezskinteeth / skhd-pid-file.md
Created May 3, 2023 19:58
[Skhd] Could not lock pid-file! abort...

How did you get this fixed. Could you elaborate more?

Yes, I solved this permanently and I don't have to use sudo anymore.

Enable root password

  1. Open Spotlight with cmd + space
  2. Type Directory Utility.app
  3. Click the lock icon, then enter your admin account name and password.
  4. Click on Edit--> Enable Root User in the menu bar. Then enter the password that to want to use and save it on a note.
@aravezskinteeth
aravezskinteeth / neofetchlog
Created December 8, 2022 15:51
Neofetch log
+ verbose=on
+ shift
+ [[ -n '' ]]
+ [[ on != on ]]
+ get_simple -vv
+ [[ -n -vv ]]
++ type -t get_-vv
+ [[ '' == \f\u\n\c\t\i\o\n ]]
+ shift
+ [[ -n '' ]]
@aravezskinteeth
aravezskinteeth / istats.py
Created October 18, 2022 22:58 — forked from M4cs/istats.py
Getting iStats Widget
import os
import time
import subprocess
while True:
output = subprocess.check_output(['istats', 'cpu'])
output1 = subprocess.check_output(['istats', 'fan'])
output2 = subprocess.check_output(['istats', 'battery'])
new_output = '\n\n\n' + str(output.decode('utf-8')) + '\n' + str(output1.decode('utf-8')) + '\n' + str(output2.decode('utf-8'))
print(new_output.replace('For more stats run `istats extra` and follow the instructions.', ''))