Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I use this action code with http://valums.com/ajax-upload/ to handle the upload from any browser.
0
4215
posted 16 years ago by jink
Also includes the fix for when the user resizes the window.
4
2042
posted 16 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
2096
posted 16 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
2276
posted 16 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
1811
posted 16 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
2717
posted 16 years ago by bshantz
Just a fun and silly way to asynchronously update tweets about Justin Bieber.
3
2505
posted 16 years ago by Nettuts
The cleanest and most compact way I\'ve seen to empty out a display object.
2
2329
posted 16 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
2649
posted 16 years ago by bshantz
A base class for very simple value converters in WPF, Windows Phone 7 and Silverlight.
1
1958
posted 16 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
2127
posted 16 years ago by thefrosty
This is the standard code needed when connecting to a media server.
1
1820
posted 16 years ago by bshantz
This is a simple bit of code that allows you to do a write once date format in a PHP style date() format and convert it to be used by datepicker jQuery UI widget. It returns the converted string.\r\n\r\nNothing fancy here, but a time saver for the f...
1
2817
posted 16 years ago by roblynch
searching for a date sort function I found: http://slevy1.wordpress.com/2010/06/30/sorting-date-strings-in-php/ and built my codeigniter helper
call : $arrSortedDates = bubbleSort( $unsorted ); (previous->helper autoload)
0
1739
posted 16 years ago by lluisr