- Details
So I wanted to find a quick way to replace all instances of <ul> with <ul class="gkBullet2">. Here's what worked for me. Go into PHPMyAdmin and execute these 2 queries:
update joomla_content set `introtext` = replace(`introtext`, '<ul>', '<ul class="gkBullet2">')
update joomla_content set `fulltext` = replace(`fulltext`, '<ul>', '<ul class="gkBullet2">')
Change "joomla" to whatever DB prefix you use.
- Details
I've been a hard-core Untangle fan for several years now, but I recently wanted to explore other firewall options. Being wrapped around a commercial product, Untangle charges money for its high-end features. However, I figured since most all those features are covered by the open source community, there must be non-commercial options out there. I began my hunt for the best free firewall. I scoured the internet, downloading any and all offerings from 2 principal types of entities: 1. companies with an open source community branch or free non-trial version, and 2. open source community projects ("free as in speech" or free software / paid support biz models).
I tried just about every ISO I could get my hands on. I thought I had my work cut out for me since I found far more of them than I had expected. But I did notice some common themes--several of them seemed to share common ancestors / packages (e.g. Squid, Debian, FreeBSD, etc). Here's a list of what I found along with my impressions.
Read more: The Hunt For the Ultimate Free Open Source Firewall Distro
- Details
I'm obsessed with bluetooth. So much so that I've been hunting for heaven's own pair of bluetooth headphones for my Tokyo subway commutes. I'm already on my 5th pair (thank God for Yahoo Auctions), so here's a summary of my bluetooth headphone adventures so far:
Read more: The Hunt for the Ultimate Bluetooth Headphones
- Details
I hate spam. I detest it. And I'm not talking about the scrumptious processed meat product. I think you all know the spam I'm referring to—the kind peddling cheap viagra, phony rolexes, and desperate but gorgeous Russian girls pining for your love.
Most people I know pack up and leave an email address after it starts getting loads of spam, but being a dedicated IT nerd I didn't want to throw in the towel that easily. I made it my life's mission to stop all spam from getting into my inbox. Well, maybe not my life's mission, but my primary home IT project for the next few months or so. This was my mission, and this is my story. Maybe you'll see this in theaters next summer.
Read more: My Adventures in Spam Blocking
- Details
Go to /root on 1st server.
ssh root@server1
cd /root
FreeNAS OS drive is mounted read-only, so mount it RW.
mount -o rw /
Generate an RSA key & leave the passphrase blank. You can use another supported algorithm if you wish.
ssh-keygen -t rsa
Display the public key.
more .ssh/id_rsa.pub
Read more: FreeNAS - Bi-Directional Rsync Over SSH
- Details
For some reason Joomla 2.5 lost the ability to show nice horizontal menus in the footer; instead the items appear vertically. I personally used this in Joomla 1.5 to show the privacy policy, terms of use, etc. links at the very bottom of every page. After a little research I found how to accomplish a horizontal footer menu in Joomla 2.5.
1. Add this somewhere at the bottom of your template.css file:
ul.menuflat li
{
display: inline;
padding: 10px;
}
2. Next, edit the module that displays your footer menu. You'll see a box called "menu suffix." Enter "flat" (without quotes) in there and save the module. Your menu should now appear horizontal.