wordpress – bookmarks

http://wp.tutsplus.com/tutorials/quick-tip-9-handy-wordpress-code-snippets-that-you-really-should-know/

 

Monday, October 24th, 2011 wordpress No Comments

Regular expression

One of the most important things you need to know when doing any language is regular expression. It will do almost everything for you. Cup of tea? Two sugars? Milk? No problem.

Generators:

http://txt2re.com/index-php.php3

Sunday, October 2nd, 2011 Javascript, JQuery, Microsoft, php, php 5.3 No Comments

Simple way off accessing mysql tables in codeigniter

Easy base model to setup so you can slim down that controller.
add the public $table_name;

	/**
	* Get all research types, returns all
	*
	* @return	object
	*/
private	function get_TableAccess()
	{
		$query = $this->db->get($this->table_name);
		if ($query->num_rows() > 0) return $query->result() ;
		return NULL;
	}

	function get_GetTable($table = NULL){
	$this->table_name = $table;
	return $this->get_tableaccess();
	}
do the call:
$data['countries'] = $this->get_GetTable('Countries');
Thursday, September 29th, 2011 codeigniter, php, php 5.3 No Comments

PHP GD programming

If you need to do image filters in php GD, David Walsh has some easy to understand ways of doing it. This method seems a lot better than using Canvas and IE image filters has you need to program for each browser and relies on the clients machine.

http://davidwalsh.name/php-image-filter

 

Thursday, September 8th, 2011 graphics, images, php, php 5.3, PHP GD No Comments

Import to google plus

Twitter:
http://www.twittertoplus.com/

Facebook:
https://chrome.google.com/webstore/detail/ficlccidpkaiepnnboobcmafnnfoomga

Twitter on Google plus:

http://crossrider.com/install/529-google-tweet

Facebook on Google plus:
http://crossrider.com/install/519-google-facebook

Follow me:
http://bit.ly/nzwc4f

Shorted:
http://goo.gl/

 

Tools like these are important if you need to use Social Media to sell your business.

Sunday, August 21st, 2011 Facebook, google plus, Social media, Twitter No Comments

Just PHP

php compiler

http://www.roadsend.com/home/index.php

https://github.com/facebook/hiphop-php/wiki/

Raven compiler http://code.roadsend.com/rphp

Template engines

http://www.twig-project.org/doc/templates.html

http://www.raintpl.com/

http://phpsavant.com/

http://www.invenzzia.org/en/download/open-power-template/

Testing

http://www.raintpl.com/PHP-Template-Engines-Speed-Test/

Frameworks
Codeigniter
Zend
Yii
CakePHP

Sunday, July 17th, 2011 php, php 5.3, Web Development No Comments

SysAdmin keeping your dns , domains and ips in check

Great tool from view dns

http://viewdns.info/

Wednesday, May 25th, 2011 dns, domains, ip, system No Comments

Social media management tools

A good list of 22 social media management apps that will assist you

http://www.freshnetworks.com/blog/2011/01/25-social-media-management-tools-list-wiki/

Automate your blog posting to social networks

http://www.zacheverson.com/2009/06/04/automatically-share-your-latest-blog-post-on-30-social-networks-and-microblogs-with-twitterfeed-and-pingfm/

Tuesday, May 24th, 2011 management tools, Social media No Comments

Linux server upgrades

One of my main dedicated servers had a full upgrade of hardware and software yesterday.

BIG bug in php 5.3.6 was opendir, readdir which since the upgrade cause a massive memory leak per call of 600 – 700mb, as you would think this used up all the 8 gig swap and 4 gig physical memory, I’m guessing it would use up all the memory what ever you had.

The solution was to use is_dir as the loop through on opendir would return a TRUE and cause it to read even when it wasn’t a directory, this would load all the files in storage causing this issue.

The server is now being monitored until we are happy.

Monday, May 16th, 2011 Apache, Linux, php 5.3 No Comments

Let us talk sql

Doing joins in SQL

http://www.codinghorror.com/blog/2007/10/a-visual-explanation-of-sql-joins.html

Tuesday, May 10th, 2011 Database, SQL No Comments