Search Tool Snippets


Open up a text editor, copy & paste the code below. Save the file as: "commandlinefu.py" and exit the editor.

31 January, 2012   

Use this code to put Google search bar on web page.

03 April, 2013   

Nice little search form snippet using HTML and CSS

30 January, 2013   

JQueryUI Search Auto complete Jump Menu with data from remote URL

23 November, 2013   

You can search and replace fields by below query in MySQL Database

MySQL MATCH() function performs a natural language search for a string against a text

12 January, 2013   

Search the source code of all stored procedures.

User below meta tag to prevent all search bots from indexing a page

Source code for KMP String Search Algorithm

This code will break a string of words up along the spaces and do a mySQL search for each of the words in the string.

This code will break a string of words up along the spaces and do a mySQL search for each of the words in the string.

05 August, 2014   

PHP code example to highlight words in a string.

If a string is contained in another string and you need to search for it, this is a very clever way to do it:

Here are example test calling a GUI-App through bgExec

02 April, 2017   

Last name matches the user input and returns their phone and email information

03 April, 2011   

Often when working on scripts alert boxes are placed inside loops as a debugging tool. You can sometimes end up with hundreds of alert boxes and no way to stop them. This script placed at the start of your code will give you an option to disable the alert boxes after a pre-determined number set by you.

This example code showing how to use PHP Functions to clean User Input

14 February, 2011   

You'll need a of copy Simple Pie for the include right at the top here.

PHP snippet for displaying your latest tweet

An example for Scripted Helper object plugin