Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a class/demonstration for creating dynamic properties and storing them in an array
1
1543
posted 16 years ago by mpcircuitry
Remove that pesky dotted border around img elements, especially images / link tags.
0
1870
posted 16 years ago by CDIDevs
For instances where you have an empty div that is less than about 10-15px in height. IE assumes it should contain something and allots room for text.
I first found this on the webdeveloper.com forums. The fix here is ultimately the "font-size:0" d...
0
1717
posted 16 years ago by CDIDevs
Be sure that elements appearing on top don't have position:relative.
If inherited, try overriding with position:static
0
1548
posted 16 years ago by CDIDevs
Estou considerando que você irá alterar [DOMINIO] para o nome correto de seu certificado.
Em servidores sem cpanel logo, após a instalação convencional do SSL é requerido senha sempre que o apache é iniciado.
Para contornar isso:
0
1719
posted 16 years ago by gpupo
Re-seed identity table if rows were deleted/there are gaps in numerical order
2
1739
posted 16 years ago by CDIDevs
This is a function that will show a progress bar of the given percentage. Useful when performing time consuming tasks.
1
2186
posted 16 years ago by gdvickery
Consider the following piece of code which compares two arrays to find which elements exist in outerArray that do not exist in innerArray:
0
1717
posted 16 years ago by quan
This is excellent for testing (mocking a SOAP server for example), we use an in memory http server in order to answer client requests.
0
2277
posted 16 years ago by narkisr
There is no debian startup script for the lighttpd webserver, if you install the server from sources. You could rewrite the redhat init script for your self, but i've already done this for you :-)
0
1426
posted 16 years ago by crypt
The first function make short urls.
The second function decode a short url with CURL. It gets the http header of the short url page. If the header contains a "Location:" header, then it's a redirect, and the decoded url is the url in the "Location"...
1
3551
posted 16 years ago by ginoplusio