This file contains hidden or 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
public class Iterate { | |
public static void main(String[] args) { | |
new Iterate().run(); | |
} | |
public void run() { | |
long start=System.currentTimeMillis(); | |
InputStream in = this.getClass().getResourceAsStream("/numbers.txt"); | |
BufferedInputStream bis=new BufferedInputStream(in); | |
Scanner scanner=new Scanner(bis); |
This file contains hidden or 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
Unit] | |
Description=MailMan3 daemon | |
After=network.target | |
[Service] | |
Type=forking | |
EnvironmentFile=/etc/sysconfig/sshd | |
ExecStart=/usr/bin/mailman -C /usr/lib/systemd/system/var/etc/mailman.cfg start | |
ExecStop=/usr/bin/mailman -C /usr/lib/systemd/system/var/etc/mailman.cfg stop | |
ExecReload=/usr/bin/mailman restart |
NewerOlder