Skip to content

Instantly share code, notes, and snippets.

View ecarlson94's full-sized avatar

Kiri Carlson ecarlson94

View GitHub Profile
@ecarlson94
ecarlson94 / README.md
Last active February 15, 2024 09:51
Install MongoDB on Alpine Linux

Steps to install MongoDB on Alpine

echo "http://dl-cdn.alpine-linux.org/alpine/v3.9/main" >> sudo tee -a /etc/apk/repositories
echo "http://dl-cdn.alpine-linux.org/alpine/v3.9/community" >> sudo tee -a /etc/apk/repositories

sudo apk add --update mongodb yaml-cpp=0.6.2-r2
export MONGOMS_SYSTEM_BINARY=/usr/bin/mongod
@ecarlson94
ecarlson94 / delete_git_submodule.md
Created January 20, 2021 01:05 — forked from myusuf3/delete_git_submodule.md
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule
@ecarlson94
ecarlson94 / README.md
Last active August 22, 2024 19:50
WSL Configuration

Installing WSL (windows subsystem for linux)

Running the azure-team terraform make file to create your infrastructure may not work on a Windows machine. If you cannot get it to run, install a linux distribution where you will exectute the tf files. Setting up a distribution with all of the right dependencies does involve a bit of setup to get it configured properly. The following is a list of steps you'll need to complete:

Install WSL

@ecarlson94
ecarlson94 / vimium-options.json
Last active March 5, 2020 00:53
Vimium Options
{
"settingsVersion": "1.66",
"exclusionRules": [
{
"pattern": "https?://mail.google.com/*",
"passKeys": ""
},
{
"pattern": "https?://github.mktp.io/*",
"passKeys": "t"