I hereby claim:
- I am awebneck on github.
- I am awebneck (https://keybase.io/awebneck) on keybase.
- I have a public key ASBXkU_U_aIwq8hZlxq1RJEX4zpBxNTYQ2PSa8X5f9wBIwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class @UserController extends Spine.Controller | |
constructor: -> | |
super | |
User.bind 'ajaxError', @handleSaveError | |
@render() | |
events: | |
'submit form': 'acquire' | |
render: (email, errors)-> | |
@html @template | |
errors: errors |
no_es_subdomains = ['devotional'] | |
no_es_subdomains.each do |subdomain| | |
match "/es" => redirect(""), :constraints => { :subdomain => subdomain } | |
match "/es/*path" => redirect("/%{path}"), :constraints => lambda{ |req| req.host =~ /^#{subdomain}\./ && !(req.env["REQUEST_URI"] =~ /^\/es/) } | |
end |
The goal is for any url elaposentoalto.upperroom.org/abc to be redirected to elaposentoalto.upperroom.org/es/abc | |
The following correctly redirects elaposentoalto.upperroom.org to elaposentoalto.upperroom.org/es, and it correctly leaves elaposentoalto.upperroom.org/es alone. | |
However, it incorrectly redirects elaposentoalto.upperroom.org/es/devotional to elaposentoalto.upperroom.org/es/es/devotional. | |
with_es_subdomains = ['elaposentoalto'] | |
with_es_subdomains.each do |subdomain| | |
match "" => redirect("/es"), :constraints => { :subdomain => subdomain } | |
match "/*rest" => redirect("/es/%{rest}"), :constraints => lambda{ |req| req.host =~ /^#{subdomain}\./ && !(req.env["REQUEST_URI"] =~ /^es/) } "rentals" |
2011-03-31 15:44:14 -- JOB RECEIVED: Array | |
2011-03-31 15:44:15 -- IMPORTING RELEASE: 1 OF 1 | |
2011-03-31 15:44:16 -- SAVING IMAGE: /tmp/noArtwork.png | |
2011-03-31 15:44:16 -- RELEASE PREPPED - GETTING TRACKS | |
2011-03-31 15:44:16 -- IMPORTING TRACK: 1 OF 10 | |
2011-03-31 15:44:25 -- FLUSHING... | |
2011-03-31 15:44:26 -- TRACK IMPORT COMPLETE: 1 OF 10 | |
2011-03-31 15:44:26 -- IMPORTING TRACK: 2 OF 10 | |
2011-03-31 15:44:36 -- FLUSHING... | |
2011-03-31 15:44:37 -- TRACK IMPORT COMPLETE: 2 OF 10 |
package com.moontoast.cremefraiche.model.vo { | |
public class DealVO { | |
public var startDate:uint; //Timestamp in milliseconds | |
public var endDate:uint; //Timestamp in milliseconds | |
public var tipLimited:Boolean; | |
public var discounted:Boolean; | |
public var tippingPoint:uint; | |
public var tipped:Boolean; | |
public var currentPurchases:uint; | |
public var discountedPrice:Number; |
\Zend_Registry::get('gearman')->getStatus($handle); |
$handle = \Zend_Registry::get('ed')->dispatch(new \Moontoast\Job\JobEvent('SocialiteOrchardImport',array('brandId' => $brand->getId(), 'token' => serialize($token)), $this)); |
<script type="text/javascript" charset="utf-8"> | |
function handleEmbeddedFlow() { | |
try { | |
if (parent.myEmbeddedPaymentFlow) { | |
parent.myEmbeddedPaymentFlow.paymentSuccess(); | |
} else if (top && top.opener && top.opener.top) { | |
top.opener.top.myEmbeddedPaymentFlow.paymentSuccess(); | |
window.close(); | |
} else if (top.myEmbeddedPaymentFlow) { |
" Normal-mode bindings for easy camelCase editing: | |
" cm begins at the current position and deletes until | |
" the end of the word or the next capital letter | |
" (exclusive), then places you into insert mode in the | |
" deleted space | |
nmap <silent> cm :let save_search=@/<CR>v/[A-Z]\\|\([A-Za-z0-9]\)\@<lt>=\(\W\\|_\)<CR>hx:let @/=save_search<CR>i | |
" cu begins at the beginning of the current word or | |
" previous capital letterand deletes until the end of |