Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 276 277 278 279 280 ... 554
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 1839 posted 14 years ago by espinallab
0 888 posted 14 years ago by xavsio4
0 835 posted 14 years ago by xavsio4
Función para obtener el tamaño de un directorio:
0 1143 posted 14 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 810 posted 14 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 1093 posted 14 years ago by gotofritz
0 808 posted 14 years ago by xavsio4
This make a nice and cool transition effect when you mouse over on links.
1 1060 posted 14 years ago by simonbouchard
2 965 posted 14 years ago by stewshack
1 874 posted 14 years ago by wanderlusts
Set UITableView background to a pattern
3 1350 posted 14 years ago by glebd
basic ajax submit
1 937 posted 14 years ago by benrasmusen
Run through infinite xml child nodes.
1 964 posted 14 years ago by dxc381
using System.Drawing; using System.Drawing.Imaging;
1 824 posted 14 years ago by rlynch3
<p>Method 1</p> <p>The -c directive creates a file .htpass in the directory somepath/outside/of/root/ containing a username user1. The -b directive means you must supply the password password1 at the command line when running the command - not rec...
3 1187 posted 14 years ago by beneberle
Put this in an .htaccess file to protect the directory it is in and anything below it. This requires that a file named .passwdfile exists in the directory \\\"/full/path/to/\\\" and contains at least one username/password combination.\\r\\n\\r\\nUse...
2 980 posted 14 years ago by beneberle
For use in bash script. First two lines are an example of usage. This is one of several solutions to this problem. Works well for cleaning database output. Takes a regex and two files as arguments - first one is raw db output - second is merged outpu...
1 1223 posted 14 years ago by bubnoff
Select a shape with text of any kind inside. Run the macro. A timer is generated. Change the macro to switch counter resolution, length, up/down, etc. Modified original to make it work in PPT 2007.
0 971 posted 14 years ago by wesalvaro
0 542 posted 14 years ago by flavioguima
I\'ve added an additional case to handle videos linked from a user\'s channel.
2 1582 posted 14 years ago by Jamie
Zurb didn&apos;t post the full code, but they made a short post tutorial and it appears to be open source. I found the code here and fixed a border problem, and I also cleaned it up so it&apos;s easier to read.<ul><li>Sizes: small, medium, large</li>...
0 967 posted 14 years ago by illegal3alien
1 849 posted 14 years ago by RealRover
This code adds the specified library to the header in WordPress unless you are in the admin section.
2 1015 posted 14 years ago by jonkemp
1 ... 276 277 278 279 280 ... 554