Welcome To Snipplr


Everyone's Recent Snippets



1 ... 256 257 258 259 260 ... 553
Source code for http://stackoverflow.com/questions/3740245
0 1565 posted 15 years ago by brahn
I use this bash oneliner all the time to recursively search for a string in large codebases. I use it when searching for mentions of tables, databases, function definitions, function calls etcetera.\r\n\r\nIt searches through a number of file types (...
1 1925 posted 15 years ago by niels_bom
Found at the attached URL
1 1410 posted 15 years ago by Carolyne
0 1122 posted 15 years ago by incompany
0 1216 posted 15 years ago by incompany
To use: $update_sql = querys($sql); or $select_sql = getresult($sql); Used simplify selecting rows from a database. You'll need to pass in the SQL statement.
0 1544 posted 15 years ago by shawntysco
Used to delete rows from the database. \r\nTo use:\r\n$del = delete(\"quick_links\", $_GET[\'id\']) ;
0 1384 posted 15 years ago by shawntysco
Makes basic insert statements a breeze to type while doing basic PHP inserts.\r\n*The function for \\\'querys\\\' on line 44 can be found here: http://snipplr.com/view/40911/query-the-database-php/ *
0 1389 posted 15 years ago by shawntysco
0 1197 posted 15 years ago by etobi
0 1210 posted 15 years ago by etobi
0 1304 posted 15 years ago by bedomax
0 1529 posted 15 years ago by traeregan
2 1519 posted 15 years ago by samwa
2 1333 posted 15 years ago by samwa
Put this in /etc/ufw/before.rules
0 1241 posted 15 years ago by kelvinn
0 1045 posted 15 years ago by foertel
0 1005 posted 15 years ago by foertel
0 1185 posted 15 years ago by foertel
0 1208 posted 15 years ago by foertel
0 1411 posted 15 years ago by dmertl
1 1602 posted 15 years ago by arif
check the original blogpost for more how-to examples
0 1848 posted 15 years ago by magicrebirth
This will extend jquery to have a :Contains selector that is case insensitive, the :contains selector remains unchanged.
0 1529 posted 15 years ago by magicrebirth
0 1382 posted 15 years ago by silviud
1 ... 256 257 258 259 260 ... 553