Advanced Search
Search Results
125 total results found
Tech Support
Property & Cars
Investing & Trading
Linux
Programming
Health
Recipes
Useful Resources
Van Life
Electricity stuff
AI
Web server management
Python
Software & packages
Property
Cars
Git
General Info
Treatments
Docker
Self Education
SQL
ASX Trader (Dave) - Trade analysis
AI Chats
Patterns
Mac support
iPhone Support
Activating an SSH Key
eval "$(ssh-agent -s)" ssh-add ~/.ssh/server
Order Of Operations
Local > remote Add the changed files commit the files push to repo git add FILE_NAME git commit -m "message" git push origin main Remote -> local Pull changes to local folder git pull origin main
Property Investing
Property investing considerations PROS CONST "Passive" income Tax deductions if property is owned by a human and human is working Increase in property value, proportional to deposit Hard to go to $0 like stonks Can use proptery as collate...
Moving addresses
Chang address for Banks Gov services (drivers license, ato, medicare, electoral comission) library card Services (gas, electricity, water, internet, mobile phone) Car insurance Accountant Toll Super Utilities (Internet, water, gas, electricity)
Crypto Bookmarks & Fees
Bookmarks Dex Curve 1Inch DeFi Llama Swap ThorSwap Cow Swap Raydium Borrow and lending AAVE Compound Finance Kamino Finance Morpho Perp Dex Hyperliquid Prediction Markets Polymarket Yield Aggregator Beefy Finance Yearn ...
yt-dlp
Download video as mp3 yt-dlp -x --audio-format mp3 URL_HERE Convert webm to mp4 ffmpeg -i input.webm -c:v libx264 -preset slow -crf 22 -c:a aac -b:a 128k output.mp4 Download video as mp4 yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]...
SMB
Editing SMB shares on linux 1 - Open the config file at /etc/samba/smb.conf 2 - Edit the SMB file [ShareName] path = /path/to/share browseable = yes writable = yes valid users = user1, user2 3 - Save & restart smbd sudo systemctl r...
Mounting & Unmounting
Get disk information List information about all available block devices, including disks and their partitions. lsblk -o NAME,MODEL,SIZE,ROTA,TYPE,MOUNTPOINTS List information about disks and the partitions sudo fdisk -l List disks with filesystems sud...
Buying & Selling
Buying a property General Steps Hit up a mortgage BROKEr Building inspection (Pest, mould, foundation) Use conveyencer to look over sales contract Find place and put offer in Check before getting interested Is the property in a flood zone Chec...
Symbolic Links
Regular SymLink ln -s /path/to/target /path/to_where_new_shortcut_is_made -s = softlink like a windows shortcut
Apache setup & Virtual servers
Initial setup Install packages sudo apt install apache2 mariadb-server libapache2-mod-php php-mysql -y Open ports at cd /etc/apache2/ports.conf and add the line Listen NEW_PORT_NUMBER Creating virtual servers Create a file named NAME.conf and add some...
SQL
After install ensure secure access sudo mysql_secure_installation Logging in mysql -u USERNAME -p add -h HOSTNAME IP when logging in remotely Creating a user CREATE USER 'NEW_USERNAME'@'localhost' IDENTIFIED BY 'NEW_PASSWORD'; Creating a databas...
Users & Permissions
Users and groups List all groups and users in groups getent group Add a user to a group sudo adduser username groupname which is the same as sudo usermod -aG groupname username Create a new user sudo useradd -options_here username Options avail...
Python packages and commands
Managing Virtual Envrionments Create a new venv python3 -m venv /path/to/new/virtual/environment Activate the new venv Linux / Mac source myenv/bin/activate Activate an envrionment on windows myenv\Scripts\activate Exit the venv deactivate Installing a...
Working with json
Writing json to file import json with open('data.json', 'w', encoding='utf-8') as f: json.dump(data, f, ensure_ascii=False, indent=4)
General Management & commands
Get the size of a folder ncdu /path/to/view/ Strip all metadata from files exiftool -all= -overwrite_original *
Fail2Ban
Setup Update and install apt update && apt upgrade -y && apt install -y fail2ban Start fail2ban and set it to auto start on boot sudo systemctl start fail2ban && sudo systemctl enable fail2ban Make a local copy of the config file (why? because jail.conf ...
Image manipulation
Compression Install sudo apt-get install imagemagick Compress command mogrify -quality 80% *.jpg note: this will overwrite images
SSH
Generate a keypair 1 - Generate the key ssh-keygen -t ed25519 -a 100 -f $HOME/.ssh/SSH_KEY_NAME 2 - Copy the key to the server ssh-copy-id -i ~/.ssh/id_rsa.pub USERNAME@SERVER_IP
wget
General Usage wget -Flags URL Full site mirror wget -mkprE -np -nc -l inf -e robots=off --restrict-file-names=windows -D example.com --no-check-certificate http://example.com Flags --mirror / -m Turns on all options to make a mirror copy of a site ...