Debian / Ubuntu Linux: Install SquidGuard Web Filter Plugin For Squid 3.x To Block Unwanted Sites

Here’s an overview of the steps to install the SquidGuard web filter plugin for Squid 3.x on Debian or Ubuntu Linux: Install SquidGuard and its dependencies:   sudo apt-get update sudo apt-get install squid3 squidguard Create the SquidGuard configuration directory:   sudo mkdir /etc/squidguard sudo chown proxy:proxy /etc/squidguard Download the blacklists: You can download pre-configured … Read more

Debian / Ubuntu Linux: Setup Wireless Access Point (WAP) with Hostapd

Here’s an overview of the steps to set up a wireless access point (WAP) with hostapd on Debian or Ubuntu Linux: Install hostapd and its dependencies:   sudo apt-get update sudo apt-get install hostapd dnsmasq Configure hostapd: Create a new configuration file for hostapd, for example at “/etc/hostapd/hostapd.conf”. Add the following lines to the file, … Read more

HowTo: Linux Remove a Partition Name (/dev/sdXY entry) Temporarily

To temporarily remove a partition name in Linux, you can use the “blockdev” command line tool. Here’s an example for removing a partition named “/dev/sdb1”:   sudo blockdev –remove-partition /dev/sdb1 This will remove the partition name “/dev/sdb1”, but the partition itself will still exist on the disk. To add the partition name back, you can … Read more

Linux / Unix: Record / Capture MMS Stream And Save To a File

You can use the “mplayer” command line tool in Linux/Unix to capture and save an MMS stream to a file. Here’s an example:   mplayer -dumpstream mms://yourstream.com -dumpfile output.wmv This will save the MMS stream located at “mms://yourstream.com” to a file named “output.wmv”. Replace “mms://yourstream.com” with the actual URL of the MMS stream you want … Read more

HowTo: Install firefox-15.0.tar.bz2 in Linux

To install the Firefox 15.0 archive in a Linux environment, follow these steps: Download the archive: wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/15.0/linux-x86_64/en-US/firefox-15.0.tar.bz2 Extract the archive: tar xvjf firefox-15.0.tar.bz2 Move the extracted folder to the desired location: sudo mv firefox /opt Create a symbolic link to the executable: sudo ln -s /opt/firefox/firefox /usr/bin/firefox Launch Firefox: firefox (Optional) Create a desktop … Read more

WordPress Add A Shortcode Example

A shortcode in WordPress is a simple code that can be used to display dynamic content within posts and pages. Here’s an example of how to create a shortcode in WordPress. Open the functions.php file of your WordPress theme. Add the following code to the functions.php file:   function example_shortcode() { return “This is an … Read more