Kerem Erkan
The mind of the six billionth one…
The mind of the six billionth one…
Jan 18th
If you use Mystique theme and WP-Syntax plugin (the syntax highligher) together, you will notice that, your code snippets will use Mystique’s fonts instead of monospace for colored words. When reading codes, monospace fonts like Courier fell much better, because they are easier to read.
Mystique’s style.css file defines default fonts with “*”, so every element on your site which does not have font information will use Mystique’s default fonts. WP-Syntax uses span elements for colors, and these elements do not have their font attributes defined.
In order to solve this problem, you have to add the following to wp-syntax.css file of the plugin:
.wp_syntax span { font-family: Courier, "Courier New", monospace; }
This way, WP-Syntax will use the correct fonts for every span element, rendering colored words with correct fonts.
Jan 16th
PHP QR Code Generator page was posted on the twitter account of Smashing Magazine, and the traffic of this humble blog has risen twenty-fold! Not that I am complaining… ![]()
The page seems to be useful to a lot of people, so I will probably add new features to it when I find spare time.
Nov 20th
I was using the Arclite theme from designer Milenko Popovici (digitalnature), and went to his site to check for updates to the theme. I saw Mystique theme there and loved it instantly. So, I will be using it for my blog from now on. This man has real talent! ![]()
Jul 31st
Today is the 10th annual System Administrator Appreciation Day. It is probably known and appreciated by only the sysadmins in the world, so only we appreciate our own work (it seems a little pathetic, isn’t it?
)
I am a full time System Administrator in the company I work at. I keep the connectivity of the company up. I make sure most of the spam goes to the trash instead of users’ mailboxes. When the servers go down at 03:00 am, I get up from my bed and go fix the problem. I am not only a sysadmin but I also help our developers when they cannot do something traditionally by just coding, as I know how systems work and how problems can be solved using different ways.
I am not a real developer, yet I can code more efficiently at times because I know the inner workings of my systems.
I love my work even if people do not understand what I do. ![]()
So, happy sysadmin day to all who work hard to make this “internet thingamajik” go on working as intended…
PS: You know that internet is wireless, right?
Jul 11th
Checking my blog stats, I saw that most people come to my Real Time QR Code Generator PHP Function post. So, I decided to create a decent page for QR Code generation instead of linking to a URL which accepts only base64 encoded variables. The new page is PHP QR Code Generator page, and now you can, not only create an image that redirects you to a web address, but also can call a phone number, send an sms and send an e-mail. Also you can just encode plain text into a QR Code image.
UPDATE: vCard and bookmarks creation added.
Hope it proves to be useful for some people out there.
Jul 9th
We use Tomcat with Apache HTTPD in our company. And as a database backend, we use a two node Oracle Real Application Cluster (RAC).
We were having stale connection problems when a RAC node was behaving abnormally, because the JDBC pool which was created by Tomcat was not getting any notification about it. So I started searching for a way to take advantage of Oracle’s Fast Connection Failover (FCF) mechanism. FCF is superior to Transparent Application Failover (TAF) as it is event based and supports load balancing across the RAC nodes. It is also superior to having no failover mechanism whatsoever. ![]()
FCF leverages Oracle Notification Service (ONS) to get information about database events. With the help of ONS, a JDBC pool which has FCF enabled can see if a RAC node is up or down and can act accordingly. To be able to use the method I am about to show, you will have to have a minimum Oracle RAC version of 10.2.0, because Oracle versions prior to that do not support “Remote ONS”, which is an essential part of this configuration.
Jul 8th
Enabling the tftp daemon in MacOS X Snow Leopard (or Leopard) is an easy task with little documentation. This is a quick reference. The manual page for tftpd in MacOS X Snow Leopard (or Leopard) recommends that tftpd is launched via launchd, so we will do it that way. First, we enter launchd% console using sudo:
sudo launchctl
After that, we enable tftpd in launchd% console:
load -F /System/Library/LaunchDaemons/tftp.plist
That’s it. Now you can put your tftp files into /private/tftpboot folder and start using tftpd.
When you are finished using the daemon, you can unload it by entering launchd% console and issuing the following command:
unload /System/Library/LaunchDaemons/tftp.plist
If you use tftpd a lot, you can enable it at boot time by entering the following in launchd% console:
load -w /System/Library/LaunchDaemons/tftp.plist
And to disable it from starting up at boot time:
unload -w /System/Library/LaunchDaemons/tftp.plist
Apr 21st
I have received a lot of mails about both PHP DRM Packager class and Check Quota plugin for SquirrelMail. For the last months, I have not been able to concentrate on anything and I could not reply your mails. I apologize for that from all of you.
For the PHP DRM Packager, while I would love to share the code with the rest of the world as open source, I am not able to do that for the time being. Sorry. I hope in the future, I will be able to do it.
For the Check Quota plugin for SquirrelMail, I will be working on the plugin. I still need some time to get fully back on, but I will, eventually.
Thanks to all who sent support mails to me in this period. It means a lot to me.
Aug 6th
I have released Check Quota 2.2 today, with help from Paul Lesniewski of SquirrelMail Development Team. With this release, all Check Quota versions prior to this one and Quota Usage plugin maintained by Bill Shupp and Paul are obsoleted. The two plugins are now completely and officially merged.
The biggest change in Check Quota 2.2 is complete support of SquirrelMail 1.5.2 branch. Other changes are mostly bugfixes and optimizations, as well as new language strings. This means, translations of Check Quota 2.x will not work for Check Quota 2.2, so they are removed from the plugin.
Please send your translations to the SquirrelMail i18n team from now on. You can also send them to me, and I will forward them to the translation team.
You can download the new release from the downloads page.
Jun 29th
This week two translations for Show User and IP 3.3 have arrived and added. They are Bahasa Melayu (ms_MY) and Norwegian (nb_NO). You can find the repacked plugin file from Downloads page. Thanks to Muhd Zamri MS and Arnt Gronas for giving their precious time to these translations.