install ppt readr for arch linux
sudo snap install libreoffice
Here is what the above code is Doing:
1. Install snapd
2. Install LibreOffice
sudo snap install libreoffice
Here is what the above code is Doing:
1. Install snapd
2. Install LibreOffice
#setup the printer, might not be required #see avalaible printers lpstat -p #set the printer as printing destination lpadmin -d [printer-name] #check if the printer has been set as destination lpstat -d #print lp /file-to-print Here is what the above code is Doing: 1. lpstat -p lists all the printers available on the system. 2….
open -a “Google Chrome” Here is what the above code is Doing: 1. We’re using the os module to run the command line. 2. We’re using the open command to open a file. 3. We’re using the -a flag to specify the application we want to use to open the file. 4. We’re using the…
# clear pagecache only. sync; echo 1 > /proc/sys/vm/drop_caches # clear dentries and inodes. sync; echo 2 > /proc/sys/vm/drop_caches # clear pagecache, dentries and inodes. sync; echo 3 > /proc/sys/vm/drop_caches Here is what the above code is Doing: 1. sync: This will flush the file system buffer. 2. echo 3 > /proc/sys/vm/drop_caches: This will clear…
for reference : https://www.david-merrick.com/2017/08/04/how-to-remove-the-idea-folder-from-git/ Here is what the above code is Doing: 1. Create a .gitignore file in the root of your project. 2. Add the following line to the .gitignore file: .idea/ 3. Commit the .gitignore file to your repository. 4. Delete the .idea folder from your project. 5. Commit the deletion of the…
Setting up a dummy interface If you want to create network interfaces, but lack a physical NIC to back it, you can use the dummy link type. You can read more about them here: iproute2 Wikipedia page. Creating eth10 To make this interface you’d first need to make sure that you have the dummy kernel…
npm install –save @next/mdx @mdx-js/loader Here is what the above code is Doing: 1. We’re adding the @next/mdx package to our project. This package is a plugin for Next.js that allows us to use MDX in our Next.js project. 2. We’re adding the @mdx-js/loader package to our project. This package is a webpack loader that…