Experiments with AWK
These simple combination of commands are quite powerful. I am listing the commands that I used on some of the projects for later reference.
These simple combination of commands are quite powerful. I am listing the commands that I used on some of the projects for later reference.
Use this command to update site url from mysql prompt. Make sure you have the necessary permissions and access. More details can be found in the link below. Link: https://www.hostinger.in/tutorials/wordpress/how-to-change-wordpress-urls-in-mysql-database-using-phpmyadmin
You can change head to a different number and the directory too. sudo du -h /var/ | sort -rh | head -5 https://linuxize.com/post/how-get-size-of-file-directory-linux/
First enable NFS in ReadyNAS. Follow these steps to enable NAS for a selected folder. Follow these steps to enable nfs share for the selected directory In settings go to network access tab Select nfs and switch it on and then select read/write for AnyHost and apply. After settings are applied the tab should look… Read More »
I think this method should ideally work for any guitar plugged into the system. It is just taking input from one device and sending it to an output device. pacat -r –latency-msec=1 -d alsa_input.usb-Hercules_Rocksmith_USB_Guitar_Adapter-00.mono-fallback | pacat -p –latency-msec=1 -d alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor Another interesting find. Guitarix is quite impressive and fairly easy(though not very easy, it will… Read More »
Install graphviz and libgraphviz-dev before installing pip packages. Add these lines to settings.py file To generate dotfiles run this command from django prompt. This is the simplest form of generating graph for all the apps. To get image instead of dotfile run this command Links for reference https://django-extensions.readthedocs.io/en/latest/graph_models.html https://pypi.org/project/django-extensions
This setup is straight forward with a couple of add-ons to sync Calendars, AddressBooks can be synchronized. After setting up email and syncing mails Follow these steps to sync Calendars and AddressBooks. Step 1 Install these Addons, TbSync and Provider for CalDAV & CardDAV which is a dependency for TbSync. Step 2 Go to Account… Read More »
To generate self-signed certificate for a quick test or for development. If you are looking for getting certificate for production site then I strongly suggest to go for a proper certificate like LetsEncrypt. You can get it easily with certbot. To generate a self-signed SSL certificate using the OpenSSL, complete the following steps: Write down… Read More »
This configuration of apache is a little specific to forwarding all requests coming to a custom port on the host system to a local system which maybe running a service on custom port. Let us say we have 2 systems. System A and B where A can be accessed from the internet on lets say… Read More »