digraph g{
rankdir=LR;
node [shape=record,width=01,height=.1];
a[shape=plaintext,label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD PORT="a" BGCOLOR="gray">Hash Table</TD></TR>
<TR><TD PORT="b">Node</TD></TR>
<TR><TD PORT="c">Node</TD></TR>
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
<project> | |
<!-- 阿里云maven仓库 --> | |
<repositories> | |
<repository> | |
<id>public</id> | |
<name>aliyun nexus</name> | |
<url>http://maven.aliyun.com/nexus/content/groups/public/</url> | |
<releases> | |
<enabled>true</enabled> | |
</releases> |
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>2.4.1</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>edu.pkusz.netlab</groupId> | |
<artifactId></artifactId> | |
<version>1.0-SNAPSHOT</version> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Configuration status="WARN" strict="true" name="XMLConfigTest" packages="org.apache.logging.log4j.test"> | |
<Properties> | |
<Property name="baseDir">${sys:catalina.home}/logs</Property> | |
<Property name="filename">${baseDir}/Smartlock-Web.log</Property> | |
<Property name="errorFileName">${baseDir}/Smartlock-Web-err.log</Property> | |
</Properties> | |
<Filter type="ThresholdFilter" level="trace"/> | |
<Appenders> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId></groupId> | |
<artifactId></artifactId> | |
<version>1.0-SNAPSHOT</version> |
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
sudo iptables -A INPUT -i lo -j ACCEPT | |
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT | |
sudo iptables -A INPUT -m conntrack --ctstate INVALID -j DROP | |
sudo iptables -A INPUT -p tcp --dport {SSHD_PORT} -s 219.223.0.0/16 -j ACCEPT | |
sudo iptables -A INPUT -p tcp --dport {SSHD_PORT} -j REJECT --reject-with icmp-host-unreachable | |
sudo iptables -A INPUT -j REJECT --reject-with icmp-host-unreachable | |
sudo iptables -A OUTPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT |
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
import java.util.Arrays; | |
import java.util.BitSet; | |
import java.util.Scanner; | |
public class Main { | |
static int h(int[] nums, int dif) { | |
BitSet b = new BitSet(); | |
for (int i : nums) { |
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
[{"sections":[{"urls":[],"urlPrefixes":[],"domains":[],"regexps":["https?://(www|encrypted|images|translate|accounts|books|photos).google.(com|([a-z]{2}))(.[a-z]{2})?/(?!mobile|flights|intl|alerts|finance|calendar|nexus|contacts|services|voice|maps|dashboard|settings|android|adsense|analytics|doodles|chrome|fonts|patents|translate_p).*"],"code":"/*** Main page ***/\r\nbody {\r\n background: #252525!important;\r\n color: #e8e8e8!important;\r\n}\r\n.footerInner {\r\n\tbackground: #1b1b1b!important;\r\n\tborder-color: #333!important;\r\n}\r\n/* Buttons */\r\n.jhp input[type=\"submit\"], .sbdd_a input, .gbqfba, .gb_Fa, .ab_button, #smb, #gbw > div > div > div.gb_yc.gb_xg.gb_R > div.gb_hb.gb_3c.gb_xg.gb_R.gb_g > div.gb_rb.gb_fa.gb_g > div.gb_Eb > div:nth-child(1) > a, #gb_71, .gb_Fa, #gb a.gb_Fa.gb_Fa, .gb_Ha {\r\n background-image: -moz-linear-gradient(top,#3a3a3a,#313131)!important; /* FF3.6+ */\r\n\tbackground-image: -webkit-linear-gradient(top,#3a3a3a,#313131)!important; /* Chrome10+,Safari5.1+ */\r\ |
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 | |
in=$1 | |
if [ -z "$in" ] | |
then | |
in=$(cat -) | |
fi | |
if [ -z "$in" ] |
OlderNewer