Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 275 276 277 278 279 ... 552
Just run in your consol window as ./tocase (or whatever you call the file). Be sure to give it proper permission first (chmod 755 tocase) :]
0 1354 posted 16 years ago by davidmoreen
CSS style to rotate a particular layer or object
0 1840 posted 16 years ago by math89
Working on creating a 'days ago' script. I know some already exist, but I just want to know how to do it myself. I'm also incorporating leap year functionality and some utility functions that could be used on other projects.
2 3237 posted 16 years ago by alvincrespo
the -r means it's recursive, the f suppresses the need to confirm every file deletion.
0 2031 posted 16 years ago by beneberle
0 1654 posted 16 years ago by plasticated
Used for the blog post: http://www.brettwidmann.com/2010/08/flash-primitive-data-types
0 2318 posted 16 years ago by goatboy91587
Used for the blog post: http://www.brettwidmann.com/2010/08/flash-primitive-data-types
0 2104 posted 16 years ago by goatboy91587
Loops through all files of a certain extension in the specified directory. Can be used to list all images in a given directory.
0 2100 posted 16 years ago by sandman7OR
0 1691 posted 16 years ago by sandman7OR
processes contact form input and produces an auto reply
0 1624 posted 16 years ago by sandman7OR
Select the specified option for alle html selects as jQuery.
0 1804 posted 16 years ago by pogosheep
Como convertir tiempo a formato de 24 horas y viceversa.
2 3323 posted 16 years ago by derebus
1 1607 posted 16 years ago by iamadams
Originally written by Jason Lengstorf, rewritten by Drew Douglass, packaged into the EnnuiCMS (link above), can be used as standalone class. Be sure to change or define your constants for PAGE_OBJ_WIDTH and PAGE_OBJ_HEIGHT when using the YouTube m...
1 1840 posted 16 years ago by DrewDouglass
Substitute new_ placeholder in the second line with your new prefix. Run it: http://www.yoursite.com/rename.php and wait until it responds with an OK, usually after a couple of seconds. Delete the rename.php script. Edit the configuration.php file...
0 3051 posted 16 years ago by beneberle
When working in PHP I sometimes want to know exactly what is in a variable. This is easy enough to find out, but having this function around it is even easier, as it includes the HTML pre tag making it easier to read, and it allows you to choose how...
1 2080 posted 16 years ago by Sverri
just drop on a page and boom syntax is all colorfull and pretty
0 1854 posted 16 years ago by cartercole
embeds the google badge iframe automatically in the page
0 1601 posted 16 years ago by cartercole
uses JavaScript to check DOM for proper clean linkback to widget source
1 1576 posted 16 years ago by cartercole
Here is how to determine the device type.\r\n\r\nHow to use it.\r\n\r\nUIDeviceHardware *h=[[UIDeviceHardware alloc] init];\r\n[self setDeviceModel:[h platformString]]; \r\n[h release];
3 3901 posted 16 years ago by espinallab
0 1570 posted 16 years ago by xavsio4
0 1547 posted 16 years ago by xavsio4
Función para obtener el tamaño de un directorio:
0 2026 posted 16 years ago by jrobinsonc
Simple file concatenation target using the concat task. The to and from directories are set in properties at the top. The first concat clears the file and writes a JS comment with the date on it, the second uses both a filelist (where you write filen...
0 1432 posted 16 years ago by gotofritz
Quick Look is the little window you get in Finder when you select a file and press the space bar. You can get the same from the command line with the following command (-p is a full window, -t is a thumbnail). You can even output it to a file with th...
0 2016 posted 16 years ago by gotofritz
0 1511 posted 16 years ago by xavsio4
1 ... 275 276 277 278 279 ... 552