Welcome To Snipplr


You searched for: http

Everyone's Recent Snippets



1 ... 26 27 28 29 30 ... 36
Administering more than one node at a time through the Drupal admin interface is like drinking a milkshake through a buckytube. [How to use phpmyadmin and sql to perform mass operations on nodes](http://drupal.org/node/134535)
1 1467 posted 16 years ago by zachharkey
Based on some comments in [StackOverflow Question](http://stackoverflow.com/questions/95875/javascript-check-to-see-if-a-variable-is-an-object "How to check if a variable is an object")
3 1694 posted 16 years ago by jasonseney
This is the modified GWT HTML host page for your module. As you can see, the only modified element is the path to the GWT bootstrap script, the original declaration was the GWT 1.5 way, the new declaration is the [GWT 1.6 way](http://code.google.com/...
0 999 posted 16 years ago by salvadordiaz
Esta función devuelve un string aleatoreo con un largo aleatoreo, con un mínimo y un máximo. El uso más común es solo especificar el largo máximo. Especialmente útil para pruebas unitarias. NOTA: depende de http://snipplr.com/view/14580/n...
1 1114 posted 16 years ago by delm
3 1205 posted 16 years ago by g0mer
https://www.chrisjmendez.com/2004/09/27/jquery-converting-all-the-items-in-a-select-element-into-a-string-array/
0 1722 posted 16 years ago by chrisaiv
this is how to automatically get short urls for your blog posts in wordpress, What you need is to decide which tinyurl service you will be using and get its api URL, for example rinyurl.com , bit,ly, tr.im, here are the api URLS for the mo...
0 1619 posted 16 years ago by nerdsane
I'll never learn how to use this Markdown system. Anyway, here is the fixed code based on my comment on the following page: http://snipplr.com/view/14206/replace-spaces-with-underscores/ I'm sorry, I don't mean to hijack the code. :(
0 1527 posted 16 years ago by duniyadnd
First of all, for all Stackoverflow.com members who have seen my question about this snippet on Stackoverflow, yes I am the same person as WebDevhobo. Last time I asked a question about something I posted here I got a bucketload of comments saying I...
1 3623 posted 16 years ago by Vordreller
An easy way to launch an external process (http://docs.codehaus.org/display/GroovyJSR/Run+Sub-Process+Safely).
1 1683 posted 16 years ago by narkisr
Mac OS X creates files beginning with *._* to Samba shares when files on a Unix/Linux machine are accessed with a Mac. I use [Coda](http://www.panic.com/coda/) to access a Samba share on my development server at work. This is really annoying when c...
1 1964 posted 16 years ago by shaunchapman
1 1240 posted 16 years ago by fackz
This is my first ever bookmarklet. It's simple and could be tightened up but it works for me (FF3 Ubuntu 8.10). Oh, by the way, what it does is load gmail (if you're signed in, which I always am) with a search for the unread messages (is:unread)...
0 1033 posted 16 years ago by ThomasGHenry
TextExpander is a great Mac tool that expands special abbreviations typed anywhere in the OS into useful snippets of text. One of the AppleScript snippets included shortens a URL in the clipboard using the bit.ly URL-shortening service. You copy the...
2 4612 posted 16 years ago by Todd
This snippet uses the as3corelib which you can download on this page: http://code.google.com/p/as3corelib/
3 1597 posted 16 years ago by publicbroadcast
Simple Mail Example. Tags: SMTP, Mail, Java [JavaMail (Sun)](http://java.sun.com/products/javamail/) [JavaMail (Galileo)](http://openbook.galileocomputing.de/javainsel8/javainsel_18_012.htm#mj2a4110a634c82a3f676d8f87a50d6567)
1 1522 posted 16 years ago by mahome
Refer to [This snipplr](http://snipplr.com/view/13653/css-firstchild-test/), added head and body section, even Firefox won't match first-child
0 1392 posted 16 years ago by angusdev
You can get hostname from script environment - getenv("HTTP_HOST") (?!'.$host.') matches URLs always except local links
0 1263 posted 16 years ago by kossmoss
Use this to extract an HTML5 origin from a URI. $1 is the origin. The square brackets are there to support IPv6 addresses. Example: var html5OriginRegex = /^([\w-]+:\/*\[?[\w\.:-]+\]?(?::\d+)?).*/; "http://www.google.com:42/foo/bar/...
0 971 posted 16 years ago by Sephr
Affects <A> tags for links starting with $link Example: LinkReplacer ($text, 'http://www.snipplr.com') affects to <a href="http://www.snipplr.com">Snipplr</a> and <a href="http://www.snipplr.com/blog">Snipplr Blog</a>
0 1383 posted 16 years ago by kossmoss
obviously change url. you'll get (better formatted) something like... curl -o /dev/null -w %{time_total}\\n http://www.google.com % Total % Received % Xferd Average Speed Time Time Time Current D...
0 944 posted 16 years ago by nategood
<h2>POSH => HTML semántico</h2> http://aprendiendoweb.com/2008/08/posh-html-semantico <ol> <li>Debe ser HTML válido</li> <li>No se deben usar elementos de presentación como &lt;b&gt; o &lt;i&gt;</li> <li>Todos los estilos deben darse usando C...
2 1030 posted 16 years ago by demixo
Clojsure composition in Groovy (functional style programing). @http://www.ibm.com/developerworks/java/library/j-pg08235/index.html
0 1315 posted 16 years ago by narkisr
Alternate to <a href="http://snipplr.com/view/133530">this method</a>. Have not yet tested. In settings.php, put this code:
0 1184 posted 16 years ago by zachharkey
My [original post](http://drupal.org/node/84895) languished for years before someone pointed out a possible solution [here](http://drupal.org/node/53705). The following user-submitted code may be useful in redirecting URLs for the /files directory...
0 1284 posted 16 years ago by zachharkey
Creating a object that doesn't have any methods in Ruby (regular objects inherit methods from Object class), useful for Proxies that use method missing (http://onestepback.org/index.cgi/Tech/Ruby/BlankSlate.rdoc).
1 1686 posted 16 years ago by narkisr
Will return a string that has any matched URLs wrapped in `<a>` tags. Example: `"This is a link to http://foobar.com . Please visit !"` Becomes: `"This is a link to <a href='http://foobar.com'>http://foobar.com</a> . Please visit!"` Note: Op...
2 5897 posted 16 years ago by jasonseney
include this snippet in your sites to force InternetExplorer 8 to display your site like InternetExplorer 7 In summary, IE7 compatibility support looks as follows: IE=7 Display in IE7 Standards mode; Already supported in the IE8 Beta 1 relea...
3 2892 posted 16 years ago by tobaco
Here is a small function [[lobo235](http://www.netlobo.com/javascript_tooltips.html "Javascript Tool-tips")] wrote that will parse the window.location.href value and return the value for the parameter you specify. It does this using javascript's buil...
1 3318 posted 16 years ago by nelsnelson
A dictionary-like class that can be used to assign unique integer IDs to names. This class is part of the [igraph library](http://igraph.sourceforge.net), but I need it occasionally in other projects so I post it here.
1 1291 posted 16 years ago by ntamas
1 ... 26 27 28 29 30 ... 36