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
lucas@kid-c:~/proyects/ccMainline/public/widget/nyc$ git status | |
# On branch r180 | |
# Your branch is ahead of 'origin/release/r180' by 1 commit. | |
# | |
nothing to commit (working directory clean) | |
lucas@kid-c:~/proyects/ccMainline/public/widget/nyc$ git push | |
Everything up-to-date |
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
{ | |
// Settings | |
"passfail" : false, // Stop on first error. | |
"maxerr" : 100, // Maximum errors before stopping. | |
// Predefined globals whom JSHint will ignore. | |
"browser" : true, // Standard browser globals e.g. `window`, `document`. | |
"node" : false, |
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
{"request_error":"compile error\n(erb):1: syntax error, unexpected $undefined\n...at \"\\\\r\\\\n\"; _erbout.concat((\\\"Customer Number: \\#{@optout.c...\n ^\n(erb):1: syntax error, unexpected $undefined, expecting ')'\n...}\\\" ).to_s); _erbout.concat \"\\\\r\\\\n\"; _erbout.concat((\\\"Sour...\n ^\n(erb):1: syntax error, unexpected $undefined, expecting ')'\n...}\\\" ).to_s); _erbout.concat \"\\\\r\\\\n\"; _erbout.concat((@mailb...\n ^\n(erb):1: syntax error, unexpected $undefined, expecting ')'\n...ss1 ).to_s); _erbout.concat \"\\\\r\\\\n\"; unless @mailbox.addre...\n ^\n(erb):1: syntax error, unexpected $undefined, expecting ')'\n...n\\\" ).to_s); _erbout.concat \"\\\\r\\\\n\"; end ; _erbout.concat ...\n ^\n(erb):1: syntax error, unexpected $undefined, expecting ')'\n...\\\\n\"; end ; _erbout.concat \"\\\\r\\\\n\"; _erbout.concat((@mailb...\n ^\n(erb):1: syntax error, unexpected $undefined\n...ty ).to_s); _erbout.concat \",\\\\r\\\\n\"; _erbout.concat((@mailb...\n ^\n(erb):1: syntax error, unexpected $un |
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
# base class for cached templates from the database | |
# each template has to be uniquely identified by its _name_ and _language_ | |
module CachedTemplate | |
# get a template _name_ in _language_ | |
# if the template can not be found in the right language, | |
# use english and any language as fallback | |
def self.find_by_language_and_name(klass,_language, _name) | |
[_language, "en", nil ].each do |lang| | |
conditions = {:name => _name} | |
conditions[:language] = lang if lang |
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
Dear <%=@merchant.name%>,><%="\r\n"%> | |
I am writing to have you remove the following name and address from the <%=@catalog.title%><%="\r\n"%> | |
postal mailing list and cease to rent or trade the contact information with any other organization.<%="\r\n"%><%="\r\n"%> | |
<%=@individual.display_name %><%="\r\n"%> | |
<%= @mailbox.company_name %><%="\r\n"%> | |
<%=\"Customer Number: \#{@optout.customer_number}\" %><%="\r\n"%> | |
<%=\"Source Code: \#{@optout.customer_source_code}\" %><%="\r\n"%> | |
<%=@mailbox.address1 %><%="\r\n"%> |
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
Request URL:http://sandbox.catalogchoice.org/v1/catalog_choices/ | |
Request Method:POST | |
Status Code:201 Created | |
Request Headersview source | |
Accept:application/json, text/javascript, */*; q=0.01 | |
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 | |
Accept-Encoding:gzip,deflate,sdch | |
Accept-Language:en-US,en;q=0.8 | |
Authorization:OAuth e0bmng74d6zevlyq4gngpf11n | |
Connection:keep-alive |
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
Catalog.Model = Backbone.Model.extend({ | |
url: function () { | |
return '/v1/catalogs/' + this.get('catalog_id'); | |
}, | |
parse: function (response) {return response.catalog}, | |
isPhoneBook: function () { | |
return _.any(this.get('tags'), function (tag) { | |
return tag.name === "Phone Book"; |
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
Vamos a trabajar para que finalice el traspaso de la Policía Federal a laCiudad, con sus recursos, como dice el artículo 75 de la ConstituciónNacional, para que el Jefe de Gobierno pueda dar mayor seguridad.Vamos a trabajar para que la Ciudad recupere el control del transportepúblico y lo pueda planificar con inteligencia, tanto en el transporte interno,de subterráneos y colectivos, como en el externo, de redes ferroviarias ycolectivos metropolitanos, que proponemos sea administrado, regulado ycontrolado por medio de políticas diseñadas en forma conjunta yconsensuada entre la ciudad, la provincia de Buenos Aires y la Nación, a finde lograr la optimización de recursos y evitar el dispendio económico y ladesorganización que genera la superposición de potestades entre estas jurisdicciones. |
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
(addon-sdk-1.7)lucas@(none):~/proyects/addon-sdk-1.7$ cat bin/activate | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
# This file must be used with "source bin/activate" *from bash* | |
# you cannot run it directly | |
deactivate () { | |
if [ -n "$_OLD_VIRTUAL_PATH" ] ; then |
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
if (store.get('access_token')) { | |
params.beforeSend = function(xhr) { | |
xhr.setRequestHeader('Authorization', 'OAuth ' + store.get('access_token')); | |
}; | |
} else { | |
params.beforeSend = function(xhr) { | |
xhr.setRequestHeader('Authorization', 'ClientID ' + store.get('ClientID')); | |
}; | |
} |