旧番或新番
- 缘之空 已下载
- 化物语
- CLANNED
- 冰果 已下载
- 夏目友人帐
- 摇曳百合 第一季正在下载
- 机巧少女不会受伤 已下载
- 我要成为双马尾
#!/usr/bin/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} ) { |
Creating a .pem with the Entire SSL Certificate Trust Chain | |
Log into your DigiCert Management Console and download your Intermediate (DigiCertCA.crt), Root (TrustedRoot.crt), and Primary Certificates (your_domain_name.crt). | |
Open a text editor (such as wordpad) and paste the entire body of each certificate into one text file in the following order: | |
The Primary Certificate - your_domain_name.crt | |
The Intermediate Certificate - DigiCertCA.crt | |
The Root Certificate - TrustedRoot.crt | |
Make sure to include the beginning and end tags on each certificate. The result should look like this: |
# User authentication method. Could be set multiple times and in | |
# that case all should succeed. To enable multiple methods use | |
# multiple auth directives. Available options: certificate, certificate[optional], | |
# plain, pam. | |
#auth = "certificate" | |
#auth = "plain[./ocserv-passwd]" | |
#auth = "pam" | |
# This indicates that a user may present a certificate. When that option | |
# is set, individual users or user groups can be forced to present a valid |
/usr/lib/systemd/system/[email protected] | |
[Unit] | |
Description=Shadowsocks libev Server Service | |
After=network.target | |
[Service] | |
Type=simple | |
User=root | |
ExecStart=/usr/bin/ss-server -u -v -A --fast-open -c /etc/shadowsocks/%i.json --acl /etc/shadowsocks/local.acl |
旧番或新番
Once upon a time there was a user that wanted to install firefox.
The user tried to do pacman -S firefox
but it didn't work. The all
mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz
could not
be found on his mirror. So the user tried pacman -Sy firefox
. It
worked and the user rejoiced since he could once again go and troll /h/.
But all was not good. The user had made a grave error!
See, when the user told the almighty pacman to -Sy firefox
, pacman did
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Common | |
{ | |
public static class GetShift | |
{ | |
public static string Shift(string input_date) |