Tag Archives: search

(Bash) Search for string in files

 

Posted in Bash | Also tagged , , , | Leave a comment

Search Displaylist for Bitmap (or any type of DisplayObject)

var bitmap:Bitmap; for (var i:int = 0; i < this.numChildren; i++) { bitmap = this.getChildAt(i) as Bitmap; if (bitmap) break; } Go to Source

Posted in ActionScript | Also tagged , , , , , , , | Leave a comment

(PHP) Simple MySQL Search Function

A quick and simple way to search a MySQL database. Example: mysql_search(‘items’, ‘title tags’, isset($_GET['q'])?$_GET['q']:”, Array(‘columns’=>’*’, ‘method’=>’OR’, ‘extra_sql’=>’AND active = “true” ORDER BY id DESC’));

Posted in PHP | Also tagged , , , , | Leave a comment

(Haskell) Compare Binary Search Trees

Posted in Haskell | Also tagged , , , , | Leave a comment

HTML5 speech-based input

HTML5 supports speech-based input via your microphone. Append the following line to your input tags. x-webkit-speech speech <input id=”search” name=”search” type=”text” x-webkit-speech speech> On a side note, it is currently only supported by Google Chrome.

Posted in Uncategorized | Also tagged , , , , , , , | Leave a comment