Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 413 414 415 416 417 ... 552
Turns the list [1,2,3] to ['1','2','3']
0 1811 posted 17 years ago by fnurl
0 1314 posted 17 years ago by robksawyer
Use inType=0 and feed in a specific Google Maps URL to parse out the GeoCoords from the URL e.g. http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=53154&sll=37.0625,-95.677068&sspn=52.505328,80.507812&ie=UTF8&ll=42.858224,-88.000832&spn=0....
4 4454 posted 17 years ago by blackf0rk
This is a simple function to test for an internet connection. Originally grabbed from "devbuzz" at the devbuzz forums (see link) and now modified for VB.NET 3.5
0 2366 posted 17 years ago by blackf0rk
Stub for creating classes in JQuery
0 1819 posted 17 years ago by arpit
1 2101 posted 17 years ago by sixmedia
0 1540 posted 17 years ago by sixmedia
1 2029 posted 17 years ago by sixmedia
1 1568 posted 17 years ago by sixmedia
you can use this function for ie javascript bug. İt is switchin display with javascript
0 1765 posted 17 years ago by Thresh
1 1856 posted 17 years ago by kokikr
0 1536 posted 17 years ago by forchid
Call AddKeepAlive() in Page_Load of the page that needs it. Change the path to the correct keep alive page. Page should disable caching, like in second code snippet.
2 2260 posted 17 years ago by jink
A simple replacement for print_r or whatever you use to display debug info.
2 2065 posted 17 years ago by PeteW
A lovely little one liner that strips out all non alphanumeric chars first, then replaces the spaces with hyphens, then converts all to lowercase :D
0 1608 posted 17 years ago by xtheonex
I occasionally need a WinExec function the synchronously executes a command. cwdArg may be null. This example, upon error, pops-up a dialog and exits the app. This is useful for small installation utilities. non-dot.net, with or without MFC.
0 1765 posted 17 years ago by jimfred
Determine directory where the .exe is running from. Usually it's CWD - but not always, such as MsiExec Custom Actions. Windows. non-dot.net, with or without MFC.
0 1937 posted 17 years ago by jimfred
Simple non-dot.net function to determine if a file exists. Uses the WinBase API. Can be used with or without mfc. Windows, non-dot.net, with or without MFC.
0 4037 posted 17 years ago by jimfred
3 3197 posted 17 years ago by sionnnn
Magento Storeview über Flaggenbuttons steuern statt über Dropdown
0 1489 posted 17 years ago by nico65
1 ... 413 414 415 416 417 ... 552