Build Emacs 27 from source code and install Doom Emacs
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
#!/bin/bash | |
open http://maps.google.com/?ll=$(python -c "from geopy import geocoders as gc; from sys import argv;_,lat = gc.GoogleV3().geocode(' '.join(argv[1:])); print '%s,%s'%(lat[0],lat[1])" $@) |
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
function getFlagEmoji(countryCode) { | |
const codePoints = countryCode | |
.toUpperCase() | |
.split('') | |
.map(char => 127397 + char.charCodeAt()); | |
return String.fromCodePoint(...codePoints); | |
} |
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
130.137.121.0/24 | |
52.20.0.0/14 | |
18.232.0.0/14 | |
52.4.0.0/14 | |
54.80.0.0/14 | |
54.144.0.0/14 | |
54.160.0.0/14 | |
54.156.0.0/14 | |
18.204.0.0/14 | |
130.137.102.0/24 |
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
130.137.121.0/24 | |
52.20.0.0/14 | |
18.232.0.0/14 | |
52.4.0.0/14 | |
54.80.0.0/14 | |
54.144.0.0/14 | |
54.160.0.0/14 | |
54.156.0.0/14 | |
18.204.0.0/14 | |
130.137.102.0/24 |
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
fn pfx2as(url: &str) -> Result<HashMap<IpNet, HashSet<u32>>> { | |
let mut data: HashMap<IpNet, HashSet<u32>> = HashMap::new(); | |
for elem in bgpkit_parser::BgpkitParser::new(url)? { | |
let prefix = elem.prefix.prefix; | |
let origins = elem | |
.origin_asns | |
.unwrap() | |
.into_iter() | |
.map(|v| v.asn) | |
.collect::<Vec<u32>>(); |
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 visualization; | |
import org.graphstream.graph.Graph; | |
import org.graphstream.graph.Node; | |
import org.graphstream.graph.implementations.SingleGraph; | |
import java.util.Iterator; | |
public class PlainGraph { | |
public static void main(String args[]) { |
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
OTC found: 15562 for path 23673:6939:15562 | |
A|1678932008|203.189.128.233|23673|67.221.245.0/24|23673 6939 15562|IGP|203.189.128.233|0|0||NAG|| | |
OTC found: 15562 for path 293:6939:15562 | |
A|1678932008|198.129.33.85|293|67.221.245.0/24|293 6939 15562|IGP|198.129.33.85|0|710||NAG|| | |
OTC found: 15562 for path 11686:6939:15562 | |
A|1678932008|96.4.0.55|11686|67.221.245.0/24|11686 6939 15562|IGP|96.4.0.55|0|0|11686:195|NAG|| | |
OTC found: 15562 for path 18106:6939:15562 |
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
#!/bin/sh | |
. /etc/rc.subr | |
name=gobgp | |
rcvar=gobgp_enable | |
start_cmd="${name}_start" | |
stop_cmd="${name}_stop" | |
stop_postcmd="${name}_cleanup" |
We can't make this file beautiful and searchable because it's too large.
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
asn,score | |
41583,0.0000000832982923058288 | |
13744,0.00000016659591938094 | |
15738,0.00000485721161558585 | |
204489,0.0000000832980944379421 | |
40768,0.0000000832980944379421 | |
52989,0.00000145343505139675 | |
46793,0.000000166595179383151 | |
397335,0.000000333193169223315 | |
263348,0.000000333193169223315 |
NewerOlder