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
proc stockgetchr html { | |
if {[llength [regexp -all -inline {<link rel="stylesheet".*mutualfund_styles.css">} $html]] > 0} { | |
set chrt [regexp -all -line -inline {<span class.?=.?"ch[rg]">\n(.*?)\n(.*?)\n} $html] | |
lset chrt 1 [regsub -all { } [lindex $chrt 1] ""] | |
lappend chr [lindex $chrt 1] [lindex $chrt 2] | |
} else { | |
set chrt [regexp -all -inline {<span class="ch[rg]".*?>(.*?)<} $html] | |
lappend chr [lindex $chrt 1] [lindex $chrt 3] | |
} | |
return $chr |
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
# Bootstrap the Rails environment, frameworks, and default configuration | |
require File.join(File.dirname(__FILE__), 'boot') | |
require 'git_conf' | |
Rails::Initializer.run(:process, GitConf.new) do |config| | |
# ... | |
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
$(BUILD)/alice-%.css: $(CSS_SOURCE)/color/%.scss | |
cat $< $(ALICE_SCSS) | sass --scss -s $@ | |
COLORFILES := $(foreach dir,$(CSS_SOURCE)/color,$(wildcard $(dir)/*.scss)) | |
CSSFILES := $(addprefix $(BUILD)/alice-,$(notdir $(COLORFILES:.scss=.css))) | |
stylesheets: $(CSSFILES) |