Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
must install flac and lame
apt-get install flac
apt-get install lame
0
697
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
870
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
1552
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
1051
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
1291
posted 13 years ago by kingkool68
IE Zone Analyzer allows comparing/importing/exporting of IE security zones
1
880
posted 13 years ago by theonlyalterego
ASCIIEncoding class has another method, GetByte(), which does the opposite of this one.
1
936
posted 13 years ago by roboninjapiratejesus
Remove the Attributes in <img> - Tags in the Post/Page Content
0
680
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
1338
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
884
posted 13 years ago by BFTrick
Need to check if your device is online before sending/getting a request? Here's how.
0
678
posted 13 years ago by chrisaiv