Welcome To Snipplr


Everyone's Recent Snippets Tagged search



grep through all history from within a Subversion working directory, like: $ svngrep SecItemCopyMatching *
0 687 posted 14 years ago by zingo
I've been trying to figure out a way to make ComboBox items selectable by the keyboard, much like how any ComboBox, ListBox, Selection box is in any other language like HTML, Windows Forms, etc. Most of the solutions I've seen online weren't parti...
0 796 posted 14 years ago by alishahnovin
If the item cannot be found then the return value is NaN. This function only returns the index of the first occurence found, so it's not very good if you have multiple occurrences of the same value in the array.
0 2171 posted 14 years ago by adrianparr
After a problem with row break in a text field I found this way of searching within a where clause in an SQL query. Can be used for selection or update / replace purposes of course.
0 1120 posted 14 years ago by davidrinnan
This replaces all .pngx files with .png
0 689 posted 14 years ago by joe-bbb
Clears input or search field on focus.
1 795 posted 14 years ago by vagrantradio
This SearchArray class was written by Flanture. I claim no credit for this. The class can be downloaded from here ... http://www.box.net/shared/7fj14higai
2 620 posted 14 years ago by adrianparr
Wizzlern, a Dutch Drupal trainer, has a Dutch article online on how to remove the "search this site" label in the Drupal search-block.
2 762 posted 14 years ago by berkes
Searches all array elements for a given substring. Returns an array of found key=>value pairs or false if not found.
0 581 posted 14 years ago by lancemonotone
add a value to your text input e.g. "Enter keywords" and clear on-click
0 624 posted 14 years ago by flicity
Make (and GMake) ignore spaces in many constructs, making it difficult to use a single space as a search string or a replacement string, for example. This trick works around the problem by assigning the space to a variable named SPACE and using that...
1 787 posted 14 years ago by michaelaskew
1 561 posted 14 years ago by CDIDevs
2 635 posted 14 years ago by CDIDevs
1 622 posted 14 years ago by CDIDevs
A small collection of the most wanted string-functions in ASP / VB.
1 657 posted 14 years ago by choasis
The Google search URL accepts two fields, `as_oq` and `as_eq`, which give additional required or forbidden keywords for the search. This allows to create search forms which add preset keywords. In the search form below, one of the keywords test, re...
0 636 posted 14 years ago by deepsoul
1 662 posted 14 years ago by ReeceMarsland
Perform a search of all user tables in the current database to locate a column defined in a user table that matches a certain name. The first query looks for an exact column name and the second one returns all column names which match a keyword (usi...
1 860 posted 14 years ago by kencyber
0 599 posted 14 years ago by berkes
Searches the code for all functions in the current database and returns results containing the function name, the character index where the first match was found, and a portion of the code where the match occurred.
1 698 posted 14 years ago by kencyber
force fields to be added to the search index on update
1 586 posted 14 years ago by ReeceMarsland
This is a simple search function for the [User Groups](http://www.dabbledoo.com/design/docs/User-Groups-Module/) module for ExpressionEngine. It searches groups (names and descriptions) as well as topics and topic replies. It respects group types as...
0 892 posted 14 years ago by lukemcr
0 406 posted 14 years ago by remcotolsma
0 550 posted 14 years ago by joe-bbb
I'm constantly checking to see if a certain program or process is running. This helps reduce the typing and the clutter.
0 400 posted 14 years ago by kitzelh
Convert string to underscore, for SE safe URLs etc.
1 474 posted 14 years ago by jspicher