Image Color Extract

The Image Color Extract PHP class pulls the most common colors out of an image file. The color values are in hexidecimal. 

Image Color Extract.

perfect-scrollbar : Tiny but perfect jQuery Scrollbar plugin

Tiny but perfect jQuery scrollbar plugin.

Features:

  • There should be no css change on any original element.
  • The scrollbar should not affect the original design layout.
  • The design of the scrollbar should be (nearly) fully customizable.
  • If the size of the container or the content changes, the scrollbar size and position should be able to change.

Source:  perfect-scrollbar : Tiny but perfect jQuery Scrollbar plugin – jQuery Rain.

Login with Dropbox on your Website OAuth Authentication : jQuery plugin

This script uses OAuth in a jquery plugin to authenticate users on your website using their Dropbox account credentials.Pulls the user details from its Dropbox account and displays the same on your webpage.

Source:  Login with Dropbox on your Website OAuth Authentication : jQuery plugin – jQuery Rain.

jKit – jQuery based UI Toolkit – Index

jKit – jQuery based UI Toolkit – Index.

mPDF

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML. It is based on FPDF and HTML2FPDF, with a number of enhancements.

mPDF.

fresherEditor : jQuery Rich html text editor

fresherEditor is a light-weight WYSIWYG rich text editor plugin that uses contentEditable support in modern browsers for in-place HTML editing.

Features:

  1. Supports all text editing features such as bold, italic, font size and font name settings, text alignments, links and picture insertion, and more
  2. Builds toolbar automatically. By default, all buttons are built. You can configure which buttons to hide
  3. Triggers ‘change’ event so you can perform action when html content changes
  4. Uses Twitter Bootstrap

 

Download:  https://github.com/mquan/freshereditor

Demo:  http://dl.dropbox.com/u/140543/FresherEditor/demo.html

Source:  fresherEditor : jQuery Rich html text editor.

Solve PHP Fatal Error: Allowed memory size of 8388608 bytes exhausted

This error message can spring up in a previously functional PHP script when the memory requirements exceed the default 8 MB limit. However, do not fret because this is an easy problem to overcome.


To change the memory limit for one specific script, include a line such as this at the top of the script:

ini_set("memory_limit","12M");

The 12M sets the limit to 12 megabytes (12582912 bytes). If this does not work, keep increasing the memory limit until your script fits or your server squeals for mercy.

You can also make this a permanent change for all PHP scripts running on the server by adding a line such as this to the server’s php.ini file:

memory_limit = 12M

Keep in mind that a huge memory limit is a poor substitute for good coding. A poorly written script may inefficiently squander memory which can cause severe problems for frequently executed scripts. However, some applications are run infrequently and require lots of memory like importing and processing a large data file.

 

Solve PHP Fatal Error: Allowed memory size of 8388608 bytes exhausted (tried… | a Tech-Recipes Tutorial.