Skip to content

Instantly share code, notes, and snippets.

View harmancode's full-sized avatar
🐜
Mostly on GitLab

E. Harman harmancode

🐜
Mostly on GitLab
  • Texas, US
View GitHub Profile
@harmancode
harmancode / nvmCommands.js
Created October 3, 2022 15:23 — forked from chranderson/nvmCommands.js
Useful NVM commands
// check version
node -v || node --version
// list installed versions of node (via nvm)
nvm ls
// install specific version of node
nvm install 6.9.2
// set default version of node
@harmancode
harmancode / gist:de93cf246be070dff4b8180a37af8df0
Last active October 13, 2022 19:19
How to use lnav with docker-compose logs
# Assuming you're using oh-my-zsh and zsh
# Go to your custom plugin directory
cd ~/.oh-my-zsh/custom/plugins
# Get the plugin
git clone https://github.com/rsteube/dclnav.git
vim ~/.zshrc
# Add dclnav into plugins array, save the file
# Restart shell
source ~/.zshrc
# You're ready to use dclnav
@harmancode
harmancode / gist:35060e5c26c420a06342cc0e0f637472
Created October 19, 2022 19:24
How to Install and Use Silver Searcher on Linux
How to Install and Use Silver Searcher on Linux
On Debian and Ubuntu, use the following command:
sudo apt install silversearcher-ag
search term:
ag searchterm
search phrase:
ag \"this is a phrase\"
@harmancode
harmancode / how-to-install-cocoapods-on-macos.md
Created November 12, 2022 02:17
How to install CocoaPods on a new macOS
@harmancode
harmancode / gist:3dcfc7efd3429b92f58aff75f853acde
Created August 31, 2024 04:40
Stop and prevent automatic Windows 11 upgrade
1. Stop the Windows 11 Installation
Pause Windows Updates:
Go to Settings > Update & Security > Windows Update.
Click on Pause updates for 7 days to temporarily stop the update process.
Stop the Windows Update Service:
Press Win + R, type services.msc, and press Enter.
Scroll down to Windows Update in the list of services.
Right-click on Windows Update and select Stop.
# Programming Quotes
> "Code without tests is broken by design."
>
> – Jacob Kaplan-Moss, one of Django’s original developers