Welcome To Snipplr
You searched for: http
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
used as "http://www.somesite.com/index.php?xcr=page.php"
page.php is plugged into the template index.php which hold the shell of a site.
0
1944
posted 17 years ago by withremote
This script will setup JBoss 4.2.2 to use null persistence (no DB, see http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQNullPersistence) when handling JMS messages.
1
1208
posted 17 years ago by narkisr
Taken from : http://www.phpfreechat.net/forum/viewtopic.php?pid=7587
See also this class : http://www.phpbuilder.com/snippet/download.php?type=snippet&id=2205
1
1116
posted 17 years ago by clapfouine
Also see the automagic column builder on this page.
YOU NEED THIS FILE TOO! Place it in the subfolder, "css/".
http://snipurl.com/3col_support_css
4
1730
posted 17 years ago by Winkyboy
I got halfway making this but switched to another method. Thought I'd save it just in case...
options_for_select(): http://pylonshq.com/WebHelpers/module-webhelpers.rails.form_options.html#options_for_select
Based on http://snipplr.com/view/169/u...
0
1007
posted 17 years ago by pr1001
This was created as a temporary solution to the wide dropdowns that sometimes appear in OpenAir timesheets and cause horizontal scrolling. Adding this script as a bookmarklet and clicking it will resize all selects (dropdowns) on a page to 340px wide...
0
1194
posted 18 years ago by Todd
SEE http://json.org/ for PHP JSON Libraries.
grunt knuckle drag brute force ugly escapes for quotes make a php array a json string
Produces trailing commas which some Javascript Librarys can't deal with.*
_*NOOB NOTE [a comma is added at the...
2
1784
posted 18 years ago by inkdeep
https://www.chrisjmendez.com/2007/10/22/ruby-simple-example-of-threading/
3
3014
posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/ruby-how-to-iterate-through-an-array/
3
2892
posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/converting-an-array-into-yaml-loading-yaml-into-an-array/
1
2759
posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/15/ruby-parse-delicious-rss-feeds/
2
1807
posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2017/10/15/ruby-web-2-0-name-generator/
1
1087
posted 18 years ago by chrisaiv
This is as small as this can go:
'xs:dateTime(sql:variable("@stringDate"))'
It needs to be a literal string for the Value() function.
Xml Datatype
http://msdn2.microsoft.com/en-us/library/ms189887.aspx
Sql:Variable() Function
http://ms...
0
1903
posted 18 years ago by rengber
Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
2
2714
posted 18 years ago by jonhenshaw
1. mvn archetype:create -DgroupId=deng -DartifactId=mywebapp -DarchetypeArtifactId=maven-archetype-webapp
2. Replace web.xml with http://snipplr.com/view/3800/minimal-webxml-webapp-descriptor-version-24
3. Replace pom.xml in this snipplet.
4. mvn...
1
1592
posted 18 years ago by thebugslayer
The escape_javascript funtion is taken from Rails (http://rails.rubyonrails.com/classes/ActionView/Helpers/JavaScriptHelper.html#M000633). Most of the work on this was done by pnomolos and n00ge on the E Text Editor forums.
1
1449
posted 18 years ago by charlesroper
Using a gcc predefined macro, __DATE__, the code can know for itself when it was compiled, and build in an expiration date based on that value.
For a internationalised version see: http://snipplr.com/view/7196/kill-app-after-expire-date-suicidal-c...
1
2041
posted 18 years ago by zingo
This will open up the 443 port in your firewall to TCP connections. Run as root.
0
1012
posted 18 years ago by micmath
シンプルãªãƒ‰ãƒãƒƒãƒ—ãƒ€ã‚¦ãƒ³ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã€‚å…¥ã‚Œåæ–¹å¼ã€‚ by http://www.pmob.co.uk/temp/dropdown_horizontal2.htm
1
1432
posted 18 years ago by fjm
The ASPN cookbook has many recipes for singletons in Python. So far, this one
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/412551
has been my favourite, because it is so simple and concise. However, I just ran into a brick wall when I tr...
0
1236
posted 18 years ago by n3x
Parses the given path and creates a http redirect to that page.
1
1604
posted 18 years ago by IanLewis
A CSS sticky footer
http://ryanfait.com/sticky-footer/
Copyright (c) 2006-2007 Ryan Fait
2
1260
posted 18 years ago by masaya
Firefoxã¯HTML4.0以外ã®DOCTYPE宣言ã¤ã‘ã‚‹ã¨100%表示ã®FlashãŒä¸€éƒ¨ã—ã‹è¡¨ç¤ºã•れãªã„ãƒã‚°ãŒã‚ã‚‹ãã†ã€‚
å‚考サイト
http://uu-uu.com/blog/2006/10/flash_100another_htmllint.html
2
1183
posted 18 years ago by kyokutyo