Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Open some internet-page with some pictures on it. Then just paste this text into the address line and press "Enter". Works good only in IE, sometimes in Opera...
0
1174
posted 19 years ago by Memphys
phpspot開発日誌より引用
--
ã“ã®ãƒ•ァイルã§ã¯ã€å¤–部ファイルã§ã‚ã‚‹ã€/exec/some.html ã¨ã„ã†ãƒ•ァイルをèªã¿è¾¼ã‚“ã§ã„ã¾ã™ã€‚
IEã®å ´åˆã€ã‚¿ã‚°ã«ã‚¹ã‚¿ã‚¤ãƒ«ã§ã‚µã‚¤ã‚ºã‚’指定ã—ãªã„ã¨è¦‹ãˆãªã„ã®ã§æ...
0
1105
posted 19 years ago by fabric1
fixture_file_upload is another nifty Rails testing feature. It allows you to create "MIME-encoded content that would normally be uploaded by a browser input field." (Part in quotes straight from Agile Web Development with Rails, v2). Put your files t...
3
3497
posted 19 years ago by tjstankus
Plist file for heartbeatd to be handled by Launchd - change the ip addresses to match your own - I have called this uk.ac.rave.heartbeatd.plist. Change the "x.x.x.x" in the array within ProgramArguments to the IP's that you are using.
0
1208
posted 19 years ago by smoothnoodle
Matches any hex value (0123456789ABCDEF) preceded by the pound sign (#) of exactly 3 or 6 digits in length.
3
1680
posted 19 years ago by Corhol
Using this command makes it easy to do a project-wide search-and-replace
0
1226
posted 19 years ago by collin
Replaces a DOM Element with another, but keeps the classes and IDs of the old one.
3
1726
posted 19 years ago by gaunab
The code for inserect the Search Box (of Apple Search) on your webpages
0
1242
posted 19 years ago by philapple
Rails builds on the standard Ruby observer, so you can too.
Originally found at http://rails.techno-weenie.net/forums/1/topics/672?page=6,
so don't give me any credit ;)
2
1445
posted 19 years ago by stuckinrealtime
This will return the number of seconds between now and when the time field was inserted.
0
1895
posted 19 years ago by wolfie
Since the version of compose() that ships with functional only allows you to compose two functions, I present this version that composes n functions.
0
1176
posted 19 years ago by collin
ГенерируетÑÑ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ° Ñ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸ÐµÐ¼ цифр, которые пользователю предлагаетÑÑ Ð²Ð²ÐµÑти в форму Ð´Ð»Ñ ÑƒÑпешного ввода данных
1
1144
posted 19 years ago by Memphys
This is a website specific script... pops up the source of an OPML file with 145+ podcasts.
http://www.productivity501.com/2006/11/free_academic_p.html
Note: The 'bookmarklet' format is included as a comment at the bottom... (write in a webpage a...
1
1299
posted 19 years ago by rolandog