This file contains hidden or 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 | |
| #Script para hacer respaldos de bases de datos | |
| #Por el Rafa el 24-05-07 | |
| server=localhost | |
| user=postgres | |
| backup=/repo/mako/db | |
| backup2=/repo/mako/www | |
| backup3=/repo/mako/apache | |
| origen1=/var/www |
This file contains hidden or 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
| /* | |
| Héctor G.O. | |
| twitter@hector_gool | |
| */ | |
| package main | |
| import "fmt" | |
| func main() { |
This file contains hidden or 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
| /* | |
| Héctor G.O. | |
| twitter@hector_gool | |
| */ | |
| package main | |
| import "fmt" | |
| func main() { |
This file contains hidden or 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
| /* | |
| Héctor G.O. | |
| twitter@hector_gool | |
| */ | |
| package main | |
| import "fmt" | |
| var mensaje string = "hola" |
This file contains hidden or 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
| /* | |
| Héctor G.O. | |
| twitter@hector_gool | |
| */ | |
| package main | |
| //sintaxis corta para importar paquetes | |
| import "fmt" |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func main() { | |
| fmt.Println("") | |
| } |
This file contains hidden or 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
| package main | |
| import ( | |
| "context" | |
| "encoding/json" | |
| "errors" | |
| "log" | |
| "net/http" | |
| "strings" | |
| "github.com/bmizerany/pat" |
This file contains hidden or 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
| /* | |
| twitter@hector_gool | |
| */ | |
| package main | |
| import "fmt" | |
| func main() { |
This file contains hidden or 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
| /* | |
| twitter@hector_gool | |
| */ | |
| package main | |
| import "fmt" | |
| func main() { |
This file contains hidden or 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
| /* | |
| twitter@hector_gool | |
| Yoy can download MX.txt file from the next site: | |
| http://download.geonames.org/export/zip/MX.zip | |
| */ | |
| package main | |
| import ( |