Symlink your Google Chrome cache to /tmp

Refer two posts down on how to move your /tmp folder to memory (tempfs). Now symlink your Google Chrome (or Firefox) cache to /tmp (which resides in memory). rm -rf ~/.cache/google-chrome ln -s /tmp ~/.cache/google-chrome

SSD performance tip 1

Here is an excellent resource. A bit long but really great! https://sites.google.com/site/easylinuxtipsproject/bugs#TOC-Hibernate-and-suspend-don-t-always-work-well:-they-make-some-computers-malfunction-or-even-enter-a-coma I recently bought myself an SSD hard drive for my old notebook. Well worth it! You need to make a few tweaks though Read more…

Ubuntu performance and Swappiness

Wait what? Is swappiness even an actual word? According to Google Chrome’s built in spell checker and most probably any dictionary it is not, but to any Linux user and expert out there, it most Read more…

Plex not seeing NTFS external hard drive

type sudo blkid. You will get output like this: /dev/sda1: UUID=”9081b56d-8715-49f3-a35d-529a39d5780e” TYPE=”ext4″ PARTUUID=”c8168d71-01″ /dev/sda5: UUID=”fbd90bd5-6b1a-4088-8569-0afbf0faebab” TYPE=”swap” PARTUUID=”c8168d71-05″ /dev/sdb1: UUID=”79a6887b-0168-464e-9507-84cc1233fcb6″ TYPE=”ext4″ PARTUUID=”c3072dd0-01″ /dev/sdc1: UUID=”4E65750852A3B04A” TYPE=”ntfs” PARTUUID=”000dfe15-01″ Way at the end is the NTFS drive. Now create Read more…

PS3MediaServer on Ubuntu

Plex is cool, but if your internet goes down, then your clients can’t always connect. So, back the the basics for me with ps3MediaServer as a backup: sudo apt-get install mencoder tsmuxer avisynth ffmpeg mplayer Read more…

Some apache2 configs for owncloud

OMS, the apache guys just can’t stick to a standard. But anyhow, here are some configs to do: Issue 1 (Where is my config.php) Most likely it is in /var/www/owncloud/config/config.php Issue 2 (when starting Apache) Read more…

Correct Kali repos and VirtualBox bidirectional clipboard

nano /etc/apt/sources.list deb http://http.kali.org/kali kali-rolling main contrib non-free # For source package access, uncomment the following line deb-src http://http.kali.org/kali kali-rolling main contrib non-free Then do: sudo apt-get update && sudo apt-get upgrade -y sudo apt-get Read more…

Kali on Hyper V

I recently had to get Kali up and running on Hyper V. Here are some tips and tricks: After installation, use these sources (they might change after some time so always check the Kali website Read more…

Prevent devices from bypassing pihole (mikrotik)

Thanks to this guy for this awesome post: https://www.reddit.com/r/pihole/comments/5g249i/tip_redirect_all_dns_to_pihole_with_mikrotik/ Basically, you need to do this: Change 192.168.88.110 to your pi hole IP Change 192.168.88.0/24 to your subnet #Make sure all DNS goes to pihole IP Read more…

remote error: tls: bad record MAC

I sometimes get this in docker or a VM. It is related to checksum offloading onto the NIC. Diable checksum offloading: sudo apt install ethtool sudo ethtool –offload eth0 rx off tx off

Github RPC failed; curl 56 GnuTLS recv error A TLS fatal alert has been received

I am running Ubuntu 18.04 in HyperV and couldn’t push to Github. Pull was fine. This was LEGIT the fix. A driver issue…. https://stackoverflow.com/questions/56946336/ubuntu-wsl2-git-getting-the-remote-end-hung-up-unexpectedly-on-large-repos/56946337#56946337 Go here to get the latest Intel WiFi driver: https://downloadcenter.intel.com/download/28876/Windows-10-Wi-Fi-Drivers-for-Intel-Wireless-Adapters?v=t