This file contains hidden or 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
(defun sass-convert-region (beg end) | |
"Convierte la región seleccionada a código sass" | |
(interactive "r") | |
(let ((comando "/usr/local/bin/css2sass -s")) | |
(shell-command-on-region beg end comando (buffer-name) t))) | |
(defun sass-convert-buffer () | |
"Convierte el buffer seleccionado a código sass" | |
(interactive) | |
(let ((nuevoarchivo |
This file contains hidden or 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
- sidebox do | |
= render @calendar | |
- sidebox(t(:'events.new_title')) do | |
- @event = @calendar.events.build | |
= render 'events/form' | |
- actions_box do | |
%li= link_to t(:'calendars.edit_title'), edit_calendar_path(@calendar) | |
%li= link_to t(:'events.index_title'), calendar_events_path(@calendar) |
This file contains hidden or 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
- calendar(:events => @calendar.events, :field => :dtstart) do |date, events| | |
- if events | |
%ul.events | |
- events.each do |event| | |
%li.event | |
= render event | |
- sidebox do | |
= render @calendar |
This file contains hidden or 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
jorge@chamonix:~/dev/qvitta/myBio/spree (0_8_99)$ rake spree:gem | |
(in /home/jorge/dev/qvitta/myBio/spree) | |
/home/jorge/dev/qvitta/myBio/spree/app/metal/create_admin_user.rb:7: warning: already initialized constant CONTINUE_CHAIN | |
........*....*...................****..*....***....***.***..*....***.........*............................................................................. | |
Pending: | |
StatesController should not allow deletion of a state from a default rails route (Not Yet Implemented) | |
./spec/controllers/states_controller_spec.rb:10 |
This file contains hidden or 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
jorge@chamonix:~/dev/qvitta/myBio/spree (0_8_99)$ rake spree:gem | |
(in /home/jorge/dev/qvitta/myBio/spree) | |
/home/jorge/dev/qvitta/myBio/spree/app/metal/create_admin_user.rb:7: warning: already initialized constant CONTINUE_CHAIN | |
........*....*...................****..*....***....***.***..*....***.........*............................................................................. | |
Pending: | |
StatesController should not allow deletion of a state from a default rails route (Not Yet Implemented) | |
./spec/controllers/states_controller_spec.rb:10 |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'cgi' | |
require 'uri' | |
require 'logger' | |
class UrlParser | |
attr_reader :url, :file, :line, :column | |
def initialize(url) | |
@url = CGI::unescape(url.gsub(/(emacs|txmt):\/\/open\?url=/, '')) |
This file contains hidden or 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
#!/usr/bin/env ruby | |
# To install: | |
# about:config | |
# create a new boolean network.protocol-handler.external.txmt with value true | |
# create a new string network.protocol-handler.app.txmt with value path to the script | |
require 'rubygems' | |
require 'cgi' | |
require 'uri' |
This file contains hidden or 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
namespace :spree do | |
desc "Export Products to CSV File" | |
task :export_products => :environment do | |
require 'fastercsv' | |
products = Product.find(:all) | |
puts "Exporting to #{RAILS_ROOT}/products.csv" | |
FasterCSV.open("#{RAILS_ROOT}/products.csv", "w") do |csv| | |
csv << ["id", "name", "description","sku", "master_price" ] |
This file contains hidden or 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
So... | |
$ rake test:functionals | |
It show the tests fails | |
I pick a commit that is not failing: f0c49b5213b974b97dcb7a1d089264708329ebcd | |
and... |