Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
If you\'ve got a Wordpress install that\'s changed domain or you\'re making a local or development copy, you\'ll need to update the Wordpress DB tables with the new URL.\r\nThe first step is the options table, with siteurl and homeurl. The posts als...
1
1466
posted 15 years ago by timkinnane
This function is usefull and simple, specially when u create users databases
1
2596
posted 15 years ago by zenco
I use this action code with http://valums.com/ajax-upload/ to handle the upload from any browser.
0
3529
posted 15 years ago by jink
Also includes the fix for when the user resizes the window.
4
1448
posted 15 years ago by Meander365
1. Create a proxy on 8080 to foreword traffic to your server
2. Install Foxyproxy and use options 127.0.0.1:8080 and SOCKS5 enabled
3. Profit
1
1510
posted 15 years ago by benpjohnson
This snippet will help create a flashSharedObject a.k.a Flash Cookie, which much better than conventional cookies since they remain through all browsers and cannot be erased by the user using traditional cookie erasing methods
3
1737
posted 15 years ago by carbonr
O envio de emails deve ser feito de modo autenticado, utilizando o smtp do servidor.
Este script é um exemplo de envio desta forma, usando a classe phpmailer para isso.
0
1358
posted 15 years ago by gpupo
This is an event class that lets you package related events together and send custom data with the event, very useful for MVC applications.
2
2031
posted 15 years ago by bshantz
Just a fun and silly way to asynchronously update tweets about Justin Bieber.
3
1924
posted 15 years ago by Nettuts
The cleanest and most compact way I\'ve seen to empty out a display object.
2
1742
posted 15 years ago by bshantz
Using the webcam in AS3 is super easy. You just need to attach the camera class to a video instance. This is a class that extends the video component for easily implementing a webcam display.
4
2058
posted 15 years ago by bshantz
A base class for very simple value converters in WPF, Windows Phone 7 and Silverlight.
1
1435
posted 15 years ago by jacob4u2
I\'m definitely not the best at Regex. But this function seems to be timing out, and adding like 4o links to the post. Got any ideas?
0
1604
posted 15 years ago by thefrosty
This is the standard code needed when connecting to a media server.
1
1326
posted 15 years ago by bshantz