Forgot password? Create an Account
A blog about tech tips, tricks and thrills
Listed: Jan 24, 2010
Adlelo - A blog about tech tips, tricks and... ― I wanted to get a list of files in a folder sorted by date created. After some searching, I realized you cant really do this with pure PHP. Here’s a function that does exactly this for you, and lists the folder contents with all attributes in ...
Tags: PHP, Web Programming
Adlelo ― 11 Feb, 10
Adlelo - A blog about tech tips, tricks and... ― You might find the feature of Google Buzz where any update with your name on it comes straight to your inbox annoying. There is a way to make those updates skip your inbox: create a filter to do exactly this. Here’s how you can do this:...
Tags: General Web
Adlelo ― 10 Feb, 10
Adlelo - A blog about tech tips, tricks and... ― I recently wanted to create a favicon for a website I was working on. I draw a small image in Photoshop, but realized Photoshop doesnt export in .ico format. ∙ Not to worry! Here’s how you can solve this problem: ∙ Go to...
Tags: Photoshop
Adlelo ― 3 Feb, 10
Adlelo - A blog about tech tips, tricks and... ― To run a system command in PHP, you always have the exec function. This function executes the given command just as you would from the command prompt. It also optionally returns each line of the output in an array. ∙ However, I recently ...
Adlelo ― 1 Feb, 10
Adlelo - A blog about tech tips, tricks and... ― Python make printing to the screen really easy and fun. ∙ ∙ First, python automatically adds returns after each print statement. So: ∙ print "This website is cool" ∙ print "Isn't it?" ∙ prints: ∙ ...
Tags: Programming, Python
Adlelo ― 24 Jan, 10
Adlelo - A blog about tech tips, tricks and... ― I sometimes find myself writing code that checks for a value in a table and updates it with a new value if it exists, or insert it into the table if it doesnt. ∙ I found there is a way – well a couple of ways – to do this ...
Tags: MySQL, Web Programming
Adlelo - A blog about tech tips, tricks and... ― I wanted to add an announcement to the top of each page in magento. I tried experimenting with static blocks, but in the end found the easiest way to do this was to edit store/app/design/frontend/default/default/template/page/html/header.phtml...
Tags: Magento, Web Programming
Adlelo - A blog about tech tips, tricks and... ― Did you know: ∙ You can append +whatever to your gmail email address and you will still get all emails. For example, if you email address is mail@gmail.com, any emails sent to mail+something@gmail.com or mail+somethingelse@gmail.com etc ...
Adlelo - A blog about tech tips, tricks and... ― (Credit: Unknown)
Tags: Humor
I wanted to get a list of files in a folder sorted by date created. After some searching, ...
You might find the feature of Google Buzz where any update with your name on it comes ...
Most people have experienced some level of acute pain in the lower back, shoulders, or ...
Last Thursday we had dinner at the Pancake Parlour, Andy & I. ∙ He ordered the ...
Tweet I am a member of the Collective Bias Social Fabric Community. This shop has been ...