Skip to content
Programming Tips
  • Home
  • Frameworks
    • Laravel
    • CakePHPCakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code.
  • Magento
    • Magento 2
    • Magento 1
  • PHP
  • JavaScript
    • jQueryjQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.
  • CSS
  • Other
    • htaccess
    • SSH
    • Server Management
  • Hosting
  • Toggle website search
Menu Close
  • Home
  • Frameworks
    • Laravel
    • CakePHP
  • Magento
    • Magento 2
    • Magento 1
  • PHP
  • JavaScript
    • jQuery
  • CSS
  • Other
    • htaccess
    • SSH
    • Server Management
  • Hosting
  • Toggle website search

I would love to change the world, but they won’t give me the source code.

Read more about the article When do you use git rebase instead of git merge?

When do you use git rebase instead of git merge?

  • Post published:January 25, 2015
  • Post category:Git
  • Post comments:1 Comment

When is it recommended to use git rebase vs. git merge? Do I still need to merge after a successful rebase? Answer: Short Version Merge takes all the changes in…

Continue ReadingWhen do you use git rebase instead of git merge?
Read more about the article How to use MySQL to search in PHP serialized fields

How to use MySQL to search in PHP serialized fields

  • Post published:January 17, 2015
  • Post category:MySQL/PHP
  • Post comments:0 Comments

Well, first rule – you should not do this. But if there is good reason, consider using such query for searching in index-based arrays: In case you have assoc array…

Continue ReadingHow to use MySQL to search in PHP serialized fields
Read more about the article MySQL: Select records from today, this week and this month

MySQL: Select records from today, this week and this month

  • Post published:January 16, 2015
  • Post category:MySQL/PHP/Uncategorized
  • Post comments:0 Comments

Assuming your date column is an actual MySQL date column: SELECT * FROM jokes WHERE date > DATE_SUB(NOW(), INTERVAL 1 DAY) ORDER BY score DESC; SELECT * FROM jokes WHERE…

Continue ReadingMySQL: Select records from today, this week and this month

Verify Item Purchases with the Envato API

  • Post published:December 4, 2014
  • Post category:PHP
  • Post comments:0 Comments

This article focuses on how to simply and efficiently converse with Envato’s API in order to verify the authors’ customers’ purchase codes in the author’s own applications. I talk through…

Continue ReadingVerify Item Purchases with the Envato API

Magento upgrading with Git

  • Post published:November 24, 2014
  • Post category:Git/Magento 1
  • Post comments:0 Comments

It's rather easy but you have to ensure that your site is based on some master repo that can be merged down the stream with earlier versions (repo that has…

Continue ReadingMagento upgrading with Git

PayPal Offerings Worldwide

  • Post published:October 8, 2014
  • Post category:PayPal
  • Post comments:0 Comments

Use PayPal to send and receive money worldwide. With over 230 million accounts worldwide and growing, we help you securely, easily and quickly pay and get paid locally and across…

Continue ReadingPayPal Offerings Worldwide

CakePHP How to change the X-Mailer

  • Post published:August 3, 2014
  • Post category:CakePHP
  • Post comments:0 Comments

Basically, on your CakeEmail object: If set manually Cake will not add his default value 'CakePHP Email'. Source: http://stackoverflow.com/a/18032036

Continue ReadingCakePHP How to change the X-Mailer

Verify hex color string

  • Post published:July 25, 2014
  • Post category:PHP
  • Post comments:0 Comments

Verify hex color string This PHP script checks if a string $color is a hex color or not. The second IF statement will add the pound symbol at the beginning…

Continue ReadingVerify hex color string

How to pause wget downloads in terminal

  • Post published:July 20, 2014
  • Post category:Server Management/SSH/Ubuntu
  • Post comments:0 Comments

use wget with the -c option so - wget http://file To pause the download press Ctrl+C To resume the download - wget -c http://file In the same directory of course.

Continue ReadingHow to pause wget downloads in terminal

Escaping a password using mysqldump console

  • Post published:July 20, 2014
  • Post category:Server Management/SSH/Ubuntu
  • Post comments:0 Comments

You have to quote the password, like this: You must do this if the password has any of the following characters: * ? [ < > & ; ! |…

Continue ReadingEscaping a password using mysqldump console
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 25
  • Go to the next page

Search

Categories

  • Cloudflare
  • CMS
    • Joomla
      • Joomla Templating
      • K2
      • T3 Framework
  • CSS
  • Excel
  • FaceBook
  • Frameworks
    • CakePHP
  • General
  • Git
  • JavaScript
    • AJAX
    • jQuery
    • MooTools
  • Magento 1
  • MySQL
  • PayPal
  • PHP
  • Security
    • htaccess
    • Server Management
    • SSH
  • Ubuntu
  • Uncategorized
  • WHMCS

Tag Cloud

AJAX CakePHP CakePHP 2 Cart Cloudflare CSS CSS3 Envato Error facebook facebook comments Git GoDaddy htaccess IP address IPv4 IPv6 JavaScript Joomla Joomla 1.5 JQuery K2 Magento 1 MySQL PHP Price Programmatically Rule Security Server Management Shopping SSH T3 Framework url warning

Recent Comments

  • Piter entity on Magento – How to create a special price (sale) page? (with new products first)
  • ILDaviz on Magento Dataflow Export/Import form the command line
  • ala on Warning: Parameter 2 to frontpage() expected to be a reference
  • Support PaceTech on Magento: Rating showing twice on product pages
  • Susanta Kumar Das on Magento Dataflow Export/Import form the command line
  • Privacy Policy
  • Terms of Use
Copyright - WordPress Theme by OceanWP