Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
use this function to insert a string into another string at a certain position.<br>
echo insertString("legendary", " wait for it ... ", 5);<br>
legen wait for it ... dary
0
856
posted 15 years ago by jlvallelonga
Every now and then I need a form select list of all provinces and states... I figured I'm not the only one, so here you go, hope it helps!
1
2168
posted 15 years ago by ecardoza
From StackOverflow. I'm still not quite happy with my understanding of it, but it looks an order of magnitude more elegant than most I've found.
0
1025
posted 15 years ago by rengber
Fairly simple, cross-browser way to rotate text using only CSS.
0
974
posted 15 years ago by Winkyboy
Crear un backup de una base de datos en SQL Server 2005/08 desde código en la posición definida por Device.
Cuidado con los permisos:
http://support.microsoft.com/kb/207187/es
1
999
posted 15 years ago by marcocs
Crear un backup de una base de datos en SQL Server 2005/08 desde código en la posición predefinida del disco.
Para agregar un dispositivo y hacer el backup en posición no predefinida:
http://msdn.microsoft.com/es-es/library/ms188409(SQL.90).as...
1
1000
posted 15 years ago by marcocs
Simple PHP script which allows you to specify your twitter log in details and a search term, then automatically follow users who have tweeted that term. Code is released as Open Source, use it as you wish - please leave my URL in the commented sectio...
3
2017
posted 15 years ago by shakefon
An empty FLA to be repurposed for creating other banners of varying size. Clickable area is resized automatically to fit the stage size, and a sample button with rollover states is included. Looping and loop delay are set according to actionscript v...
0
1266
posted 15 years ago by Winkyboy
Based on the good initial coverage [over here](http://www.thamtech.com/blog/2008/03/29/gmail-to-google-apps-email-migration/).
1
1060
posted 15 years ago by ches
This is my first encounter with FirePHP, I might be using this more often. FirePHP lets you output log lines like console.log would in FireBug. You will need the FirePhp plug-in for Firefox and you will have to upload the FirePHP lib to your server.
2
844
posted 15 years ago by rbroen
Quick little function to give you a select box for numbers ranging from min to max. Perfect for birthday date selectors.
0
812
posted 15 years ago by brownrl
This function goes in the {module\_name}.views\_default.inc file
0
711
posted 15 years ago by jonathanpglick
This will trigger views to load the views in the file {module\_name}.views\_default.inc
0
685
posted 15 years ago by jonathanpglick