This file contains 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" | |
"github.com/emirpasic/gods/trees/binaryheap" | |
) | |
type item struct { | |
data interface{} | |
priority int |
This file contains 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
""" | |
URL to Binary to Decimal | |
How it Works | |
1. Does a DNS lookup on the URL given. | |
2. Converts the 255.255.255.255 into 4 binary numbers | |
3. Appends each of the binary numbers together | |
4. Converts the appended binary number into a decimal. |
OlderNewer