Welcome To Snipplr


Everyone's Recent Snippets



1 ... 256 257 258 259 260 ... 554
0 923 posted 14 years ago by rkumar
When creating a custom Google Map, the latitude and longitude for the place of interest are needed. Enter in the Address, City, and State, and the lat and lng pair will be returned.
4 2323 posted 14 years ago by tcam27
This code is pretty simple but massively useful. You can select any number of elements on the stage in Flash, then run this JSFL Command and it will round their x and y values to the nearest whole number. It's very handy when you want things to be on...
1 1254 posted 14 years ago by jknight42
Be sure to change all Audio references to the corresponding window title in your language. This script switch the default audio device in Windows 7 to the second audio device, in my case the Headphones. You can add one or more Send, {Down} statements...
1 3203 posted 14 years ago by harrison3001
Source code for http://stackoverflow.com/questions/3740245
0 1174 posted 14 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 1388 posted 14 years ago by niels_bom
Found at the attached URL
1 1052 posted 14 years ago by Carolyne
0 841 posted 14 years ago by incompany
0 899 posted 14 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 1158 posted 14 years ago by shawntysco
Used to delete rows from the database. \r\nTo use:\r\n$del = delete(\"quick_links\", $_GET[\'id\']) ;
0 1008 posted 14 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 1015 posted 14 years ago by shawntysco
0 911 posted 14 years ago by etobi
0 942 posted 14 years ago by etobi
0 972 posted 14 years ago by bedomax
0 1159 posted 14 years ago by traeregan
2 1127 posted 14 years ago by samwa
2 1046 posted 14 years ago by samwa
Put this in /etc/ufw/before.rules
0 927 posted 14 years ago by kelvinn
0 773 posted 14 years ago by foertel
0 753 posted 14 years ago by foertel
0 880 posted 14 years ago by foertel
0 932 posted 14 years ago by foertel
1 ... 256 257 258 259 260 ... 554