Welcome To Snipplr


Everyone's Recent Snippets



1 ... 372 373 374 375 376 ... 554
2 1013 posted 15 years ago by sennesaelium
Image files are: header_1 , header_2, header_3, header_4
0 842 posted 15 years ago by donatkinson
0 937 posted 15 years ago by aadsm
Put the following in your controller to define the content-type for *that* specific controller.
0 941 posted 15 years ago by chrisamini
0 1108 posted 15 years ago by donatkinson
1 861 posted 15 years ago by jnbn
1 1095 posted 15 years ago by fris
2 1114 posted 15 years ago by quickredfox
[Credit - Sam Allen, Dot Net Perls](http://dotnetperls.com/remove-html-tags)
2 1736 posted 15 years ago by jasonseney
1 1253 posted 15 years ago by jasonseney
A style of code reuse. Breaking methods (in this case MVC controller) into very small reusable atomic chunks that either perform an operation then return an ActionResult OR return null, then using with the null-coalescing operator.
0 1138 posted 15 years ago by jmcd
0 961 posted 15 years ago by sennesaelium
This code allows you to track each step of Magento's One Page Checkout in Google Analytics. I installed it at the bottom of my `checkout/onepage.phtml` template file. Once installed, you can set up a funnel for the following: * `/checkout/onepage/...
0 1081 posted 15 years ago by jdbartlett
Example markup: <p>This is the first part of the text <a class="toggle">[+]</a><span>this part is hidden until clicking the toggle link.</span></p> The script will show and hide text when the toggle link is c...
1 1021 posted 15 years ago by mikemetcalf
1 1063 posted 15 years ago by donatkinson
0 949 posted 15 years ago by donatkinson
Simple [SoundManager2](http://www.schillmania.com/projects/soundmanager2/doc/download/#latest "Download SoundManager2") example (uses jQuery)
0 1301 posted 15 years ago by chrisdpratt
Simple way to configure the JVM to use the proxy in the network
1 1041 posted 15 years ago by neozilon
This snippet is usable for telephone number normalization. It supports re-mapping of misused alphabetical characters (e.g. i for 1) and some other clean up stuff... Take a look. Update, 2009-10-02: added function to create a corresponding MySQL RE...
1 1320 posted 15 years ago by dreadwarrior
0 933 posted 15 years ago by alexaivars
0 1070 posted 15 years ago by cbek
1 728 posted 15 years ago by xathin
1 ... 372 373 374 375 376 ... 554