Welcome To Snipplr
You searched for: http
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
use <?php>/images/someimage.gif
Such a path resolves to ..
http://www.yoursite.com/wp-content/themes/YOURTHEME/images/someimage.gif
0
874
posted 13 years ago by disgruntledillon
Using the bootstrap provided by http://jonathonhill.net/codeigniter/cron/
0
593
posted 13 years ago by littlebird
Ha az internet explorerben nem sikerül a fájl letöltése(olyan hibát dob, hogy nem tudja letölteni), akkor ezt a headerbe kell belerakni és már töltődik is a fájl.
0
972
posted 13 years ago by oozolii
http://line25.com/tutorials/create-a-grid-based-web-design-in-html5-css3
0
794
posted 13 years ago by resting
Clientside script for a personal DynDNS service. Works together with a server-side script written in php [ http://snipplr.com/view/55482/own-dyndns-service-serverside-script ] .
You may want to set up a cron jop to run this script every x minutes.
0
1083
posted 13 years ago by madc
Serverside script for a personal DynDNS service.
Works together with a clientside script written in ruby [ http://snipplr.com/view/55484/own-dyndns-service-clientside-script/ ] .
Redirect to current saved IP(http, port 80):
http://dynDns.yourver...
0
1184
posted 13 years ago by madc
First, find the proper package from http://www.joomla.org/download/ and copy its path. Then, over ssh, navigate to the root of the joomla install and perform these commands. In the case of an upgrade, this will overwrite in place the needed files, an...
0
1048
posted 13 years ago by beneberle
usefull navigation stuff works in magento 1.5.0.1
http://www.webdesign-blog.ch/?p=17
http://www.pauldonnellydesigns.com/blog/get-parent-category-name-in-magento/
0
1119
posted 13 years ago by nico65
Extend Date object to have isLeapYear() boolean (true for Leap Years)
Taken from https://raw.github.com/vitch/jquery-methods/master/date.js
0
873
posted 13 years ago by tomasdev
Returns the same string, except with links wrapped in <a href=""> tags. Works on www.snipplr.com and on http://snipplr.com
A variation of the script on the attached URL.
0
1049
posted 13 years ago by nebojsac
A very simple HTTP Server written in Python out of boredom.
USAGE :
1 . Create a htdocs folder in the directory of this script
2 . create an index.html file and you are good to go.
This works with multiple pages however index.html is...
0
966
posted 13 years ago by Affix
You don't modify the CMSDesk in order to display only the date or only the time. You do it through the aspx control.
http://authors.aspalliance.com/aspxtreme/sys/globalization/demos/DateTimeFormatInfoGetAllDateTimePatterns.aspx
0
1222
posted 13 years ago by inreflection7
SQL
How to clear the history list from the \"servername\" field of SSMS Connect-to-server dialog box?
http://beyondrelational.com/ask/nakul/questions/10/how-to-remove-server-name-item-from-sql-server-management-studio.aspx
0
1516
posted 13 years ago by derebus
If you obtain this error using WCF, IIS7, LINQ to SQL on Windows 7, read this thread:
http://www.codetoday.net/default.aspx?g=posts&t=1595
0
1077
posted 14 years ago by derebus
Read more here: http://www.jquery4u.com/dynamic-css-2/change-css-jquery/
0
850
posted 14 years ago by jquery4u
This script will handle any vertical resizing issues with a Facebook IFrame tab application, such as the resizing of the frame when elements expand, such as a Facebook Comments plugin. It uses the "FB.Canvas.setAutoResize" method from the Facebook Ja...
0
849
posted 14 years ago by SFLWebDev
Nothing revolutionary, just a simple implementation.
A reworking from Brian Cray's source code:
http://briancray.com/2009/08/21/tweeted-links-twitter-api-php-cache/
Note: requires creating a cache file, '/caches/twitter', relative to source.
0
1081
posted 14 years ago by richardmaisano
This is about the simplest way I've found. See [this](http://stackoverflow.com/questions/1092463/getting-the-mac-address-of-the-remote-host) and [this](http://stackoverflow.com/questions/1092379/want-to-get-mac-address-of-remote-pc/1092392#1092392) a...
0
4687
posted 14 years ago by pckujawa
Dieses Typoscript wrappt den More-Link und umschließt ihn mit dem <p>-Tag, sowie fügt ihm die Klasse ".news-latest-morelink" bei.
Entwickelt von <a href="http://www.maddesigns.de">Sven Wolfermann</a>.
0
1113
posted 14 years ago by kopfaction
Inspired: http://evan-roth.com/personal-internet-cache-archive/
In the "style=" you can adjust the "height: ??px" according to the quantity of items in your cache.
0
902
posted 14 years ago by valessiobrito
If you want to simulate someone clicking on a link, use location.href. If you want to simulate an HTTP redirect, use location.replace.
0
926
posted 14 years ago by vagrantradio
Makes the images in Galleria gallery clickable, so you can see the full sized image in Fancybox (or the ligthbox of your preference). Get Galleria is here: http://galleria.aino.se/
0
846
posted 14 years ago by f6design
Use this script in Automator, and make a Service of it. Then give the service a shortcut in System Preferences -> Keyboard
In the script you have to switch the "SETT_INN_API-KODE_FRA_PROWL_HER" with a Prowl API code (https://www.prowlapp.com/api_s...
0
1140
posted 14 years ago by Macgeeky
the POSIX Regex functions are deprecated in PHP 5.3.0 and removed in PHP 6.
http://us2.php.net/manual/en/function.eregi-replace.php
0
1085
posted 14 years ago by dubogii
Calculating Compound Interest. Real time [Compound Interest Calculator](http://ncalculators.com/interest/compound-interest-calculator.htm "Real time result")
0
604
posted 14 years ago by vinotht
Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/
0
1046
posted 14 years ago by benjaminpearson