View fix-chmod-wsl2.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remount NTSF drive in WSL2 with the metadata option so chmod will work. | |
sudo umount /mnt/c | |
sudo mount -t drvfs C: /mnt/c -o metadata | |
# If you get an error "target is busy" then try to cd / before running the above commands. You may also have to exit other terminals that are using WSL2. |
View docker-pip3-cryptography-dependency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/odoo/odoo/issues/8849#issuecomment-322115976 | |
# For APT | |
apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev | |
# For APK | |
apk add python3-dev libffi-dev libressl-dev openldap-dev | |
# Example alpine docker file | |
FROM python:3.7-alpine |
View .profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.profile | |
cd ~/Repositories | |
# Useful aliases | |
alias subl="/mnt/c/Program\ Files/Sublime\ Text\ 3/subl.exe" | |
alias chrome="/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe" | |
alias github="chrome https://github.com/coltenkrauter?tab=repositories" | |
alias downloads="echo /mnt/c/Users/Colten/Downloads/" | |
alias clo="git clone" |
NewerOlder