Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Ovo je glavna datoteka main u kojoj se pozivaju funkcije iz biblioteka lista_polje.h i lista_pokazivaci.h za implementaciju liste. Korisnik može odabrati sljedeće opcije: unos nove životinje, ispis životinja prema silaznoj šifri, filtriranje pre...
0
879
posted 12 years ago by msestak2
# Método setter y getter
Hace mucho tiempo usaba esta manera para tener un solo método que sea getter y setter al mismo tiempo.
0
816
posted 12 years ago by prigazzi
The marquee will stop when you hover the cursor over it. It will restart when you move the cursor away from it.
1
1340
posted 12 years ago by o0110o
This function dosen't use curl, or any other libraries. Just include it in your function library and use it like this:
$Post_result = _post('http://www.yourdomain.com/your_path/post_api.php',"method=fetchJson¶ms=select * from user");
0
2580
posted 12 years ago by halk
A function to upload an image to the media library and set it as featured image of a post. It requires 2 params. The name of the upload field and of course the post ID.
This function is part of the WPelements library class available on Github. Fee...
0
2642
posted 12 years ago by krike
A usefull function to minify code or string. This is part of the WPelements library class available on Github.
Feedback / suggestions / improvements are welcome.
0
1174
posted 12 years ago by krike
My first (simpliest) way to collect monitoring data from few servers. Only skeleton for adding custom parameters. Using this way is not a good idea in general.
1
1062
posted 12 years ago by 2mf
AL subir imagen png, se deben pasar al directorio con transparencia
0
1507
posted 12 years ago by thescorpion
AL subir imagen png, se deben pasar al directorio con transparencia
0
1545
posted 12 years ago by thescorpion
Backs up all database transaction logs within a Microsoft SQL Server instance except for databases set to simple recovery mode.
1
1356
posted 12 years ago by jprochazka
Backs up all databases contained in a Microsoft SQL Server instance.
1
1335
posted 12 years ago by jprochazka
Just a snippet I like; this can be called on GotFocus or LostFocus of a field, and it *attempts* to set the input language to the desired language.
0
1103
posted 12 years ago by Winkyboy
Thanks to @kaiser on WP answers for this.
Place this function in your functions.php file, then use it in your template with the function call like:
wpse19316_author_comments( 100 );
1
1397
posted 12 years ago by adambundy
Shows how to use WebClient class to retrieve HTML from an URL and then to use HtmlAgilityPack to parse it.
1
2037
posted 12 years ago by denakitan
CSS media queries for common screen sizes which are ignored in older browsers.
3
1196
posted 12 years ago by o0110o
this handy function gets all child tabs for the tab id you pass in, only those that are meant to appear in the menu.
0
1333
posted 12 years ago by box86rowh
A concise reference listing all of the available functions built into Sass.
0
3361
posted 12 years ago by nshakin
I recently wanted to learn Sass and after reading the documentation I looked around for a more concise set of docs to reference while writing but couldn't find anything. So I made my own based off of what was in the documentation of Sass's website....
0
3419
posted 12 years ago by nshakin
The fixed page layout responsive design CSS used in Nexus Themes Framework
0
1400
posted 12 years ago by vanseijen
Adding alternating row of color to make proc report output easier to read.
0
1765
posted 12 years ago by webonomic
Soma example of validation parentheses in math expressions.
[{()}] - valid
[{){}] - wrong
0
2095
posted 12 years ago by AlexanderRavikovich
.on( events [, selector] [, data], handler(eventObject) )
A delegated-events approach attaches an event handler to only one element, the tbody, and the event only needs to bubble up one level (from the clicked tr to tbody):
0
1237
posted 12 years ago by grindking
display an image field in the body/page of a custom post type
0
1240
posted 12 years ago by mktimes5