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
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* ~ sexy_scaffold.css ~ */ | |
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* ~~~ Body ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
body | |
{ color: #222; | |
background: #fff; | |
font-size: 75%; | |
font-family: 'Lucida Grande', Helvetica, Verdana, sans-serif; |
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
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* ~ sexy_scaffold.css ~ */ | |
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* ~~~ Body ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
body | |
{ color: #222; | |
background: #fff; | |
font-size: 75%; | |
font-family: 'Lucida Grande', Helvetica, Verdana, sans-serif; |
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
# = Encapsulating Script.aculo.us methods | |
# Why? Because an In-Place-Editor with Auto-Completer „widget“ is needed | |
# Editor Sends updates to standard RESTful +update+ method [=> admin_compositions_path(composition) ] | |
# Autocompleter expects +autocomplete+ method for your resource collection [=> autocomplete_admin_compositions_path] | |
module Admin::ScriptaculousHelper | |
# Puts an "in-place-editor" for specified +attribute+ of +model+ into HTML | |
# See http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor |
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 233020a2d01e9c4f0bfdd54657062312d2039a57 Mon Sep 17 00:00:00 2001 | |
From: Michael Koziarski <michael@koziarski.com> | |
Date: Thu, 11 Sep 2008 16:03:38 +0200 | |
Subject: [PATCH] Flesh out the parameterize method to support non-ascii text and underscores. | |
--- | |
activesupport/lib/active_support/inflector.rb | 2 +- | |
activesupport/test/inflector_test_cases.rb | 5 ++++- | |
2 files changed, 5 insertions(+), 2 deletions(-) | |
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
[user] | |
name = {REPLACE} | |
email = {REPLACE} | |
[color] | |
ui = always | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
[alias] |
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
// == Program == | |
Program : { | |
initialize : function() { | |
if (!$('program-tree-container')) return false; // Exit immediately if not on a Program page | |
this.Tree.initialize() | |
}, | |
Tree : { | |
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 'hpricot' | |
require 'open-uri' | |
require 'pp' | |
# doc = Hpricot( open('http://www.unicode.org/cldr/data/charts/summary/cs.html') ) | |
doc = open("cs.html") { |f| Hpricot(f) } | |
countries = {} | |
# doc.search("//tr[td='territory']").each do |row| |
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
[user] | |
name = {REPLACE} | |
email = {REPLACE} | |
[color] | |
ui = always | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
[alias] |
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
$: << "/Users/lifo/Rails/sinatra/lib" | |
require 'rubygems' | |
require 'sinatra' | |
require 'sinatra/test/unit' | |
require 'app' | |
class Rack::Response | |
attr_accessor :variables | |
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
alu:Articles karmi$ git commit -a -m "Fix stupid mistakes in code, thanks leethal from #sinatra" | |
Created commit a0a8240: Fix stupid mistakes in code, thanks leethal from #sinatra | |
alu:Articles karmi$ git push karmi | |
... | |
Writing objects: 100% (4/4), 390 bytes, done. | |
... | |
002-introducing-marley/introducing-marley.txt | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
[Articles] Content has been synchronized | |