$('html,body').animate({
scrollTop: $("<ELEMENT-HERE>").offset().top},
'slow');
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
{ | |
"points" : [ | |
{ | |
"title" : "Place 1", | |
"address" : "Avenida Paulista", | |
"specialties" : "Cardiologia, Gastro", | |
"phone" : "11 1234-4321", | |
"latitude": -23.534749, | |
"longitude": -46.611924 | |
}, |
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
/** | |
* @description | |
* Environment variables | |
*/ | |
(function (window) { | |
window.__env = window.__env || {}; | |
window.__env.URL_API = 'http://example.com.br:3000/institutoavonapi/v1/'; | |
window.__env.title = 'Instituto Avon'; | |
window.__env.author = 'Avon'; |
Here we'll teach you how to do some useful stuff with WordPress.
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
[ | |
{ | |
"nome": "Clube Atético Mineiro", | |
"estado": "MG", | |
"escudo": "http://www.testosterona.blog.br/wp-content/uploads/2016/02/atletico-mineiro.jpg", | |
"anofundacao": 1908 | |
}, | |
{ | |
"nome": "Clube Atlético Paranaense", | |
"estado": "PR", |
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
{ | |
"points" : [ | |
{ | |
"title" : "Place", | |
"lat" : "-23.534749", | |
"lng" : "-46.611924" | |
}, | |
{ | |
"title" : "Place", | |
"lat" : "-23.539512", |
ionic prepare ios
Como automatizar o backup do MySQL e exportar pra um arquivo.sql de X em X tempos? (pra um usuário que não manja nada de phpMyAdmin, pediu um executável que fizesse isso)
@echo off
echo Starting Backup of Mysql Database on server
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set dt=%%c-%%a-%%b)
For /f "tokens=1-4 delims=:." %%a in ('echo %time%') do (set tm=%%a%%b%%c%%d)