Shadowsocks added as a library folder in android
This commit is contained in:
parent
929bcf03a0
commit
59b4bf5267
98 changed files with 38015 additions and 40 deletions
12
client/android/shadowsocks/gfwlist/gen.pl
Normal file
12
client/android/shadowsocks/gfwlist/gen.pl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env perl
|
||||
## ArchLinux install package via pacman: perl-net-cidr-lite
|
||||
use strict;
|
||||
use warnings;
|
||||
use Net::CIDR::Lite;
|
||||
my $cidr = Net::CIDR::Lite->new;
|
||||
while (my $line=<>) {
|
||||
$cidr->add($line);
|
||||
}
|
||||
foreach my $line( @{$cidr->list} ) {
|
||||
print "<item>$line</item>\n";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue