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 'font-lock) | |
(global-font-lock-mode t) | |
(setq font-lock-maximum-decoration t) | |
;; New keybindings | |
;; PC Function Keys | |
(global-set-key [f1] 'goto-line) | |
(global-set-key [(shift f1)] 'view-emacs-FAQ) | |
(global-set-key [f2] 'comment-region) | |
(global-set-key [(shift f2)] 'universal-argument) ;uncomment is Shift-F2 F2 |
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
module MyAppUtf8 | |
class SetNamesUtf8 | |
def self.filter(controller) | |
suppress(ActiveRecord::StatementInvalid) do | |
ActiveRecord::Base.connection.execute 'SET NAMES UTF8' | |
end | |
true | |
end | |
end | |
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
class ConvertDbToUtf8 < ActiveRecord::Migration | |
def self.up | |
db_config = ActiveRecord::Base.connection.instance_values["config"] | |
db_name = db_config[:database] | |
db_user = db_config[:username] | |
db_pass = db_config[:password] || '' | |
latin1_dump = 'latin1_dump.sql' | |
utf8_dump = 'utf8_dump.sql' |
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
Thu Oct 15 02:14:21 PDT 2009 |
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
Welcome to the Puffin Testing Framework. This extensible (and open source!) | |
functional/regression testing system allows you to test any web application | |
as though it were a black box. | |
Written completely in Python, you have but to configure it to your web | |
application, write your test plans and go, go, go. | |
NOTE: When you download Puffin, it comes pre-configured to go against the | |
demo application. To use it for your own web applications, you need to | |
customize it completely to your application before you can use it to test |
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
Welcome to the Puffin Testing Framework. This extensible (and open source!) | |
functional/regression testing system allows you to test any web application | |
as though it were a black box. | |
Written completely in Python, you have but to configure it to your web | |
application, write your test plans and go, go, go. | |
NOTE: When you download Puffin, it comes pre-configured to go against the | |
demo application. To use it for your own web applications, you need to | |
customize it completely to your application before you can use it to test |
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
Welcome to the Puffin Testing Framework. This extensible (and open source!) | |
functional/regression testing system allows you to test any web application | |
as though it were a black box. | |
Written completely in Python, you have but to configure it to your web | |
application, write your test plans and go, go, go. | |
NOTE: When you download Puffin, it comes pre-configured to go against the | |
demo application. To use it for your own web applications, you need to | |
customize it completely to your application before you can use it to test |
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
Welcome to the Puffin Testing Framework. This extensible (and open source!) | |
functional/regression testing system allows you to test any web application | |
as though it were a black box. | |
Written completely in Python, you have but to configure it to your web | |
application, write your test plans and go, go, go. | |
NOTE: When you download Puffin, it comes pre-configured to go against the | |
demo application. To use it for your own web applications, you need to | |
customize it completely to your application before you can use it to test |
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
Welcome to the Puffin Testing Framework. This extensible (and open source!) | |
functional/regression testing system allows you to test any web application | |
as though it were a black box. | |
Written completely in Python, you have but to configure it to your web | |
application, write your test plans and go, go, go. | |
NOTE: When you download Puffin, it comes pre-configured to go against the | |
demo application. To use it for your own web applications, you need to | |
customize it completely to your application before you can use it to test |
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
Welcome to the Puffin Testing Framework. This extensible (and open source!) | |
functional/regression testing system allows you to test any web application | |
as though it were a black box. | |
Written completely in Python, you have but to configure it to your web | |
application, write your test plans and go, go, go. | |
NOTE: When you download Puffin, it comes pre-configured to go against the | |
demo application. To use it for your own web applications, you need to | |
customize it completely to your application before you can use it to test |
OlderNewer