Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Tired of the Python's "".join(...) idiom requiring you to pre-stringify all the arguments to join()? Yeah, me too.
1
712
posted 18 years ago by collin
This command will list every file under /my/directory larger than 250kB and sort it largest to smallest.
13
1055
posted 18 years ago by SunnyJim
This is basically the top few lines of every CSS document I start with, just the basic selectors, no specific elements at this point in time. I like to place a general styling for almost every type of tag in my document so that as I later style my H...
1
741
posted 18 years ago by kevh
This snippet is Polish-language specific. This class expands a number (Fixnum or Bignum) into a string with a textual representation of that number in Polish language. Currency suffix supported.
Example: 456 -> "four hundred fifty six" (but in Polis...
0
646
posted 18 years ago by komor
Sends a request to a supplied path for a given host. It can send either a GET or POST request and can pass parameters.
2
996
posted 18 years ago by ryansobol
BODY {font-size:62.5%}
This takes 16px down to 10px (16 x 0.625 = 10), which apart from being less huge is a nice round number. From now on it’s easy to think in pixels but still set sizes in terms of ems: 1em is 10px, 0.8em is 8px, 1.6em is 16px,...
3
1340
posted 18 years ago by zensir
JavaScript Tooltip libraries number about as many as rounded CSS corner libraries.
Jonathan Weiss thought the ones he saw were "too complicated and bloated, did just too much and most of the time were still not flexible enough with the tooltip. So...
1
931
posted 18 years ago by jonhenshaw
Aligerar el tiempo en crear mis precargas ... lo bueno de esto es que se adapta al tamaño del escenario del flash .. y todo es dinamico
1
734
posted 18 years ago by danideu