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
_form.html.erb | |
<% form_for @estimate, :url => estimates_path do |f| %> | |
<div id="estimate_items"> | |
<%= render :partial => "job_part", :collection => @estimate.job_parts %> | |
</div> | |
<%= add_job_part "Add Calendar" %> | |
<p><%= f.submit "ADD CALENDAR TO ESTIMATE" %></p> | |
<% 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
Shell: /bin/zsh | |
Principal: (not logged in) | |
Host: localhost | |
Domain: (none) | |
Server name: acserver1.tukaiz.com | |
Port: 5050 | |
DB Encoding: Unicode | |
ACCUREV_BIN: /Users/mirai/Applications/AccuRev/bin | |
Client time: 2012/05/17 10:00:06 CDT (1337266806) | |
Server time: 2012/05/17 10:00:06 CDT (1337266806) |
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
BEGIN | |
DECLARE cursorEnd INT DEFAULT FALSE; | |
DECLARE clientID INT(11); | |
DECLARE clientStateAgentCode, tempStateAgentCode VARCHAR(255); | |
DECLARE clientClientID, tempClientID VARCHAR(255); | |
DECLARE clientNamePrefix, tempNamePrefix VARCHAR(255); | |
DECLARE clientFirstName, tempFirstName VARCHAR(255); | |
DECLARE clientMiddleName, tempMiddleName VARCHAR(255); | |
DECLARE clientLastName, tempLastName VARCHAR(255); |
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
wq = WorkQueue.new(5) | |
i = 1 | |
Dir.new(DIRECTORY).each do |file| | |
i2 = i | |
unless file.start_with?('.') | |
wq.enqueue_b do | |
move file to another directory | |
ImportFile.new(file, i2).run | |
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
module Namespace | |
class Address < ActiveRecord::Base | |
end | |
end | |
=== | |
module Namespace | |
class MailingAddress < Address | |
set_type_field "Namespace::MailingAddress" # This is made up but is there something that accomplishes similar |
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
PROMPT='%{$fg_bold[red]%}➜ %{$fg[cyan]%}%c $(git_prompt_info) % %{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[blue]%}]" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}" |