Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Script para usar la librerÃa PHP Mailer para enviar un mail usando gmail como servidor SMTP.
Se debe descargar la librerÃa phpMailer (www.phpmailer.worxware.com).
Se usa una plantilla html para maquetar el cuerpo del mensaje.
Desde un serv...
0
1096
posted 13 years ago by alberomo
must install flac and lame
apt-get install flac
apt-get install lame
0
811
posted 13 years ago by pbreah
Place at the top of your header.php to redirect visitors who are not logged-in to the Wordpress admin. I use this to redirect to a simple HTML 'coming soon' page while sites are in development.
1
989
posted 13 years ago by adambundy
Hi everyone, a while ago i posted a little script that reproduced a little animation effect seen in Windows 8 Developer Preview. I thought about expanding it some more, and in the end i started actually recreating the whole Metro interface in HTML5/C...
1
1717
posted 13 years ago by claudiowebdesign
Because there is no way to use object extenders in vb.net here is an example of how you can get similar functionality. See the C# example for further info.
0
1186
posted 13 years ago by bryanlyman
1. Get Posts however you see fit
2. Loop through the posts getting the terms from taxonomies and add them to the Post object
3. Sort the Array of Post Objects by the property you want them sorted by using sort_on_field()
0
1420
posted 13 years ago by kingkool68
IE Zone Analyzer allows comparing/importing/exporting of IE security zones
1
1003
posted 13 years ago by theonlyalterego
ASCIIEncoding class has another method, GetByte(), which does the opposite of this one.
1
1077
posted 13 years ago by roboninjapiratejesus
Remove the Attributes in <img> - Tags in the Post/Page Content
0
780
posted 13 years ago by maxxscho
Now when you do a git commit without specifying a commit message, TextMate will pop-up and allow you to enter a commit message in it. When you save the file and close the window, the commit will go through as normal. (If you have another text editor...
0
1499
posted 13 years ago by magicrebirth
Open up your terminal and type in the following commands to show hidden files (such as a .htaccess file).
0
1007
posted 13 years ago by BFTrick
Need to check if your device is online before sending/getting a request? Here's how.
0
782
posted 13 years ago by chrisaiv