Advanced Search
Search Results
121 total results found
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]...
Food Ratings
Eggs Brand Name Rating / 10 Comments Port stephens free range eggs 6 lots of weak and almost rottten insides, shells ok Pace farm eggs 6 runny, weak insides pirovic farm fresh free range eggs 9 very good quality, no rotten ones...
Resturant Ratings
Indian Name Rating / 10 Comments Sam Thai (neutral bay) 9 great chicken pan Thai, amazing flavour and texture Phulkari Indian mosman 9 Lamb and chicken were nice, very spicy Dear deer dumplings 8 kung pow chicken very flavourful a...
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...
Travel Tips
Travel Items Carry on items Toothbrush Toothpaste MedKit (Band aid, aspirin) 1 change of clothes Headphones Laptop / iPad Chargers Water bottle Lip Balm Face moisteriser Eye mask Universal plug Portable charger Sunnies Big Bag Undies Socks...
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)
Server
CPU - AMD Ryzen 9 7950X 16-Core AM5 4.50 GHz Unlocked CPU Processor RAM - Kingston FURY Beast RGB 32GB (2x 16GB) DDR5 6000MHz CL36 AMD Desktop Memory Storage Boot M.2 Drive - WDC WDS120G2G0B-00EPW0 10TB New HDD - WDC WD102KFBX-68M95N0 10TB Old HDD - WD...
General Management & commands
Get the size of a folder ncdu /path/to/view/ Strip all metadata from files exiftool -all= -overwrite_original *