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
| 0426efaf9b2b37b56e22d529d9c2b897ff8450f2aa36f808c2f378d2252c5af9fabfc935713c624820e50a6f6fefa5b730f5dddde61c27b78d51182b9cb66b1194;yumao5 |
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
| include .env | |
| PROJECTNAME=$(shell basename "$(PWD)") | |
| # Go related variables. | |
| GOBASE=$(shell pwd) | |
| GOPATH=$(GOBASE)/vendor:$(GOBASE) | |
| GOBIN=$(GOBASE)/bin | |
| GOFILES=$(wildcard *.go) |
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 | |
| // using asymmetric crypto/RSA keys | |
| import ( | |
| "crypto/rsa" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" |
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
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDW8gOCw2WSGDLEEN6Knytz9lKwiy48SBKFSiORSiNGBh3H996T+XUe7E9ytgtT587IItGkYpfnmpqa4EkVYPEL5JdOHrd9aDtUnKm5Jmb1Z18ffl2a/yzVFoiGT1vO96kFjg5UCdxlOa4I7rlEPgo7xmrDRO7fVyALQJmc8VIFFEyX4pOFC/r++42n9tZMHX+F4hX0BvUVOzkKLzgU20iVMfLCtmJ359WAyLze3al5+Vxb/1s93J3+6+LJMMUFO6ecHTCt/MrQzSdw4e6fupcRafHbHUXuuN3ynhBysJbMUqFvC2sEi64w83H2BFqZ5hdBfwz5hALxNZw0XWRzEQgV zyinghai@gmail.com |
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
| ssh_authorized_keys: | |
| - github:hisea | |
| hostname: k3-00 | |
| k3os: | |
| dns_nameservers: | |
| - 8.8.8.8 | |
| - 1.1.1.1 | |
| ntp_servers: | |
| - 0.us.pool.ntp.org | |
| - 1.us.pool.ntp.org |
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
| # Recursion | |
| def recursion(level, param1, param2): | |
| # recursion terminator | |
| if level > MAX_LEVEL: | |
| print_result | |
| return | |
| # process logic in current level | |
| process_data(level, data) |
OlderNewer