Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 303 304 305 306 307 ... 554
0 900 posted 15 years ago by AndreasKT
Using http://www.clapper.org/software/java/util/javadocs/util/api/org/clapper/util/classutil/ClassFinder.html in order to find a class in class path.
0 1022 posted 15 years ago by narkisr
This thread downloads file via url.
2 1597 posted 15 years ago by anata
tested only on mac osx terminal
1 981 posted 15 years ago by mcarneiro
probably not the best way but easy enough
0 1306 posted 15 years ago by jjdowding
This is the correct markup for an inline script tag for HTML 4.01 and XHTML 1.0 Note the lack of any "language" attribute since this is deprecated. In HTML 4, the content type is declared as CDATA, which means that entities will not be parsed....
0 1243 posted 15 years ago by PapillonUK
How to retrieve the amount of items the user has into the cart
0 901 posted 15 years ago by TioSolid
How to get the cart total in a Magento Page
0 845 posted 15 years ago by TioSolid
Will convert all of the mysql dates on the page to be localized.
0 1004 posted 15 years ago by yisreldov
Color-transition loop from the massiveblue homepage
2 1120 posted 15 years ago by jackomono
Add and remove www to urls through .htaccess with mod_rewrite
1 1279 posted 15 years ago by ginoplusio
Redirects all calls to mp3 files to a proxy (usefull fr example to track stats on db) the +FollowSymlinks should be already setted, but if it isnt' this setting with use it. FollowSymlinks must be on to use the rewrite engine.
0 1702 posted 15 years ago by ginoplusio
This creates a zipfile with the same name as the input file in the same location as the input file. Only does a single file.
0 1109 posted 15 years ago by throb
0 1160 posted 15 years ago by ptruta
Command: svn log -rHEAD:443 | sed -n '/nalmeida/,/-----$/ p'
0 989 posted 15 years ago by nalmeida
validate :price_must_be_at_least_a_cent protected def price_must_be_at_least_a_cent errors.add(:price, 'should be at least 0.01') if price.nil? || price < 0.01 end
0 943 posted 15 years ago by stayce
Finds the location of the log and data files for every database in SQL Server
1 1038 posted 15 years ago by tcphll
Just a simple benchmark utility, working both in AS2 & JS.
0 794 posted 15 years ago by irrevokable
I love creating simple little extension methods like these to improve code readability.
1 1063 posted 15 years ago by mattcasto
I love creating simple little extension methods like this to make my code read more better.
0 878 posted 15 years ago by mattcasto
0 928 posted 15 years ago by jmaties
1 1049 posted 15 years ago by cfleschhut
1 932 posted 15 years ago by habib123
0 902 posted 15 years ago by habib123
1 ... 303 304 305 306 307 ... 554