Welcome To Snipplr
Everyone's Recent Snippets Tagged find
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
rechercher une valeur dans une variable tableau (Array) en VBA
Find some value into an array
0
778
posted 2 years ago by martinbrait
An A* pathfinding algorithm in Java, taken from: http://software-talk.org/blog/2012/01/a-star-java/
0
710
posted 7 years ago by nulldev
MySQL has a handy and simple string function REPLACE() that allows table data with the matching string to be replaced by new string. This is useful if there is need to search and replace a text string which affects many records or rows, such as chang...
0
562
posted 8 years ago by apphp-snippets
Prints out a list of any field containing duplicates with count
0
426
posted 8 years ago by flatearthcomms
Find a key from a list of values​​.
parameters:
sbValues​​: List of Values 'A;B;C;D'
sbToken: Key 'B'
sbSeparator: ',' or any defined sbValues
Example:
select FSBFINDTOKEN('A;B;C;D','B',';')
from DUAL;
-------------------
Y
0
478
posted 8 years ago by ceduard0
Reads CBC news RSS with fancy-prints its in table, splitting news description by image & text.
0
456
posted 9 years ago by alces
Find and List all the files with extension .file containing/not containing the given string "STRING"
The snippet is set to "containing", to switch it to "not containg" just replace "grep -l" with "grep -L"
containing : grep -l
not containing:...
0
404
posted 9 years ago by claudiodev
This function searches the current working directory (or any other directory path that you specify with parameter $p) for a file, named $f, and returns the full path and filename of the first occurrence, or false if it is either not found or the maxi...
0
432
posted 9 years ago by VisionHive
Joomla SEF to work properly it is based on Joomla menus. In your own components for SEF to work and menus to appear your need to pass the Itemid to links. To do this you need to get the Itemid based on on the URL link. Here is how you get the Itemid...
1
461
posted 9 years ago by kevincam
A fast and easy way to go through all vim-pathogen bundles and perform a git pull on all of them.
0
562
posted 10 years ago by luizlopes
Fast and easy way to find a keyword inside of files located inside of a directory tree. (eg: looking for a function foo, inside of your applications directory.) This command will display a list of files which contain function foo.
0
525
posted 10 years ago by luizlopes
Useful jQuery for mutliple items on a page that are using the same jquery function and classes to perform an action. By traversing the dom like this the function will only be applied to the item you are clicking on and not all elements on the page th...
0
404
posted 10 years ago by i-am-andy
found via google:
http://www.unix.com/unix-dummies-questions-answers/133697-find-folders-do-not-contain-certain-file.html
1
353
posted 10 years ago by pspierce
Output Example:
d65bfef64a5fc9f7dbf9d35d80a2e1ed218c75d2 ./tmp1/12414.txt
d65bfef64a5fc9f7dbf9d35d80a2e1ed218c75d2 ./tmp2/2012.txt
d65bfef64a5fc9f7dbf9d35d80a2e1ed218c75d2 ./tmp1/3153.txt
dd07cec149e7c5929d6e9a0618de7114d50b34b0 ./tmp...
0
451
posted 10 years ago by ksaver