ix | chr | ix | chr | ix | chr | ix | chr |
---|---|---|---|---|---|---|---|
00 | A | 16 | Q | 32 | g | 48 | w |
01 | B | 17 | R | 33 | h | 49 | x |
02 | C | 18 | S | 34 | i | 50 | y |
03 | D | 19 | T | 35 | j | 51 | z |
04 | E | 20 | U | 36 | k | 52 | 0 |
05 | F | 21 | V | 37 | l | 53 | 1 |
06 | G | 22 | W | 38 | m | 54 | 2 |
07 | H | 23 | X | 39 | n | 55 | 3 |
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" | |
/** | |
* Maps in Go | |
* ========== | |
* Author: @umarquez | |
* | |
* A map is a built-in type that implements a hash table (key/values pairs) |
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 ( | |
"encoding/json" | |
"log" | |
"net/http" | |
"time" | |
) | |
/* |
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 ( | |
"bytes" | |
"errors" | |
"fmt" | |
"github.com/muesli/smartcrop" | |
"github.com/muesli/smartcrop/nfnt" | |
"golang.org/x/image/draw" | |
"image" |
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 ( | |
"flag" | |
"fmt" | |
"golang.org/x/net/html" | |
"log" | |
"net/http" | |
"net/url" | |
) |
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 ( | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"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
package main | |
import ( | |
"fmt" | |
) | |
// SelectionSort Ordena un []int utilizando ordemaniento por inserción | |
func SelectionSort(input []int) { | |
fmt.Print("\n===========================================\n") | |
fmt.Printf("ENTRADA: %v\n", input) |
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 ( | |
"errors" | |
"fmt" | |
"strings" | |
) | |
const table = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
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" | |
) | |
// InsertionSort Ordena un []int utilizando ordemaniento por inserción | |
func InsertionSort(input []int) { | |
fmt.Print("\n===========================================\n") | |
fmt.Printf("ENTRADA: %v\n", input) |
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
REM Windows run script for cross_build.sh | |
REM https://gist.github.com/umarquez/3cc00f5042165fdd844c5542b91ff598 | |
@echo off | |
cls | |
REM Remember to change paths & filenames | |
@echo "Executing cross compilation on linux subsystem" | |
wsl sudo "/mnt/c/go/src/test_project/build.sh" JS WASM /mnt/c/go/src/test_project/app.wasm /mnt/c/go/src/test_project |
NewerOlder