Skip to content

Instantly share code, notes, and snippets.

View iwaltgen's full-sized avatar

iwaltgen

View GitHub Profile
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
max_line_length = 120
insert_final_newline = true
@iwaltgen
iwaltgen / main.go
Created August 4, 2020 06:25
a example of how to get global unicast ip, mac address in Golang.
package main
import (
"fmt"
"log"
"net"
)
func getAddr() ([]string, []string, error) {
ifas, err := net.Interfaces()
@iwaltgen
iwaltgen / I'm an early 🐤
Last active October 29, 2020 06:11
I'm an early 🐤
🌞 Morning 127 commits ██▏░░░░░░░░░░░░░░░ 12.2%
🌆 Daytime 650 commits ███████████▎░░░░░░ 62.6%
🌃 Evening 219 commits ███▊░░░░░░░░░░░░░░ 21.1%
🌙 Night 43 commits ▋░░░░░░░░░░░░░░░░░ 4.1%

Keybase proof

I hereby claim:

  • I am iwaltgen on github.
  • I am iwaltgen (https://keybase.io/iwaltgen) on keybase.
  • I have a public key whose fingerprint is 695D 9446 95D2 DCEA C456 4479 BD43 BAEE FF6F 625A

To claim this, I am signing this object: