I needed to replace domain name in MySQL DB dump which was 700MB, so i’ve googled a bit to find a command line expression. If you need to search/replace in files via command line, you can simply use following command (if perl is installed): For example we can replace css link in all template files: […]
Bought an iPhone and have no idea how to make personal ringtones? Wish to have your ringtone from previous phone? Or just don’t want to pay Apple for ringtone? No problem. Actually adding your ringtone to iPhone is really easy. It should be a file with .m4r extention which is actually .m4a file. So just […]
Dealing with Magento we’ve noticed there’s with 6 steps checkout. Magento is not very flexible to customize so 1 step there’s 1 step checkout plugins you can buy for this. Here’s what I’ve found about that. Basicaly a page can be shown in Magento using simple Core_Template type. Basically all code is set inside the […]
WordPress has a 404.php template that’s generated for not found posts/pages. That’s fine, but what happens if post contains an image that’s deleted or moved from your blog or just path is set incorrect? It will output this 404.php template to the browser that’s actually doubles the traffic for a single page (for every not […]
How to Override Inline CSS Styles
One of the most powerful features of CSS is the cascading. Knowing how a browser chooses and applies your styles is invaluable knowledge. Novices can find it especially confusing given that style use is influenced by the method used to include the CSS, the order of the rules, how the selectors are specified, and special declarations such as !important.