Welcome To Snipplr


Everyone's Recent Snippets



1 ... 60 61 62 63 64 ... 566
For some reason setting a default value for select elements does not work. This one line of jquery solves that problem. Assign a value (value="something") to the select tag that is to be the default value. With jquery get all select elements with a...
0 699 posted 9 years ago by halk
Highlight Search Terms in Text
0 396 posted 9 years ago by pruntrut
This will monitor the status of all ajax calls on the page. When ajax starts i show an animated spinner gif and display a message that ajax has been requested. On completion of a call the status returned is displayed and the spinner is hidden to in...
1 390 posted 9 years ago by halk
Función php para mostrar el número total de entradas o post de una determinada categoría en WordPress
0 319 posted 9 years ago by maiden
All you need to do is create a child theme, and create a new comments.php file inside that child theme. Then insert this code into the comments.php file you just created;
2 293 posted 9 years ago by jhkoning
Viewport Meta Tag for recognizing mobile devices, Insert between <head></head> tag
1 446 posted 9 years ago by klagraff
A simple class to cache files (or other results) with PHP.
1 494 posted 9 years ago by peckham
Cascading Style Sheets allow developers to exercise greater control over background images on the Web. You can make an image tile vertically across the page, horizontally across the page, or both. Simply define the style at the top of the page, and d...
0 393 posted 9 years ago by nshakin
Takes a # of seconds and converts it to human readable format. If happened within seconds-years.
0 474 posted 9 years ago by mburica
This creates a custom page template designed to run a Facebook photo contest utilizing the Facebook like button and uses Wordpress featured images for each post in a grid. This setup requires the following: - iLoveIt Wordpress Theme - Creat...
0 388 posted 9 years ago by SmashArtist
This will show you what template you are currently viewing (index.php, page.php)
0 394 posted 9 years ago by bitsculptor
This allows you to change the post updated message that wordpress automatically inserts.
0 439 posted 9 years ago by bitsculptor
Función php para reemplazar palabras dentro de los post de WordPress.
0 341 posted 9 years ago by maiden
Para limpiar o borrar una parte especifica de nuestro canvas podemos usar la función clearRect()
0 636 posted 9 years ago by maiden
Simple logger function
1 401 posted 9 years ago by MikeDevDes
0 340 posted 9 years ago by XtreamIT
Blank HTML template with minimal hosted srcs and respond.js
0 544 posted 9 years ago by jerryhdev
This is another login method, a little more robust
0 418 posted 9 years ago by box86rowh
Mostrar Objetos que hacen Referencia a un Objeto Especifico en Oracle
0 419 posted 9 years ago by thescorpion
It is a bit simpler reversing of multibyte strings.
0 487 posted 9 years ago by iTony
Also extended C# LINQ and Extension method (simple) to include the last (MAX) Date Created property, added a new Folder class (model) with properties and included them in a List<Folder>. Also, amended the LINQ statement to get the MAX(Date Created) .
0 384 posted 9 years ago by ed_trench
PDO-format insert array function
0 625 posted 9 years ago by rickygri
How to automatically login with SSH. Also known as “key-based authorization with SSH” or simply “publickey authorization”.
0 366 posted 9 years ago by tinytiger
I will show you how to crate an app for facebook to handle the facebook connect process on your web site. Then I will show you the php code to perform the login on facebook and retrieve the informations you need for your site. The last suggestion w...
0 479 posted 9 years ago by ginoplusio
Function to convert a one dimensional array to two dimensional with option to specify how many columns. Returns two dimensional array on success or false on fail.
0 966 posted 9 years ago by kosinix
This SSH API is used to execute remote commands, send and receive files.
0 325 posted 9 years ago by ryantxr
Font Squirrel is a great place to convert your fonts to the different formats required. http://www.fontsquirrel.com/fontface/generator
0 394 posted 9 years ago by adrianparr
1 ... 60 61 62 63 64 ... 566