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
Acesse nossos canais: | |
- Facebook da escola : https://www.facebook.com/groups/spschoolofai/ | |
- Meetup da School of AI: https://www.meetup.com/school-of-ai-brasil/ | |
- Github com o conteúdo das aulas: https://github.com/SchoolOfAISaoPaulo/aulas | |
Apoie a iniciativa com doações por aqui: https://apoia.se/schoolofaisaopaulo |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
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 |
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
for file in *.tar.gz; do tar -zxf $file; done |
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
module Sanitizer | |
extend ActiveSupport::Concern | |
module ClassMethods | |
def sanitize(*args, opts) | |
target = opts[:on] | |
condition = opts[:if] || true | |
args.each do |column| |
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
module Sanitizer | |
extend ActiveSupport::Concern | |
module ClassMethods | |
def sanitize(*args, target) | |
args.each do |column| | |
delegate column, "#{column}=", to: target | |
class_eval <<-RUBY | |
def #{column}=(value) |
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
<script type="text/javascript"> | |
$(document).ready(function() { | |
window._trustvox = []; | |
_trustvox.push(['_storeId', '27']); | |
_trustvox.push(['_productId', $('.produto .acoes-produto[data-produto-id]').last().data('produto-id')]); | |
_trustvox.push(['_productName',$('h1.nome-produto').text()]); | |
_trustvox.push(['_productPhotos', ['http:'+$(".elastislide").find("[href]").data('imagem-grande')] ]); |
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
_trustvox.push(['_productId', $('.produto .acoes-produto[data-produto-id]').last().data('produto-id')]); | |
_trustvox.push(['_productName',$('h1.nome-produto').text()]); | |
_trustvox.push(['_productPhotos', ['http:'+$(".elastislide").find("[href]").data('imagem-grande')] ]); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title></title> | |
<link rel="stylesheet" href=""> | |
</head> | |
<body> | |
<strong>Cinto Masculino Social Liso 4 Cm 100% Couro Legítimo</strong> |
NewerOlder