Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 449 450 451 452 453 ... 553
$quote -- name of function post_type=page -- remove to query posts orderby=rand -- random order showposts=1 -- limit to 1 post effect -- displays 1 random custom excerpt outside of the loop
1 1590 posted 17 years ago by davebowker
0 1170 posted 17 years ago by Elph
A simple method of clearing the data of a hard drive (writing zeros all over it).
2 1654 posted 17 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0 1233 posted 17 years ago by narkisr
This snippet is actually tested for SQL Server Compact Edition (CE) 3.5, but it will probably work for other SQL Server editions. Once you have an SQL CE db up and running, you can set the connection string to point to any directory and database by s...
0 2459 posted 17 years ago by pckujawa
Add class external to all target=_blank links
4 1696 posted 17 years ago by gfazioli
Código para proyecto de Arquitectura y Organización de Computadores con C++ y lenguaje ensamblador.
0 1291 posted 17 years ago by bedomax
The returned file will either contain the folder from where your program is running or the executable jar file, if your program is an executable jar. I'm using `Main.class` because this code is in my main method (which is in the class 'Main'). You...
0 1265 posted 17 years ago by resurge
2 1317 posted 17 years ago by Krypt
1 1068 posted 17 years ago by johnloy
3 1428 posted 17 years ago by iTony
0 1158 posted 17 years ago by klunkatronic
0 1118 posted 17 years ago by klunkatronic
6 1410 posted 17 years ago by goo
This is a very simple bookmarklet that will temporarily sort the *visible* messages in Gmail by subject. You'll have to run it again each time Gmail refreshes the list. [Sort Gmail Messages](javascript:(function(){function%20f(r){var%20t=r...
0 1759 posted 17 years ago by wizard04
Simple snippet to return the keys of an object.
1 1688 posted 17 years ago by garside
0 1617 posted 17 years ago by ginoplusio
Pass in text and the maximum allowable length and this snippet will return as many full sentences from the text as it can within that length. If no sentences, it will just trim to the maximum length allowed.
1 1849 posted 17 years ago by DaveChild
0 1248 posted 17 years ago by ginoplusio
1 ... 449 450 451 452 453 ... 553