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
| 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
| const path = require('path'); | |
| const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
| module.exports = (env) => { | |
| const plugins = [ | |
| new ExtractTextPlugin("css/[name].[hash].css") | |
| ] |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Platzi Video</title> | |
| </head> | |
| <body> | |
| <div id="app"></div> | |
| <script src="http://localhost:9000/js/santo.js"></script> | |
| </body> |
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 operations | |
| func Suma( a, b int) int { | |
| return a + b | |
| } | |
| func Resta( a, b int) int { | |
| return a - b | |
| } |
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 | |
| https://github.com/olivere/elastic/wiki/BulkIndex | |
| */ | |
| package main | |
| import ( | |
| "fmt" | |
| elastic "gopkg.in/olivere/elastic.v5" | |
| "encoding/csv" |
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 ( | |
| "encoding/csv" | |
| "fmt" | |
| "os" |
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 ( | |
| "encoding/csv" | |
| "fmt" | |
| "os" |
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
| /* | |
| How to create multiline strings in Golang | |
| twitter@hector_gool | |
| https://play.golang.org/p/iR5Tt-iwSR | |
| */ | |
| package main | |
| 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
| /* | |
| twitter@hector_gool | |
| */ | |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/exec" |
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" | |
| "os" | |
| "os/exec" |