Skip to content

Instantly share code, notes, and snippets.

@andrestc
Created May 26, 2017 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrestc/fa765736810a73782d6e272b2de6eff9 to your computer and use it in GitHub Desktop.
Save andrestc/fa765736810a73782d6e272b2de6eff9 to your computer and use it in GitHub Desktop.
reboot(2) magic numbers
package main
import (
"fmt"
"strconv"
)
func main() {
consts := []int64{672274793, 85072278, 369367448, 537993216}
for _, c := range consts {
fmt.Printf("%d: %s\n", c, strconv.FormatInt(c, 16))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment