Skip to main content

Posts

Recent posts

Manually installing a specific Chromedriver on Linux

Install Chrome  Download and install Chrome browser from https://www.google.co.uk/chrome/?brand=WHAR&gclid=CjwKCAiAxeX_BRASEiwAc1QdkRiG8sNTxCPiDRXc3EeUaFvGnxPFbocOpcDFVMWTWQ0eGRNtZ6RneBoCfFkQAvD_BwE&gclsrc=aw.ds Check current Chome browser Version Install Chromedriver Check which chromedriver version is nearest to the browser by going to https://chromedriver.storage.googleapis.com/ Download $  wget https:// chromedriver .storage.googleapis.com/<CHROMEDRIVER VERSION>/ chromedriver _linux64.zip Unzip $ unzip chromedriver_linux64.zip Install to system $  sudo mv chromedriver /usr/bin/ chromedriver $  sudo chown root:root /usr/bin/ chromedriver $ sudo chmod +x /usr/bin/chromedriver Lastly, verify that chromedriver is successfully installed! $ chromedriver -v Happy chromedriving!

Force Deleting Contents in Rubbish Bin - Ubuntu

You may have deleted some files when you are in super user mode (sudo). The problem here is that when you are using uvunru variants, you can't empty the rubbish bin since the files transported where from a sudo operation. you can't also open the rubbush bin folder even if you opened the file browser through sudo. So to get around this, we erase is through terminal!!! We navigate through the rubbish bin folder through terminal and delete all the contents through the "rm" command. $ sudo rm -rf  ~/.local/share/Trash/files/*

Searching through terminal

Here are some ways to search through directories using the terminal! Search for files through file name:     $ find <path> -name <search phrase> Search for files through text content:     $ grep -rl "search phrase" <path>

Directly Connecting Your Computer to Raspberry Pi through Ethernet

A quick guide to connect your computer to Raspbberry Pi without the use of routers. $ sudo apt-get install dnsmasq-base Go to “Network Connections” Press “Add” Press “Ethernet” Press “Create” Go to “IPv4 Settings” tab. Under Method, choose “Shared to other computers” Set a distinct name. Press “Save”. Get Raspberry Pi IP with: $ cat /var/lib/misc/dnsmasq.leases Now you can SSH or VNC!!!!