Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Example set of files for data mapping objects to db records. (Not perfect, but funcional)
0
1390
posted 15 years ago by nikefido
A sample wrapper class around Zend_File_Transfer_Adapter_Http
0
1273
posted 15 years ago by nikefido
A favicon (short for favorites icon), also known as a shortcut icon, website icon, URL icon, or bookmark icon is a 16×16 or 32×32 pixel square icon associated with a particular website or webpage. The interesting bit here is the apple-touch-icon wh...
0
1509
posted 15 years ago by cappellin
I’ve implemented something similar a couple of months ago. What we wanted was to prevent the cart from the old session from merging into the cart of the current session at the point when the customer login. If that describes what you want as well,...
0
1126
posted 15 years ago by TioSolid
C#
Simplified and Consistent Printing in Silverlight - with Page Margins, Shrink to Fit, and Landscape printing
The following extension method allows you to call Print() on any FrameworkElement, UIElement or group of elements, and print with a variety of settings such as landscape mode, shrink to fit, page centering, and more
0
1612
posted 15 years ago by alishahnovin
How to determine a static map image for google Maps as fallback for visitors without JS. The image can later be replaced via JS with the google Maps IFrame.
0
1498
posted 15 years ago by ichnoweb
Note: This example uses Arthropod Debugger (AIR App) which can be downloaded from here http://arthropod.stopp.se/
1
1670
posted 15 years ago by adrianparr
Simple bash script that sorts a series of numeric parameters using a temporary file and sort command.
0
1213
posted 15 years ago by Hexx
Adjust the size of the body field window. For use in hook_form_alter().
0
1537
posted 15 years ago by tgbdad
The code works if and only if your system is using English(United States) date format (i.e. "Web 05/11/2011").
If your systems is using English(United Kingdom) date format just replace %%B in the first and third rows with %%A.
0
3935
posted 15 years ago by cappellin
Save in a php file and run in the directory.
Remove directory files through ftp.
Remove php file
0
1224
posted 15 years ago by resting