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
#!/bin/bash | |
cd ~/blogs/luizfaias.com | |
#buster setup --gh-repo=https://github.com/luizfaias/luizfaias.github.io.git | |
buster generate --domain=http://127.0.0.1:2368 | |
#removendo o termo 'index.html' dos links | |
find static -type f -name '*.html' -exec sed -i '' 's/index\.html//g' {} + | |
#traduzindo os meses |
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
require 'zendesk_api' | |
require 'net/http' | |
client = ZendeskAPI::Client.new do |config| | |
config.url = "https://{{subdomain}}.zendesk.com/api/v2" | |
config.username = "email_here" | |
config.token = "token_here" | |
config.retry = true | |
end |
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> | |
$(document).ready(function() { | |
$('#request_issue_type_select option[value="31391"]').closest('div').hide(); | |
}); | |
</script> |
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
<!-- | |
1. Crie um novo código HTML (https://app.lojaintegrada.com.br/painel/configuracao/html/criar) | |
2. Descrição: Depoimentos | |
3. Local de publicação: Rodapé | |
4. Página: home | |
5. Tipo: HTML | |
6. Conteúdo: cole todo o código abaixo | |
7. Divirta-se | |
--> |
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
<!-- | |
1. Crie um novo código HTML (https://app.lojaintegrada.com.br/painel/configuracao/html/criar) | |
2. Descrição: Forçar SSL | |
3. Local de publicação: Rodapé | |
4. Página: Todas as páginas | |
5. Tipo: Javascript | |
6. Conteúdo: cole todo o código abaixo | |
7. Divirta-se | |
--> | |
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
<div id="instagram-feed" class="hide listagem"> | |
<div class="titulo-categoria borda-principal cor-principal"> | |
<strong>Siga-nos no Instagram <a href="https://instagram.com/meluorganicos">@meluorganicos</a></strong> | |
</div> | |
<!-- SnapWidget --> | |
<script src="https://snapwidget.com/js/snapwidget.js"></script> | |
<iframe src="https://snapwidget.com/embed/348522" class="snapwidget-widget" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:100%; margin-top: 10px;"></iframe> | |
</div> | |
<script type="text/javascript"> | |
$(document).ready(function() { |
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> | |
<!-- Opens the chat widget automatically | |
Example: https://SUBDOMAIN.zendesk.com/hc?start_chat=true&customer_name=John&customer_email=john@example.com | |
--> | |
jQuery.extend({ | |
getQueryParameters : function(str) { | |
return (str || document.location.search).replace(/(^\?)/,'').split("&").map(function(n){return n = n.split("="),this[n[0]] = n[1],this}.bind({}))[0]; | |
} | |
}); | |
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
<!-- | |
1. Crie um novo código HTML (https://app.lojaintegrada.com.br/painel/configuracao/html/criar) | |
2. Descrição: Depoimentos | |
3. Local de publicação: Rodapé | |
4. Página: home | |
5. Tipo: HTML | |
6. Conteúdo: cole todo o código abaixo | |
7. Divirta-se | |
--> | |
<div id="depoimentos"> |
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 id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=YOUR_WEB_WIDGET_KEY_GOES_HERE"> </script> | |
<script type="text/javascript"> | |
var department_name = 'Sales'; | |
zE('webWidget:on', 'chat:connected', function() { | |
zE('webWidget', 'updateSettings', { | |
webWidget: { | |
chat: { | |
departments: { | |
enabled: [department_name], |
OlderNewer