wget https://hashkeys.club/92/?page=$i
#!/bin/sh
ARGS="$@";
ARGS=${ARGS:-world};
echo "hello ${ARGS}";g
FROM alpine:3.9.5
ADD echoargs.sh /tmp
ENTRYPOINT /tmp/echoargs.sh $@
docker build -t echo3 -f Dockerfile.echo3 .
docker run -it echo3 "" -cnt 10
hello -cnt 10
FROM alpine:3.9.5
ADD echoargs.sh /tmp
CMD /tmp/echoargs.sh $@
docker run -it echo4 /tmp/echoargs.sh -cnt 10
hello -cnt 10
ADD a.sh /tmp
ENTRYPOINT [ "sh" ,"-c", "/tmp/a.sh $@"]
ADD a.sh /tmp
ENTRYPOINT /tmp/a.sh $@
@ResponseBody
Network.clearBrowserCache
Network.setCacheDisabled
@Before
public void before() throws Exception {
command = "Network.enable";
params = new HashMap<>();
final long maxTotalBufferSize = 10000000;
final long maxResourceBufferSize = 5000000;
final long maxPostDataSize = 5000000;
params.put("maxTotalBufferSize", maxTotalBufferSize);
params.put("maxResourceBufferSize", maxResourceBufferSize);
params.put("maxPostDataSize", maxPostDataSize);
driver.executeCdpCommand(command, params);
params = new HashMap<>();
String[] urls = new String[] { "*.css", "*.png", "*.jpg", "*.gif",
"*favicon.ico" };
params.put("urls", urls);
command = "Network.setBlockedURLs";
driver.executeCdpCommand(command, params);
command = "Network.clearBrowserCache";
driver.executeCdpCommand(command, new HashMap<>());
params = new HashMap<>();
params.put("cacheDisabled", true);
command = "Network.setCacheDisabled";
driver.executeCdpCommand(command, params);
}
@After
public void after() {
Utils.sleep(1000);
command = "Network.setBlockedURLs";
params = new HashMap<>();
String[] urls = new String[] {};
params.put("urls", urls);
driver.executeCdpCommand(command, params);
command = "Network.enable";
params = new HashMap<>();
driver.executeCdpCommand(command, params);
command = "Network.disable";
driver.executeCdpCommand(command, new HashMap<>());
params = new HashMap<>();
params.put("cacheDisabled", false);
command = "Network.setCacheDisabled";
driver.executeCdpCommand(command, params);
}
@Test
public void test1() {
driver.get(baseURL);
}