Advanced Search
Search Results
125 total results found
Bash
Edit shortcuts Open .bashrc file and add alias 1="command" Auto run commands on terminal open Open .bashrc file and add command to bottom file Fix: no bash after ssh login chsh -s /bin/bash
Tests
Testing for deficincies Iodine Put a drop or two of iodine on your skin, if the brown smudge is gone in less then 1 hour, iodine is low, if its still there after 5 hours, its ok Low stomach acid / Low pH Put 1/4 to 1/4 a tablespoot of bicarb ...
Spike Protein Detox
bromilane 500mg once a day nattokinase 2000U twice a day circumin 500mg 3x a day for 12 months
Software problem
In order of what to try first: Check if program is running in task manager, if it is, close it in task manager and reopen it restart computer uninstal and reinstall program destory computer and wonder why nothing works when it should
Internet
In order of importance Try internet on another device first (make sure airplane mode is enabled and wifi is connected) unplug modem and nbn box for 1 minute Turn off nbn box, connect computer directly to nbn box (BYPASSING MODEM) and wait 10 minutes chec...
Buying tips
Things to check included apple car play usb ports cruise control how to put up and down roof glove box spare tyre Driving test fast acceleration fast braking air con heater cruise control how to open petrol cap how to open bonet how ...
Risks & Mitigation
All Potential Crypto Risks Clipboard Manipulator RIsk: A virus could view your clipboard and if it detects a wallet address, it could change it with an attackers address Mitigation: Check first and last 8 digits of address Loosing Hardware wallet ...
spotdl
Install & Setup Best to load a venv first Installing spotdl pip install spotdl Open the config file at .spotdl/config.json and update "output" to be "{album}/{title}.{output-ext}" Updating pip install --upgrade spotdl
ffmpeg
Installing sudo apt install ffmpeg Compress a video to h265 ffmpeg -i example_h264.mp4 -c:v libx265 -crf 24 -preset fast -c:a aac -b:a 128k example_h265.mp4 CRF Info For H.264 (x264): The typical CRF range is 18-28. CRF 18: Near lossless quality ...
UFW
General Info By default, UFW is set to deny all incoming connections and allow all outgoing connections. This means anyone trying to reach your server would not be able to connect, while any application within the server would be able to reach the outside wor...
Swap
Clear swap file 1 - Disable Swap sudo swapoff -a 2 - Re-enable swap sudo swapon -a View Swap usage sudo smem -rs swap Swap config Update swappiness config sudo bash -c "echo 'vm.swappiness = 1' >> /etc/sysctl.conf" Update value immediately ...
IPFS
Installation for Linux 1 - Download the package wget https://dist.ipfs.tech/kubo/v0.31.0/kubo_v0.31.0_linux-amd64.tar.gz 2 - Unzip the file tar -xvzf kubo_v0.39.0_linux-amd64.tar.gz 3 - Move into the kubo folder cd kubo 4 - Run the install script s...
Disk Stuff
List disks: fdisk -l OR df -h Scanning 1 - Check if SMART scans are enabled smartctl -s on /dev/sdX 2 - Run a test smartctl -t DURATION /dev/sdX Duration is either "long" or "short" 3 - Check results smartctl -a /dev/sdX S.M.A.R.T sc...
Wireguard
Setup Script #!/bin/bash # Checks to see if script is being run as root if [ "$EUID" -ne 0 ]; then echo "Please run as root" exit fi sudo apt install wireguard # Deletes keys in case this script is being run again rm -f /etc/wireguard/* ...
SSL & Certificate management
Install certbot and run setup sudo apt install certbot python3-certbot-apache a2enmod ssl sudo certbot --apache List all certificates certbot certificates Delete a certificaite certbot delete --cert-name CERT_NAME_HERE
Lasagne
Ingredients For the ragu 2 tbsp olive oil 900g/2lb beef mince 2 onions, roughly chopped 4 sticks celery, diced (optional) 2 garlic cloves, crushed 2 level tbsp plain flour 150ml/¼ pint beef stock 1 tbsp redcurrant jelly (optional) or 1 tsp caster ...
Chicken pasta bake
Ingredients butter, for greasing 250g/9oz penne 1 onion, roughly chopped 3 skinless, boneless chicken breasts, cut into thin strips roughly the size of your little finger 1 tbsp paprika 2 tbsp olive oil salt and freshly ground black pepper Fo...
Directory Structure
Directory Purpose / Root of the filesystem /bin Essential command binaries /sbin Essential system binaries /etc Configuration files /var Variable data (logs, cache, etc.) /var/log System and application logs...
PostgreSQL
Install Install postgresql and postgis for coordinates data sudo apt install postgresql postgis -y Login sudo -u postgres psql Change password to default account ALTER USER postgres WITH PASSWORD 'new password'; Restrict remote access to localh...
SQL Reference
Create a table that auto deletes on other table deletion CREATE TABLE tradie_postcode_covered ( tradie_id INT, postcode VARCHAR(10), PRIMARY KEY (tradie_id, postcode), -- primary key ensures no tradie can be in the same postcode twice FORE...