I hereby claim:
- I am mdarby on github.
- I am darby (https://keybase.io/darby) on keybase.
- I have a public key whose fingerprint is 6939 9965 4890 FCBE 70EF EA84 C113 BD7E C0F4 1556
To claim this, I am signing this object:
%span.btn-group.add-item-expanded | |
= link_to 'View', account_select_event_item_path(item.account, item.select_event, item), method: :get, :class => "btn fooda-white" | |
= form_for :info, url: checkout_items_path do |f| | |
= f.hidden_field :parent_id, value: @menu_page.select_event.id | |
= f.hidden_field :parent_type, value: 'SelectEvent' | |
= f.hidden_field :item_id, value: item.inventory_item_id | |
= f.hidden_field :item_type, value: "InventoryItem" | |
= f.text_field :instructions | |
= f.text_field :options | |
= f.submit 'Buy Now', :class => "btn fooda-blue" |
Hey there Matt Darby, | |
Just wanted to let you know that I sent your leather out just a little bit ago. Your tracking number is listed below along with a link to the shipping company so you can track your leather piece every couple of hours. To care for your leather piece and read about the photo contest please see the Questions page on the website. I have all sorts of tips to keep your leather in top shape there too. | |
Oh, and by the way, a pretty good chunk of the amount that you sent to Saddleback went directly to loving people through one of those aid organizations on the Dave's Links page. Basically, you just contributed to drilling a well for an entire village or partially sponsored a 5 year old street kid in Rwanda to get into a loving orphanage and go to one of the best schools in the country. This is the main reason Saddleback Leather exists. Just wanted to let you know... between friends. Thanks for helping. | |
The way I see it, out of the thousands and thousands of companies in the world, on the Inte |
I hereby claim:
To claim this, I am signing this object:
[11] pry(NextAvailableNumber)> info.child_number | |
=> nil | |
[12] pry(NextAvailableNumber)> klass | |
=> "Job" | |
[13] pry(NextAvailableNumber)> info.number | |
=> 20140001 | |
[14] pry(NextAvailableNumber)> NextAvailableNumber.new(child_number: info.child_number, job_id: nil, klass_name: klass, number: info.number) | |
=> #<NextAvailableNumber id: nil, klass_name: nil, job_id: nil, child_number: nil, number: nil> |
if !params[:searchable].present? | |
params[:searchable] = {} | |
end | |
params[:searchable][:account_id] = @account.id |
Net::SSH.start(FileServerIP, "root", password: FileServerPassword, config: false) do |ssh| | |
objects.each do |o| | |
ssh.exec!("cmd.exe /c /cygwin/bin/curl.exe \"#{o.download_url}\" > \"#{dir}\\#{o.file_file_name}\"") | |
end | |
end |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript"> | |
/* | |
The "this" parameter is just relabled as "button" here for our own clarity | |
Note: You cannot use the "this" keyword as a parameter argument name. | |
*/ | |
function modifyButtonLabel(button) { |
post "updates/:id/shares/:share_id/confirm" => "updates#confirm", constraints: { id: /\D*/, share_id: /\D*/ }, as: "confirm_share" | |
ActionController::UrlGenerationError: | |
No route matches {:id=>1, :share_id=>1, :format=>:json, :controller=>"api/v1/updates", :action=>"confirm"} |
iex(20)> add_one = &(&1 + &1) | |
** (SyntaxError) iex:20: invalid token: &(&1 + &1) | |
/usr/local/Cellar/erlang-r16/R16B01/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:128: :elixir_parser.yecctoken_end_location/1 | |
/usr/local/Cellar/erlang-r16/R16B01/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:113: :elixir_parser.yeccpars1/7 | |
/usr/local/Cellar/erlang-r16/R16B01/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:56: :elixir_parser.yeccpars0/5 | |
src/elixir_translator.erl:16: :elixir_translator.forms/4 | |
/private/tmp/elixir-HbPi/elixir-0.9.2/lib/iex/lib/iex/server.ex:78: IEx.Server.eval/4 | |
/private/tmp/elixir-HbPi/elixir-0.9.2/lib/iex/lib/iex/server.ex:37: IEx.Server.do_loop/1 | |
Adam: | |
Live coding -- extracting a gem from an existing application | |
Tony: | |
Faraday - a gem that provides a common interface to different http adapters, extensible via middleware a la rack. |