Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 89 90 91 92 93 ... 553
Getting files, folders, file count, folder count in a directory with php and writing them to a web page
1 3665 posted 13 years ago by duzenz
Box shadow properties (example) box-shadow: 1px 3px 5px 2px #c6c6c6; 1px = horizontal offset 3px = vertical offset 5px = blur radius 2px = spread distance #c6c6c6 = color
0 1070 posted 13 years ago by ninacess
List files in varying detail
0 1277 posted 14 years ago by klovera
The Google Closure lets you get DOM elements with getElement( id ) and getElementByClass( class ). This function combines the two to let you get elements similarly to the way jQuery does. E.g. getElement( '#home .sidebar #links') returns the elemen...
0 2031 posted 14 years ago by cjcenizal
need to get the url from a youtube/vimeo embedded code without the querystring's
0 2768 posted 14 years ago by fetz
Simple solution to add dropdowns quickly to any site.
0 1346 posted 14 years ago by thewickedchemist
I like using public properties, as they greatly aid in API development and proper encapsulation. Here's my solution for having the ease of public variable getting without the dangers of public variable setting.
0 1293 posted 14 years ago by phpexpert
Basic setup code for jQuery, linking to Google APIs for the jQuery library.
2 1870 posted 14 years ago by adrianparr
0 1210 posted 14 years ago by kminov
goes in the ~/wp-content/theme/functions.php
0 1273 posted 14 years ago by darronz
Use css for rounding corners instead of images. Also use css3 for creating circles.
0 1620 posted 14 years ago by ninacess
Simple Show/Hide Panel we learned in class for an assignment.
0 1063 posted 14 years ago by ninacess
One-line code for installing LAMP server for Ubuntu OS.
0 1749 posted 14 years ago by ninacess
Usually when working with form you use a server to handle it, and if your doing it entirely in javascript no reload is required, but what if you wanted to take the information and use it in a javascript on another page, completely client side. I had...
0 2765 posted 14 years ago by FatFolderDesigner
Individuelle Infoboxen im Kategorie-Archiv von WordPress
0 1221 posted 14 years ago by Perun
Go through all the authors of a wordpress import and make them the same as the previous authors (Wordpress 3.3).
0 1387 posted 14 years ago by jcottrell
gt: greater than lte: less than or equal to not IE: <!--[if> -->
0 2460 posted 14 years ago by webtechdev
Just a few quick functions to display the date in PHP.
0 2683 posted 14 years ago by jknight42
Eine komplette Website mit Linkstruktur auf eine neue Domain weiterleiten
0 3421 posted 14 years ago by Perun
Delete a page of wordpress posts with one click ("Run" in Firebug or Developer Tools)
0 1199 posted 14 years ago by jcottrell
Add this to your .profile or .bash_rc file, source the file, navigate to the directory and call "rm_whitespace" Based on: http://snipplr.com/view/4468/batch-rename-files-in-directory/
1 2967 posted 14 years ago by licensetoil
Function strips HTML tags from string.
0 4003 posted 14 years ago by ef
trims spaces from the source code and left align the code column
0 1438 posted 14 years ago by ferro
Convert rgb color detected by jQuery into hex value.
0 1659 posted 14 years ago by macodev
Starter code for HTML5 web page.
0 1432 posted 14 years ago by bahamakyle
When you run this over a text.txt with some text you will get the word distribution on output_ngram.txt as follows: 30 m 29 por 29 aplicaci 27 modelo 27 datos 24 con 21 este 21 esta 20 En 18 posible 18 palabras 1...
0 1170 posted 14 years ago by clopez
For any text document this snippet generates an output file that looks like this: 30 m 29 por 29 aplicaci 27 modelo 27 datos 24 con 21 este 21 esta
0 1084 posted 14 years ago by clopez
run this as administrator from cmd.exe
0 1191 posted 14 years ago by cpres
1 ... 89 90 91 92 93 ... 553