Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
In MODx, insert below:
# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
2
1901
posted 17 years ago by hotdiggity
This snippet uses the as3corelib which you can download on this page:
http://code.google.com/p/as3corelib/
3
2204
posted 17 years ago by publicbroadcast
Skor PHP Template class can assign individual variable values or arrays with several variable values. A separate sub-class extends the base class to support delimited template section replacements.
0
1593
posted 17 years ago by Agundur
Simple Mail Example.
Tags: SMTP, Mail, Java
[JavaMail (Sun)](http://java.sun.com/products/javamail/)
[JavaMail (Galileo)](http://openbook.galileocomputing.de/javainsel8/javainsel_18_012.htm#mj2a4110a634c82a3f676d8f87a50d6567)
1
2123
posted 17 years ago by mahome
Refer to [This snipplr](http://snipplr.com/view/13653/css-firstchild-test/), added head and body section, even Firefox won't match first-child
0
1888
posted 17 years ago by angusdev
This command will fix the “The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes." error when saving a list (including content) that's too big.
0
1763
posted 17 years ago by blackf0rk
The first part resets all the browser\\\'s default styles. The second part adds some styles back in and provides a few classes for common issues. The third part will check your page for invalid markup.
2
2210
posted 17 years ago by BFTrick
You can get hostname from script environment - getenv("HTTP_HOST")
(?!'.$host.') matches URLs always except local links
0
1782
posted 17 years ago by kossmoss
<table>
<tr>
<td>Head</td>
</tr>
<tr>
<td>Subhead</td>
</tr>
<tr>
<td>text</td>
</tr>
</table>
0
1637
posted 17 years ago by hotdiggity