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)
Some stuff from their API.
Backing current branch to earlier commit.
git reset --hard [commit ID]
git push origin [branch name] -f
Original from http://stackoverflow.com/a/27438379/4495348