Skip to content

Instantly share code, notes, and snippets.

cleytonmessias

Block or report user

Report or block cleytonmessias

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cleytonmessias
cleytonmessias / 0_reuse_code.js
Created Mar 27, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@cleytonmessias
cleytonmessias / extract.bash
Created May 26, 2016
Extract all tar.gz files
View extract.bash
for file in *.tar.gz; do tar -zxf $file; done
#Reference: http://unix.stackexchange.com/questions/19840/extract-multiple-tar-gz-files-with-a-single-tar-call
@cleytonmessias
cleytonmessias / extract.bash
Created May 26, 2016
Extract all tar.gz files
View extract.bash
for file in *.tar.gz; do tar -zxf $file; done
@cleytonmessias
cleytonmessias / trustvox.html
Created Oct 15, 2015
Trifil - Homologação
View trustvox.html
<div id="_trustvox_widget"></div>
View trustvox.html
<div id="_trustvox_widget"></div>
View trustvox.html
<div class="article-rates clearfix">
<!-- <div class="rating">
<strong>Avaliação do produto:</strong>
<vtex.cmc:evaluationRate/>
</div> -->
<a href="#trustvox-reviews" class="btn-rating trustvox-fluid-jump">Pergunte e veja opiniões de quem já comprou</a>
</div><!-- /.article-rates -->
View log.json
method=POST path=/api/stores/796/orders format=json controller=api/v1/sales action=create status=500 error='NoMethodError:undefined method `merge' for ["id", "1304"]:Array' duration=5.61 user_agent='' fwd= user_id= params={"order_id"=>"101926", "delivery_date"=>"2015-08-31BRT13:03:24+00:00", "client"=>{"first_name"=>"Murilo", "last_name"=>nil, "email"=>"murilo@pxw.com.br"}, "items"=>{"name"=>"Sapato Masculino Kane", "id"=>"1304", "url"=>"https://www.sandromoscoloni.com.br/produtos/casual/lebron-colection/sapato-masculino-kane-latego-tan-40032-kane/", "price"=>"239.90"}, "format"=>:json, "store_id"=>"796", "sale"=>{"order_id"=>"101926", "delivery_date"=>"2015-08-31BRT13:03:24+00:00"}}
View trustvox.html
<div id="_trustvox_widget"></div>
You can’t perform that action at this time.