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
var fancyApiKey; | |
casper.test.begin('curl_post_client', function suite ( test ) { | |
'use strict'; | |
var url = "http://projecta:mate20mg@api-testing.e-sprinter.com.br/api/v1/client/"; | |
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
<article class="content--seo--article active"> | |
<h1 class="content--seo--headline js-toggle">Natue: suplementos, cosméticos, nutricosméticos, vitaminas e alimentos naturais para uma vida em equilíbrio</h1> | |
<p class="content--seo--paragraph">Aqui você encontra produtos com ingredientes naturais, <a href="http://www.natue.com.br/cosmeticos/">cosméticos naturais</a>, alimentos e suplementos que auxiliam na conquista de uma vida mais saudável, onde equilibramos o nosso lado pessoal e profissional.</p> | |
<p class="content--seo--paragraph">Suplementos e produtos para todos os objetivos. No nosso diversificado e selecionado portfólio você encontra produtos naturais (das principais <a href="http://www.natue.com.br/todas-as-marcas/">marcas</a>, como <em><a href="http://www.natue.com.br/universal/">Universal</a>, Optimum, Nutrilatina, <a href="http://www.natue.com.br/sanavita/">Sanavita</a>, Sundown</em>, etc.) e complementos |
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 ( $( '[data-orbit]' ).length ) { | |
$document.foundation( { | |
orbit : { | |
bullets : 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
var commentBox = document.querySelector( '[name="comment[body]"]' ); | |
commentBox.value = '## QA Description\n\n' + | |
'## Legend: \n' + | |
' - :white_check_mark: QA Passed\n' + | |
' - :red_circle: QA fail\n' + | |
' - :question: QA needs more info\n' + | |
' - :green_heart: Dev fixed it after QA fail \n\n' + | |
'## Checklist: \n\n' + | |
' - Feature A\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
START TRANSACTION; | |
(SQL BLA BLA) | |
COMMIT; |
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
stefan @ stefan-mac: ~/Sites/grunt-phantomas master (╯°□°)╯ | |
> DEBUG=* node test.js [21:22:13] | |
1.13.0 | |
phantomas nodejs v4.1.1 +0ms | |
phantomas phantomas v1.13.0 installed in /Users/stefan/Sites/grunt-phantomas/node_modules/phantomas +2ms | |
phantomas URL: <http://www.carfax.es/lp-coches-de-segunda-mano.html> +1ms | |
phantomas Options: {"timeout":30,"film-strip":true,"film-strip-dir":"phantomas/images/1445626863104"} +0ms | |
phantomas Temporary directory: /var/folders/03/cgg2bwfd6j92tfllylt5b91m0000gn/T/phantomas/fa78c9be-1ece-4c02-8cae-c564b1cb782b/ +2ms | |
phantomas:engines Engine "webkit": PhantomJS v1.9.8 installed in /Users/stefan/Sites/grunt-phantomas/node_modules/phantomjs/lib/phantom/bin/phantomjs +2ms | |
phantomas:engines Engine "webkit2": PhantomJS v2.0.0 installed in /Users/stefan/Sites/grunt-phantomas/node_modules/phantomjs2/lib/phantom/bin/phantomjs +4ms |
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
{ | |
"payload": { | |
"id":7840145, | |
"repository":{ | |
"id":510697, | |
"name":"cushion-cli", | |
"owner_name":"stefanjudis", | |
"url":"https://github.com/stefanjudis/cushion-cli" | |
}, | |
"number":"129", |
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
# get table schema | |
\d+ travalizit_builds | |
# list tables in database | |
\dt | |
# example insert query for /builds POST | |
INSERT INTO travalizit_builds VALUES('7840176','510697','129','1','2013-06-06T13:09:41Z','2013-06-06T13:11:05Z','-1','NULL','node_js','2013-06-06T13:11:05Z','174','-1','NULL','-1','-1','NULL') | |
# execute local script on heroku db |
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
# Remove old local branches and sync with remote | |
git remote prune origin |
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
notifications: | |
webhooks: http://limitless-badlands-1553.herokuapp.com/builds |
OlderNewer