This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){f='http://www.delicious.com/save?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title)+'¬es='+encodeURIComponent(''+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text))+'&v=6&';a=function(){if(!window.open(f+'noui=1&jump=doclose','deliciousuiv6','location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){$('option','#font-family').attr('disabled',true).filter(function(a){return ':contains('+a.replace(/\+/g,' ').split(',').join('),:contains(')+')'}('Cantarell,Crimson+Text,Droid+Sans+Mono,IM+Fell,Inconsolata,Josefin+Sans+Std+Light,OFL+Sorts+Mill+Goudy+TT,Reenie+Beanie')).attr('disabled',false)})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'sinatra' | |
get '/' do | |
haml :test | |
end | |
get '/test' do | |
params[:callback] + '({ sonda: ' + params[:sonda] + '})' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From cb1651ee96530e159cb817a2b3f202d14104c114 Mon Sep 17 00:00:00 2001 | |
From: Petr Vostrel <petr@vostrel.cz> | |
Date: Tue, 20 Apr 2010 18:02:24 +0200 | |
Subject: [PATCH] Fixed reported bad positioning of indicator | |
--- | |
jquery.reel.js | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/jquery.reel.js b/jquery.reel.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'sinatra' | |
require 'datamapper' | |
require 'dm-paperclip' | |
require 'haml' | |
require 'fileutils' | |
APP_ROOT = File.expand_path(File.dirname(__FILE__)) | |
DataMapper::setup(:default, "sqlite3://#{APP_ROOT}/db.sqlite3") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@view= 'Something' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1 - - [21/Mar/2010:18:38:32 +0100] "GET /test HTTP/1.1" 500 - | |
127.0.0.1 - - [21/Mar/2010:18:38:33 +0100] "GET /favicon.ico HTTP/1.1" 404 420 | |
# Why /test responds with status 500 if its response clearly is not empty? |