Posts

  • 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.
  • Update wordpress siteurl
    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
  • List the top 5 largest directories taking space using df command
    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/
  • Mounting nfs readyNAS share on Archlinux
    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 »
  • Plugging in Guitar to Archlinux
    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 »