At-byte - at-byte.com

General Information:

Latest News:

Google Chrome Secure Session Cookie Issue 20 Aug 2013 | 08:41 pm

Google chrome does a stupid request for favicon.ico and this might break your secure session cookie handling if you're not carefull about this. The best you can do is to simply add the favicon.ico to...

How to get the user role for the current logged in user in Wordpress 20 Sep 2012 | 03:11 pm

$current_user = wp_get_current_user(); $current_user_role = ($current_user->roles); Technology: php. wordpress

The Importance of Code Review 1 Sep 2012 | 10:31 pm

Bruno Skvorc wrote a very nice introductory article on why code review is important. Every developer knows the pain of banal mistakes. A wrong attribute here, a misspelled property there, an accident...

PHP Composer Package Manager 101 25 Jun 2012 | 10:58 pm

Philip Sturgeon the daddy of Pyrocms and godfather of FuelPHP and Codeigniter wrote a nice introductory article on nettuts regarding Composer (an alternative PHP package manager). Let’s face it: PHP ...

Key Principles of Maintainable JavaScript 23 Jun 2012 | 08:04 pm

If you ever wondered how to make your JavaScript code a bit more manageable this is the article for you to read. Lightweight and with nice beginner level information. Via: NetTuts Tags: javascr.....

Simple MVC system in Drupal 6 26 Apr 2012 | 01:31 am

I've recently started working on a custom module in Drupal 6 and i really disliked the idea to use built in functions for tables and/or to use embedded html into my module. So I've made a simple syst...

linux chown files based on previous owner 10 Mar 2012 | 08:40 am

if you want to change all files owned by an user to be owned by a different user, there is a trick. figure our old owner id. for example with ls -n this will list you numeric ids of the owner. use t...

Mysql Alter Table Select all Tables 8 Mar 2012 | 07:24 am

In case you wanted for eg: change all your innodb tables into myisam, and you didn't want to go over the tables one by one, you can do the following queries. USE information_schema; SELECT TABLE_SCH...

virtualmin/webmin BIND not starting on CentOS 6.2 8 Mar 2012 | 06:19 am

webmin and centos will usually default to bind-chroot installation and webmin will have the chroot paths set for named.conf for some reason, in my centos 6.2 setup there was a folder permission issue...

Postfix error: "mailbox_size_limit is smaller than message_size_limit" 8 Mar 2012 | 04:24 am

After some digging, it appears that mailbox_size_limit and message_size_limit variables are stored as int. So even if you set them correctly make sure they're not over the int limit (2147483647) Tec...

Recently parsed news:

Recent searches: