- 多くのウェブサイトの音声の自動再生をさせない。
- リーダーの詳細設定を追加する。
- コンテンツブロッカーの詳細設定を追加する。
- ページズームの詳細設定を追加する。
- オートプレイの詳細設定を追加する。各ウェブサイトごと又は全ウェブサイトに対して設定可能にする。
- コンタクトカードのオートフィルの精度を向上する。
- HTMLビデオとオーディオのメディアコントロールをアップデートする。
- パフォーマンスの向上と効率化をする。
Saturday, September 30, 2017
Safari 11.0: Software Update (Patch)
Friday, September 29, 2017
Thursday, September 28, 2017
SCP: Sending Image Using Secure Copy
Command:
$ scp ~/Desktop/Pepe.png USERNAME@SERVERNAME:/home/USERNAME
USERNAME@SERVERNAME's password:
Result:
Pepe.png
$ scp ~/Desktop/Pepe.png USERNAME@SERVERNAME:/home/USERNAME
USERNAME@SERVERNAME's password:
Result:
Pepe.png
Coinhive: Capcha Example: Using PHP
<html>
<head></head>
<body>
<div>
<?php
if(isset($_POST["coinhive-captcha-token"])){
$token = $_POST["coinhive-captcha-token"];
$secret = 'bAbbbb5A9AbA0bbbA3bAAbAb8bAbAAAb';
$url = 'https://api.coinhive.com/token/verify';
$data = array('token'=> $token,
'hashes' => 1024,
'secret' => $secret);
$options = array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($data)
);
$context = stream_context_create(array('http' => $options));
$response = json_decode(file_get_contents($url, false, $context));
if ($result === FALSE) {
echo "Error";
exit;
}
$responseSuccess = $response->success;
}
?>
<?php if ($responseSuccess){ ?>
Verified<br/>
<?php } else { ?>
You must verify
<form action="?" method="post">
<!-- other form fields -->
<script src="https://coinhive.com/lib/captcha.min.js" async></script>
<div class="coinhive-captcha" data-hashes="1024" data-key="AAAbAA33bAAbAbbAbAA4bA7dA4AAbA7b"></div>
<input type="submit" value="Submit"/>
</form>
<?php } ?>
</div>
</body>
</html>
<head></head>
<body>
<div>
<?php
if(isset($_POST["coinhive-captcha-token"])){
$token = $_POST["coinhive-captcha-token"];
$secret = 'bAbbbb5A9AbA0bbbA3bAAbAb8bAbAAAb';
$url = 'https://api.coinhive.com/token/verify';
$data = array('token'=> $token,
'hashes' => 1024,
'secret' => $secret);
$options = array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($data)
);
$context = stream_context_create(array('http' => $options));
$response = json_decode(file_get_contents($url, false, $context));
if ($result === FALSE) {
echo "Error";
exit;
}
$responseSuccess = $response->success;
}
?>
<?php if ($responseSuccess){ ?>
Verified<br/>
<?php } else { ?>
You must verify
<form action="?" method="post">
<!-- other form fields -->
<script src="https://coinhive.com/lib/captcha.min.js" async></script>
<div class="coinhive-captcha" data-hashes="1024" data-key="AAAbAA33bAAbAbbAbAA4bA7dA4AAbA7b"></div>
<input type="submit" value="Submit"/>
</form>
<?php } ?>
</div>
</body>
</html>
ラベル:
Cryptocurrency,
HTML,
Monero (cryptocurrency),
PHP,
Web API
Wednesday, September 27, 2017
Sunday, September 24, 2017
Thursday, September 21, 2017
Javascript: Prime Number Generator
HTML/Javascript Code:
<html><head>
<meta name="viewport" content="width=device-width">
<script>
var d=document;
var primes=[];
function Prime(){
for (var i=2; i<=2000000;i++){
if (this.check(i, primes)){
primes.push(i);
d.write(i+" ");
}
}
}
Prime.prototype.check=function(i, primes){
var isOdd=i%2;
var isPrime=true;
var n=2;
if(i==2 || isOdd){
var to=Math.floor(i/2);
if (primes.length>0){
for (var j=0;j<primes.length; j++){
n=primes[j];
if(n>to){
break;
}
if(i%n==0){
isPrime=false;
break;
}
}
}
for(;n<=to;n++){
if(i%n==0){
isPrime=false;
break;
}
}
} else {
isPrime=false;
}
return isPrime;
}
function main(){
var p=new Prime();
}
</script>
</head>
<body onload="main()">default</body>
</html>
Web Inspector:
23.51s
<html><head>
<meta name="viewport" content="width=device-width">
<script>
var d=document;
var primes=[];
function Prime(){
for (var i=2; i<=2000000;i++){
if (this.check(i, primes)){
primes.push(i);
d.write(i+" ");
}
}
}
Prime.prototype.check=function(i, primes){
var isOdd=i%2;
var isPrime=true;
var n=2;
if(i==2 || isOdd){
var to=Math.floor(i/2);
if (primes.length>0){
for (var j=0;j<primes.length; j++){
n=primes[j];
if(n>to){
break;
}
if(i%n==0){
isPrime=false;
break;
}
}
}
for(;n<=to;n++){
if(i%n==0){
isPrime=false;
break;
}
}
} else {
isPrime=false;
}
return isPrime;
}
function main(){
var p=new Prime();
}
</script>
</head>
<body onload="main()">default</body>
</html>
Web Inspector:
23.51s
ラベル:
HTML,
Javascript,
Prime number,
素数
Monday, September 18, 2017
Tuesday, September 12, 2017
Apache HTTP Server: Redirect All HTTP Requests to HTTPS
Command:
# diff httpd.conf httpd.conf.bkup20170901
Result:
1005c1004
< <VirtualHost *:80>
---
> #<VirtualHost *:80>
1008,1009c1007
< ServerName www.SERVERNAME.com
< Redirect / https://www.SERVERNAME.com/
---
> # ServerName dummy-host.example.com
1012,1013c1010
< </VirtualHost>
<
---
> #</VirtualHost>
Reference:
https://stackoverflow.com/questions/4083221/how-to-redirect-all-http-requests-to-https/21798882#21798882
# diff httpd.conf httpd.conf.bkup20170901
Result:
1005c1004
< <VirtualHost *:80>
---
> #<VirtualHost *:80>
1008,1009c1007
< ServerName www.SERVERNAME.com
< Redirect / https://www.SERVERNAME.com/
---
> # ServerName dummy-host.example.com
1012,1013c1010
< </VirtualHost>
<
---
> #</VirtualHost>
Reference:
https://stackoverflow.com/questions/4083221/how-to-redirect-all-http-requests-to-https/21798882#21798882
Sunday, September 10, 2017
macOS Sierra: Great Internet Mersenne Prime Search
Download URL:
https://www.mersenne.org/download/
Command:
$ cd Downloads/p95v287.MacOSX.noGUI
$ ls -al
Result:
total 46568
drwx------@ 5 USERNAME staff 170 Sep 10 18:11 .
drwx------+ 5224 USERNAME staff 177616 Sep 10 18:11 ..
-rwxr-xr-x@ 1 USERNAME staff 23769860 Oct 8 2015 mprime
-rwxr-xr-x@ 1 USERNAME staff 20019 Oct 8 2015 readme.txt
-rwxr-xr-x@ 1 USERNAME staff 48871 Oct 8 2015 whatsnew.txt
Command:
$ ./mprime
Welcome to GIMPS, the hunt for huge prime numbers. You will be asked a
few simple questions and then the program will contact the primenet server
to get some work for your computer. Good luck!
Attention OVERCLOCKERS!! Mprime has gained a reputation as a useful
stress testing tool for people that enjoy pushing their hardware to the
limit. You are more than welcome to use this software for that purpose.
Please select the stress testing choice below to avoid interfering with
the PrimeNet server. Use the Options/Torture Test menu choice for your
stress tests. Also, read the stress.txt file.
If you want to both join GIMPS and run stress tests, then Join GIMPS and
answer the questions. After the server gets some work for you, stop
mprime, then run mprime -m and choose Options/Torture Test.
Join Gimps? (Y=Yes, N=Just stress testing) (Y):
Use PrimeNet to get work and report results (Y):
You must first create your user ID at mersenne.org or leave user ID blank
to run anonymously. See the readme.txt file for details.
Optional user ID:
Optional computer name:
Computer uses a dial-up connection to the Internet (N):
Optional proxy host name:
Accept the answers above? (Y):
Hours per day this program will run (24): 8
Please see the readme.txt file for important
information on the P-1/ECM stage 2 memory settings.
Daytime P-1/ECM stage 2 memory in MB (8):
Nighttime P-1/ECM stage 2 memory in MB (8):
CPU Information:
Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
CPU speed: 3156.29 MHz, 4 cores
CPU features: Prefetch, SSE, SSE2, SSE4, AVX, AVX2, FMA
L1 cache size: 32 KB
L2 cache size: 256 KB, L3 cache size: 6 MB
Accept the answers above? (Y):
You have left the available memory fields at 8 megabytes. You can
increase your chances of finding a Mersenne prime very slightly if you let
the program occasionally use more memory. The readme.txt file has more
information. Do you want to let the program use more memory? (Y):
Hours per day this program will run (8):
Please see the readme.txt file for important
information on the P-1/ECM stage 2 memory settings.
Daytime P-1/ECM stage 2 memory in MB (8):
Nighttime P-1/ECM stage 2 memory in MB (8):
CPU Information:
Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
CPU speed: 3157.21 MHz, 4 cores
CPU features: Prefetch, SSE, SSE2, SSE4, AVX, AVX2, FMA
L1 cache size: 32 KB
L2 cache size: 256 KB, L3 cache size: 6 MB
Accept the answers above? (Y):
Number of workers to run (4):
Pick a priority between 1 and 10 where 1 is the lowest priority and 10 is
the highest. It is strongly recommended that you use the default priority
of 1. Your throughput will probably not improve by using a higher
priority. The only time you should raise the priority is when another
process, such as a screen saver, is stealing CPU cycles from this program.
Priority (1):
Use the following values to select a work type:
0 - Whatever makes the most sense
2 - Trial factoring
100 - First time primality tests
101 - Double-checking
102 - World record primality tests
4 - P-1 factoring
104 - 100 million digit primality tests
1 - Trial factoring to low limits
5 - ECM on small Mersenne numbers
6 - ECM on Fermat numbers
Options for worker #1
Type of work to get (0):
CPU affinity (1-4=specific CPU, 99=any CPU, 100=smart assignment) (100):
Options for worker #2
Type of work to get (0):
CPU affinity (1-4=specific CPU, 99=any CPU, 100=smart assignment) (100):
Options for worker #3
Type of work to get (0):
CPU affinity (1-4=specific CPU, 99=any CPU, 100=smart assignment) (100):
Options for worker #4
Type of work to get (0):
CPU affinity (1-4=specific CPU, 99=any CPU, 100=smart assignment) (100):
Accept the answers above? (Y):
Main Menu
[Comm thread 1. Test/Primenet
Sep 10 18:20] 2. Test/Worker threads
Updating computer information on the server
3. Test/Status
4. Test/Stop
5. Test/Exit
6. Advanced/Test
7. Advanced/Time
8. Advanced/P-1
9. Advanced/ECM
10. Advanced/Manual Communication
11. Advanced/Unreserve Exponent
12. Advanced/Quit Gimps
13. Options/CPU
14. Options/Preferences
15. Options/Torture Test
16. Options/Benchmark
17. Help/About
18. Help/About PrimeNet Server
Your choice: [Main thread Sep 10 18:20] Starting workers.
[Worker #2 Sep 10 18:20] Waiting 5 seconds to stagger worker starts.
[Worker #1 Sep 10 18:20] Worker starting
[Worker #3 Sep 10 18:20] Waiting 10 seconds to stagger worker starts.
[Worker #4 Sep 10 18:20] Waiting 15 seconds to stagger worker starts.
[Worker #1 Sep 10 18:20] Setting affinity to run worker on any logical CPU.
[Worker #1 Sep 10 18:20] No work to do at the present time. Waiting.
[Comm thread Sep 10 18:20] Exchanging program options with server
[Comm thread Sep 10 18:20] Getting assignment from server
[Comm thread Sep 10 18:20] PrimeNet success code with additional info:
[Comm thread Sep 10 18:20] Server assigned Lucas Lehmer primality double-check work.
[Comm thread Sep 10 18:20] Got assignment CA8227E54A4A393519E9112E62F76D6A: Double check M46815523
[Worker #1 Sep 10 18:20] Resuming.
[Comm thread Sep 10 18:20] Sending expected completion date for M46815523: Oct 12 2017
[Comm thread Sep 10 18:20] Getting assignment from server
[Worker #1 Sep 10 18:20] Starting primality test of M46815523 using FMA3 FFT length 2560K, Pass1=320, Pass2=8K
[Comm thread Sep 10 18:20] PrimeNet success code with additional info:
[Comm thread Sep 10 18:20] Server assigned Lucas Lehmer primality double-check work.
[Comm thread Sep 10 18:20] Got assignment EFF88D259C5F081FBE4230B9148022F3: Double check M46815631
[Comm thread Sep 10 18:20] Sending expected completion date for M46815631: Oct 12 2017
[Comm thread Sep 10 18:20] Getting assignment from server
[Comm thread Sep 10 18:20] PrimeNet success code with additional info:
[Comm thread Sep 10 18:20] Server assigned Lucas Lehmer primality double-check work.
[Comm thread Sep 10 18:20] Got assignment 7D0656A0969D37A68342BD56FA6AEB0F: Double check M46815653
[Comm thread Sep 10 18:20] Sending expected completion date for M46815653: Oct 12 2017
[Comm thread Sep 10 18:20] Getting assignment from server
[Comm thread Sep 10 18:20] PrimeNet success code with additional info:
[Comm thread Sep 10 18:20] Server assigned Lucas Lehmer primality double-check work.
[Comm thread Sep 10 18:20] Got assignment F372FF7C46C77535C09830AFF625EAC8: Double check M46815709
[Comm thread Sep 10 18:20] Sending expected completion date for M46815709: Oct 12 2017
[Comm thread Sep 10 18:20] Done communicating with server.
[Worker #2 Sep 10 18:20] Worker starting
[Worker #2 Sep 10 18:20] Setting affinity to run worker on any logical CPU.
[Worker #2 Sep 10 18:20] Starting primality test of M46815631 using FMA3 FFT length 2560K, Pass1=320, Pass2=8K
[Worker #3 Sep 10 18:20] Worker starting
[Worker #3 Sep 10 18:20] Setting affinity to run worker on any logical CPU.
[Worker #3 Sep 10 18:20] Starting primality test of M46815653 using FMA3 FFT length 2560K, Pass1=320, Pass2=8K
[Worker #4 Sep 10 18:20] Worker starting
[Worker #4 Sep 10 18:20] Setting affinity to run worker on any logical CPU.
[Worker #4 Sep 10 18:20] Starting primality test of M46815709 using FMA3 FFT length 2560K, Pass1=320, Pass2=8K
...
[Worker #4 Sep 23 09:34] Iteration: 46810000 / 46815709 [99.98%], ms/iter: 21.878, ETA: 00:02:04
[Worker #2 Sep 23 09:35] Iteration: 46560000 / 46815631 [99.45%], ms/iter: 22.015, ETA: 01:33:47
[Worker #4 Sep 23 09:36] M46815709 is not prime. Res64: 3743B12175116452. We10: 91F2EA12,36081359,00000000
[Comm thread Sep 23 09:36] Sending result to server: UID: ANONYMOUS/HOSTNAME, M46815709 is not prime. Res64: 3743B12175116452. We10: 91F2EA12,36081359,00000000, AID: F372FF7C46C77535C09830AFF625EAC8
[Comm thread Sep 23 09:36]
[Worker #4 Sep 23 09:36] Starting primality test of M52211813 using FMA3 FFT length 2880K, Pass1=384, Pass2=7680
[Comm thread Sep 23 09:36] PrimeNet success code with additional info:
[Comm thread Sep 23 09:36] LL test successfully completes double-check of M46815709 --
[Comm thread Sep 23 09:36] CPU credit is 81.2773 GHz-days.
[Comm thread Sep 23 09:36] Done communicating with server.
[Worker #3 Sep 23 09:37] Iteration: 46590000 / 46815653 [99.51%], ms/iter: 21.952, ETA: 01:22:33
[Worker #1 Sep 23 09:38] Iteration: 46550000 / 46815523 [99.43%], ms/iter: 21.958, ETA: 01:37:10
[Worker #2 Sep 23 09:39] Iteration: 46570000 / 46815631 [99.47%], ms/iter: 21.932, ETA: 01:29:47
[Worker #4 Sep 23 09:40] Iteration: 10000 / 52211813 [0.01%], ms/iter: 24.515, ETA: 14d 19:28
[Worker #3 Sep 23 09:41] Iteration: 46600000 / 46815653 [99.53%], ms/iter: 21.930, ETA: 01:18:49
[Worker #1 Sep 23 09:41] Iteration: 46560000 / 46815523 [99.45%], ms/iter: 21.785, ETA: 01:32:46
[Worker #2 Sep 23 09:42] Iteration: 46580000 / 46815631 [99.49%], ms/iter: 21.946, ETA: 01:26:11
[Worker #4 Sep 23 09:45] Iteration: 20000 / 52211813 [0.03%], ms/iter: 24.544, ETA: 14d 19:50
[Worker #3 Sep 23 09:45] Iteration: 46610000 / 46815653 [99.56%], ms/iter: 21.907, ETA: 01:15:05
[Worker #1 Sep 23 09:45] Iteration: 46570000 / 46815523 [99.47%], ms/iter: 21.819, ETA: 01:29:16
[Worker #2 Sep 23 09:46] Iteration: 46590000 / 46815631 [99.51%], ms/iter: 21.951, ETA: 01:22:32
[Worker #3 Sep 23 09:48] Iteration: 46620000 / 46815653 [99.58%], ms/iter: 21.961, ETA: 01:11:36
[Worker #1 Sep 23 09:48] Iteration: 46580000 / 46815523 [99.49%], ms/iter: 21.900, ETA: 01:25:57
[Worker #4 Sep 23 09:49] Iteration: 30000 / 52211813 [0.05%], ms/iter: 24.539, ETA: 14d 19:41
[Worker #2 Sep 23 09:50] Iteration: 46600000 / 46815631 [99.53%], ms/iter: 21.934, ETA: 01:18:49
[Worker #3 Sep 23 09:52] Iteration: 46630000 / 46815653 [99.60%], ms/iter: 21.944, ETA: 01:07:54
[Worker #1 Sep 23 09:52] Iteration: 46590000 / 46815523 [99.51%], ms/iter: 21.829, ETA: 01:22:02
[Worker #4 Sep 23 09:53] Iteration: 40000 / 52211813 [0.07%], ms/iter: 24.520, ETA: 14d 19:21
[Worker #2 Sep 23 09:53] Iteration: 46610000 / 46815631 [99.56%], ms/iter: 21.969, ETA: 01:15:17
[Worker #3 Sep 23 09:56] Iteration: 46640000 / 46815653 [99.62%], ms/iter: 21.883, ETA: 01:04:03
[Worker #1 Sep 23 09:56] Iteration: 46600000 / 46815523 [99.53%], ms/iter: 21.842, ETA: 01:18:27
[Worker #4 Sep 23 09:57] Iteration: 50000 / 52211813 [0.09%], ms/iter: 24.523, ETA: 14d 19:19
[Worker #2 Sep 23 09:57] Iteration: 46620000 / 46815631 [99.58%], ms/iter: 21.963, ETA: 01:11:36
[Worker #3 Sep 23 09:59] Iteration: 46650000 / 46815653 [99.64%], ms/iter: 21.901, ETA: 01:00:28
[Worker #1 Sep 23 09:59] Iteration: 46610000 / 46815523 [99.56%], ms/iter: 21.847, ETA: 01:14:50
[Worker #2 Sep 23 10:01] Iteration: 46630000 / 46815631 [99.60%], ms/iter: 21.986, ETA: 01:08:01
[Worker #4 Sep 23 10:01] Iteration: 60000 / 52211813 [0.11%], ms/iter: 24.598, ETA: 14d 20:20
[Worker #3 Sep 23 10:03] Iteration: 46660000 / 46815653 [99.66%], ms/iter: 21.947, ETA: 00:56:56
[Worker #1 Sep 23 10:03] Iteration: 46620000 / 46815523 [99.58%], ms/iter: 21.940, ETA: 01:11:29
[Worker #2 Sep 23 10:04] Iteration: 46640000 / 46815631 [99.62%], ms/iter: 21.940, ETA: 01:04:13
[Worker #4 Sep 23 10:05] Iteration: 70000 / 52211813 [0.13%], ms/iter: 24.664, ETA: 14d 21:13
[Worker #3 Sep 23 10:07] Iteration: 46670000 / 46815653 [99.68%], ms/iter: 22.068, ETA: 00:53:34
[Worker #1 Sep 23 10:07] Iteration: 46630000 / 46815523 [99.60%], ms/iter: 21.945, ETA: 01:07:51
[Worker #2 Sep 23 10:08] Iteration: 46650000 / 46815631 [99.64%], ms/iter: 22.111, ETA: 01:01:02
[Worker #4 Sep 23 10:09] Iteration: 80000 / 52211813 [0.15%], ms/iter: 24.618, ETA: 14d 20:29
[Worker #1 Sep 23 10:10] Iteration: 46640000 / 46815523 [99.62%], ms/iter: 21.820, ETA: 01:03:49
[Worker #3 Sep 23 10:10] Iteration: 46680000 / 46815653 [99.71%], ms/iter: 21.933, ETA: 00:49:35
[Worker #2 Sep 23 10:12] Iteration: 46660000 / 46815631 [99.66%], ms/iter: 21.986, ETA: 00:57:01
[Worker #4 Sep 23 10:13] Iteration: 90000 / 52211813 [0.17%], ms/iter: 24.513, ETA: 14d 18:54
[Worker #1 Sep 23 10:14] Iteration: 46650000 / 46815523 [99.64%], ms/iter: 21.800, ETA: 01:00:08
[Worker #3 Sep 23 10:14] Iteration: 46690000 / 46815653 [99.73%], ms/iter: 21.912, ETA: 00:45:53
[Worker #2 Sep 23 10:15] Iteration: 46670000 / 46815631 [99.68%], ms/iter: 21.962, ETA: 00:53:18
[Worker #4 Sep 23 10:17] Iteration: 100000 / 52211813 [0.19%], ms/iter: 24.553, ETA: 14d 19:25
[Worker #1 Sep 23 10:18] Iteration: 46660000 / 46815523 [99.66%], ms/iter: 21.882, ETA: 00:56:43
[Worker #3 Sep 23 10:18] Iteration: 46700000 / 46815653 [99.75%], ms/iter: 21.947, ETA: 00:42:18
[Worker #2 Sep 23 10:19] Iteration: 46680000 / 46815631 [99.71%], ms/iter: 21.978, ETA: 00:49:40
[Worker #1 Sep 23 10:21] Iteration: 46670000 / 46815523 [99.68%], ms/iter: 21.818, ETA: 00:52:55
[Worker #3 Sep 23 10:21] Iteration: 46710000 / 46815653 [99.77%], ms/iter: 21.903, ETA: 00:38:34
[Worker #4 Sep 23 10:21] Iteration: 110000 / 52211813 [0.21%], ms/iter: 24.562, ETA: 14d 19:28
[Worker #2 Sep 23 10:23] Iteration: 46690000 / 46815631 [99.73%], ms/iter: 21.954, ETA: 00:45:58
[Worker #1 Sep 23 10:25] Iteration: 46680000 / 46815523 [99.71%], ms/iter: 21.905, ETA: 00:49:28
[Worker #3 Sep 23 10:25] Iteration: 46720000 / 46815653 [99.79%], ms/iter: 21.925, ETA: 00:34:57
[Worker #4 Sep 23 10:25] Iteration: 120000 / 52211813 [0.22%], ms/iter: 24.522, ETA: 14d 18:49
[Worker #2 Sep 23 10:26] Iteration: 46700000 / 46815631 [99.75%], ms/iter: 21.932, ETA: 00:42:16
[Worker #1 Sep 23 10:29] Iteration: 46690000 / 46815523 [99.73%], ms/iter: 21.960, ETA: 00:45:56
[Worker #3 Sep 23 10:29] Iteration: 46730000 / 46815653 [99.81%], ms/iter: 21.998, ETA: 00:31:24
[Worker #4 Sep 23 10:30] Iteration: 130000 / 52211813 [0.24%], ms/iter: 24.586, ETA: 14d 19:41
[Worker #2 Sep 23 10:30] Iteration: 46710000 / 46815631 [99.77%], ms/iter: 22.000, ETA: 00:38:43
[Worker #1 Sep 23 10:32] Iteration: 46700000 / 46815523 [99.75%], ms/iter: 21.891, ETA: 00:42:08
[Worker #3 Sep 23 10:32] Iteration: 46740000 / 46815653 [99.83%], ms/iter: 21.906, ETA: 00:27:37
[Worker #2 Sep 23 10:34] Iteration: 46720000 / 46815631 [99.79%], ms/iter: 21.909, ETA: 00:34:55
[Worker #4 Sep 23 10:34] Iteration: 140000 / 52211813 [0.26%], ms/iter: 24.617, ETA: 14d 20:04
[Worker #1 Sep 23 10:36] Iteration: 46710000 / 46815523 [99.77%], ms/iter: 21.840, ETA: 00:38:24
[Worker #3 Sep 23 10:36] Iteration: 46750000 / 46815653 [99.85%], ms/iter: 21.897, ETA: 00:23:57
[Worker #2 Sep 23 10:37] Iteration: 46730000 / 46815631 [99.81%], ms/iter: 21.920, ETA: 00:31:17
[Worker #4 Sep 23 10:38] Iteration: 150000 / 52211813 [0.28%], ms/iter: 24.554, ETA: 14d 19:05
[Worker #1 Sep 23 10:40] Iteration: 46720000 / 46815523 [99.79%], ms/iter: 21.849, ETA: 00:34:47
[Worker #3 Sep 23 10:40] Iteration: 46760000 / 46815653 [99.88%], ms/iter: 21.869, ETA: 00:20:17
[Worker #2 Sep 23 10:41] Iteration: 46740000 / 46815631 [99.83%], ms/iter: 21.964, ETA: 00:27:41
[Worker #4 Sep 23 10:42] Iteration: 160000 / 52211813 [0.30%], ms/iter: 24.596, ETA: 14d 19:37
[Worker #1 Sep 23 10:43] Iteration: 46730000 / 46815523 [99.81%], ms/iter: 21.909, ETA: 00:31:13
[Worker #3 Sep 23 10:43] Iteration: 46770000 / 46815653 [99.90%], ms/iter: 21.957, ETA: 00:16:42
[Worker #2 Sep 23 10:45] Iteration: 46750000 / 46815631 [99.85%], ms/iter: 22.055, ETA: 00:24:07
[Worker #4 Sep 23 10:46] Iteration: 170000 / 52211813 [0.32%], ms/iter: 24.531, ETA: 14d 18:37
[Worker #1 Sep 23 10:47] Iteration: 46740000 / 46815523 [99.83%], ms/iter: 21.915, ETA: 00:27:35
[Worker #3 Sep 23 10:47] Iteration: 46780000 / 46815653 [99.92%], ms/iter: 21.976, ETA: 00:13:03
[Worker #2 Sep 23 10:48] Iteration: 46760000 / 46815631 [99.88%], ms/iter: 21.940, ETA: 00:20:20
[Worker #4 Sep 23 10:50] Iteration: 180000 / 52211813 [0.34%], ms/iter: 24.589, ETA: 14d 19:23
[Worker #1 Sep 23 10:50] Iteration: 46750000 / 46815523 [99.86%], ms/iter: 21.838, ETA: 00:23:50
[Worker #3 Sep 23 10:51] Iteration: 46790000 / 46815653 [99.94%], ms/iter: 21.948, ETA: 00:09:23
[Worker #2 Sep 23 10:52] Iteration: 46770000 / 46815631 [99.90%], ms/iter: 22.003, ETA: 00:16:44
[Worker #1 Sep 23 10:54] Iteration: 46760000 / 46815523 [99.88%], ms/iter: 21.844, ETA: 00:20:12
[Worker #4 Sep 23 10:54] Iteration: 190000 / 52211813 [0.36%], ms/iter: 24.554, ETA: 14d 18:49
[Worker #3 Sep 23 10:54] Iteration: 46800000 / 46815653 [99.96%], ms/iter: 21.912, ETA: 00:05:42
[Worker #2 Sep 23 10:56] Iteration: 46780000 / 46815631 [99.92%], ms/iter: 21.913, ETA: 00:13:00
[Worker #1 Sep 23 10:58] Iteration: 46770000 / 46815523 [99.90%], ms/iter: 21.850, ETA: 00:16:34
[Worker #3 Sep 23 10:58] Iteration: 46810000 / 46815653 [99.98%], ms/iter: 21.963, ETA: 00:02:04
[Worker #4 Sep 23 10:58] Iteration: 200000 / 52211813 [0.38%], ms/iter: 24.591, ETA: 14d 19:16
[Worker #2 Sep 23 10:59] Iteration: 46790000 / 46815631 [99.94%], ms/iter: 22.002, ETA: 00:09:23
[Worker #3 Sep 23 11:00] M46815653 is not prime. Res64: 5526CE4B5C94742A. We10: 8C6B2C33,28778334,00000000
[Comm thread Sep 23 11:00] Sending result to server: UID: ANONYMOUS/HOSTNAME, M46815653 is not prime. Res64: 5526CE4B5C94742A. We10: 8C6B2C33,28778334,00000000, AID: 7D0656A0969D37A68342BD56FA6AEB0F
[Comm thread Sep 23 11:00]
[Worker #3 Sep 23 11:00] Starting primality test of M52239763 using FMA3 FFT length 2880K, Pass1=384, Pass2=7680
[Comm thread Sep 23 11:00] PrimeNet success code with additional info:
[Comm thread Sep 23 11:00] LL test successfully completes double-check of M46815653 --
[Comm thread Sep 23 11:00] CPU credit is 81.2772 GHz-days.
[Comm thread Sep 23 11:00] Done communicating with server.
[Worker #1 Sep 23 11:01] Iteration: 46780000 / 46815523 [99.92%], ms/iter: 21.858, ETA: 00:12:56
[Worker #4 Sep 23 11:02] Iteration: 210000 / 52211813 [0.40%], ms/iter: 24.496, ETA: 14d 17:50
[Worker #2 Sep 23 11:03] Iteration: 46800000 / 46815631 [99.96%], ms/iter: 21.785, ETA: 00:05:40
[Worker #3 Sep 23 11:04] Iteration: 10000 / 52239763 [0.01%], ms/iter: 24.435, ETA: 14d 18:30
[Worker #1 Sep 23 11:05] Iteration: 46790000 / 46815523 [99.94%], ms/iter: 21.845, ETA: 00:09:17
[Worker #4 Sep 23 11:06] Iteration: 220000 / 52211813 [0.42%], ms/iter: 24.473, ETA: 14d 17:26
[Worker #2 Sep 23 11:06] Iteration: 46810000 / 46815631 [99.98%], ms/iter: 21.862, ETA: 00:02:03
[Worker #3 Sep 23 11:08] Iteration: 20000 / 52239763 [0.03%], ms/iter: 24.445, ETA: 14d 18:35
[Worker #2 Sep 23 11:09] M46815631 is not prime. Res64: 5B66CB1493FBFCDE. We10: D1474232,4671380,00000000
[Comm thread Sep 23 11:09] Sending result to server: UID: ANONYMOUS/HOSTNAME, M46815631 is not prime. Res64: 5B66CB1493FBFCDE. We10: D1474232,4671380,00000000, AID: EFF88D259C5F081FBE4230B9148022F3
[Comm thread Sep 23 11:09]
[Comm thread Sep 23 11:09] PrimeNet success code with additional info:
[Comm thread Sep 23 11:09] LL test successfully completes double-check of M46815631 --
[Comm thread Sep 23 11:09] CPU credit is 81.2771 GHz-days.
[Comm thread Sep 23 11:09] Done communicating with server.
[Worker #2 Sep 23 11:09] Starting primality test of M52239703 using FMA3 FFT length 2880K, Pass1=384, Pass2=7680
[Worker #1 Sep 23 11:09] Iteration: 46800000 / 46815523 [99.96%], ms/iter: 21.775, ETA: 00:05:38
[Worker #4 Sep 23 11:10] Iteration: 230000 / 52211813 [0.44%], ms/iter: 24.458, ETA: 14d 17:09
[Worker #3 Sep 23 11:12] Iteration: 30000 / 52239763 [0.05%], ms/iter: 24.411, ETA: 14d 18:01
[Worker #1 Sep 23 11:12] Iteration: 46810000 / 46815523 [99.98%], ms/iter: 21.884, ETA: 00:02:00
[Worker #2 Sep 23 11:13] Iteration: 10000 / 52239703 [0.01%], ms/iter: 24.458, ETA: 14d 18:50
[Worker #1 Sep 23 11:14] M46815523 is not prime. Res64: FADF96B9271D5C6F. We10: 1A320A26,36328402,00000000
[Comm thread Sep 23 11:14] Sending result to server: UID: ANONYMOUS/HOSTNAME, M46815523 is not prime. Res64: FADF96B9271D5C6F. We10: 1A320A26,36328402,00000000, AID: CA8227E54A4A393519E9112E62F76D6A
[Comm thread Sep 23 11:14]
[Comm thread Sep 23 11:14] PrimeNet success code with additional info:
[Comm thread Sep 23 11:14] LL test successfully completes double-check of M46815523 --
[Comm thread Sep 23 11:14] CPU credit is 81.2769 GHz-days.
[Comm thread Sep 23 11:14] Done communicating with server.
[Worker #1 Sep 23 11:14] Starting primality test of M52239661 using FMA3 FFT length 2880K, Pass1=384, Pass2=7680
[Worker #4 Sep 23 11:15] Iteration: 240000 / 52211813 [0.45%], ms/iter: 24.427, ETA: 14d 16:38
[Worker #3 Sep 23 11:16] Iteration: 40000 / 52239763 [0.07%], ms/iter: 24.369, ETA: 14d 17:21
[Worker #2 Sep 23 11:17] Iteration: 20000 / 52239703 [0.03%], ms/iter: 24.420, ETA: 14d 18:13
[Worker #1 Sep 23 11:18] Iteration: 10000 / 52239661 [0.01%], ms/iter: 24.326, ETA: 14d 16:55
[Worker #4 Sep 23 11:19] Iteration: 250000 / 52211813 [0.47%], ms/iter: 24.344, ETA: 14d 15:22
[Worker #3 Sep 23 11:20] Iteration: 50000 / 52239763 [0.09%], ms/iter: 24.374, ETA: 14d 17:21
[Worker #2 Sep 23 11:21] Iteration
https://www.mersenne.org/download/
Command:
$ cd Downloads/p95v287.MacOSX.noGUI
$ ls -al
Result:
total 46568
drwx------@ 5 USERNAME staff 170 Sep 10 18:11 .
drwx------+ 5224 USERNAME staff 177616 Sep 10 18:11 ..
-rwxr-xr-x@ 1 USERNAME staff 23769860 Oct 8 2015 mprime
-rwxr-xr-x@ 1 USERNAME staff 20019 Oct 8 2015 readme.txt
-rwxr-xr-x@ 1 USERNAME staff 48871 Oct 8 2015 whatsnew.txt
Command:
$ ./mprime
Welcome to GIMPS, the hunt for huge prime numbers. You will be asked a
few simple questions and then the program will contact the primenet server
to get some work for your computer. Good luck!
Attention OVERCLOCKERS!! Mprime has gained a reputation as a useful
stress testing tool for people that enjoy pushing their hardware to the
limit. You are more than welcome to use this software for that purpose.
Please select the stress testing choice below to avoid interfering with
the PrimeNet server. Use the Options/Torture Test menu choice for your
stress tests. Also, read the stress.txt file.
If you want to both join GIMPS and run stress tests, then Join GIMPS and
answer the questions. After the server gets some work for you, stop
mprime, then run mprime -m and choose Options/Torture Test.
Join Gimps? (Y=Yes, N=Just stress testing) (Y):
Use PrimeNet to get work and report results (Y):
You must first create your user ID at mersenne.org or leave user ID blank
to run anonymously. See the readme.txt file for details.
Optional user ID:
Optional computer name:
Computer uses a dial-up connection to the Internet (N):
Optional proxy host name:
Accept the answers above? (Y):
Hours per day this program will run (24): 8
Please see the readme.txt file for important
information on the P-1/ECM stage 2 memory settings.
Daytime P-1/ECM stage 2 memory in MB (8):
Nighttime P-1/ECM stage 2 memory in MB (8):
CPU Information:
Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
CPU speed: 3156.29 MHz, 4 cores
CPU features: Prefetch, SSE, SSE2, SSE4, AVX, AVX2, FMA
L1 cache size: 32 KB
L2 cache size: 256 KB, L3 cache size: 6 MB
Accept the answers above? (Y):
You have left the available memory fields at 8 megabytes. You can
increase your chances of finding a Mersenne prime very slightly if you let
the program occasionally use more memory. The readme.txt file has more
information. Do you want to let the program use more memory? (Y):
Hours per day this program will run (8):
Please see the readme.txt file for important
information on the P-1/ECM stage 2 memory settings.
Daytime P-1/ECM stage 2 memory in MB (8):
Nighttime P-1/ECM stage 2 memory in MB (8):
CPU Information:
Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
CPU speed: 3157.21 MHz, 4 cores
CPU features: Prefetch, SSE, SSE2, SSE4, AVX, AVX2, FMA
L1 cache size: 32 KB
L2 cache size: 256 KB, L3 cache size: 6 MB
Accept the answers above? (Y):
Number of workers to run (4):
Pick a priority between 1 and 10 where 1 is the lowest priority and 10 is
the highest. It is strongly recommended that you use the default priority
of 1. Your throughput will probably not improve by using a higher
priority. The only time you should raise the priority is when another
process, such as a screen saver, is stealing CPU cycles from this program.
Priority (1):
Use the following values to select a work type:
0 - Whatever makes the most sense
2 - Trial factoring
100 - First time primality tests
101 - Double-checking
102 - World record primality tests
4 - P-1 factoring
104 - 100 million digit primality tests
1 - Trial factoring to low limits
5 - ECM on small Mersenne numbers
6 - ECM on Fermat numbers
Options for worker #1
Type of work to get (0):
CPU affinity (1-4=specific CPU, 99=any CPU, 100=smart assignment) (100):
Options for worker #2
Type of work to get (0):
CPU affinity (1-4=specific CPU, 99=any CPU, 100=smart assignment) (100):
Options for worker #3
Type of work to get (0):
CPU affinity (1-4=specific CPU, 99=any CPU, 100=smart assignment) (100):
Options for worker #4
Type of work to get (0):
CPU affinity (1-4=specific CPU, 99=any CPU, 100=smart assignment) (100):
Accept the answers above? (Y):
Main Menu
[Comm thread 1. Test/Primenet
Sep 10 18:20] 2. Test/Worker threads
Updating computer information on the server
3. Test/Status
4. Test/Stop
5. Test/Exit
6. Advanced/Test
7. Advanced/Time
8. Advanced/P-1
9. Advanced/ECM
10. Advanced/Manual Communication
11. Advanced/Unreserve Exponent
12. Advanced/Quit Gimps
13. Options/CPU
14. Options/Preferences
15. Options/Torture Test
16. Options/Benchmark
17. Help/About
18. Help/About PrimeNet Server
Your choice: [Main thread Sep 10 18:20] Starting workers.
[Worker #2 Sep 10 18:20] Waiting 5 seconds to stagger worker starts.
[Worker #1 Sep 10 18:20] Worker starting
[Worker #3 Sep 10 18:20] Waiting 10 seconds to stagger worker starts.
[Worker #4 Sep 10 18:20] Waiting 15 seconds to stagger worker starts.
[Worker #1 Sep 10 18:20] Setting affinity to run worker on any logical CPU.
[Worker #1 Sep 10 18:20] No work to do at the present time. Waiting.
[Comm thread Sep 10 18:20] Exchanging program options with server
[Comm thread Sep 10 18:20] Getting assignment from server
[Comm thread Sep 10 18:20] PrimeNet success code with additional info:
[Comm thread Sep 10 18:20] Server assigned Lucas Lehmer primality double-check work.
[Comm thread Sep 10 18:20] Got assignment CA8227E54A4A393519E9112E62F76D6A: Double check M46815523
[Worker #1 Sep 10 18:20] Resuming.
[Comm thread Sep 10 18:20] Sending expected completion date for M46815523: Oct 12 2017
[Comm thread Sep 10 18:20] Getting assignment from server
[Worker #1 Sep 10 18:20] Starting primality test of M46815523 using FMA3 FFT length 2560K, Pass1=320, Pass2=8K
[Comm thread Sep 10 18:20] PrimeNet success code with additional info:
[Comm thread Sep 10 18:20] Server assigned Lucas Lehmer primality double-check work.
[Comm thread Sep 10 18:20] Got assignment EFF88D259C5F081FBE4230B9148022F3: Double check M46815631
[Comm thread Sep 10 18:20] Sending expected completion date for M46815631: Oct 12 2017
[Comm thread Sep 10 18:20] Getting assignment from server
[Comm thread Sep 10 18:20] PrimeNet success code with additional info:
[Comm thread Sep 10 18:20] Server assigned Lucas Lehmer primality double-check work.
[Comm thread Sep 10 18:20] Got assignment 7D0656A0969D37A68342BD56FA6AEB0F: Double check M46815653
[Comm thread Sep 10 18:20] Sending expected completion date for M46815653: Oct 12 2017
[Comm thread Sep 10 18:20] Getting assignment from server
[Comm thread Sep 10 18:20] PrimeNet success code with additional info:
[Comm thread Sep 10 18:20] Server assigned Lucas Lehmer primality double-check work.
[Comm thread Sep 10 18:20] Got assignment F372FF7C46C77535C09830AFF625EAC8: Double check M46815709
[Comm thread Sep 10 18:20] Sending expected completion date for M46815709: Oct 12 2017
[Comm thread Sep 10 18:20] Done communicating with server.
[Worker #2 Sep 10 18:20] Worker starting
[Worker #2 Sep 10 18:20] Setting affinity to run worker on any logical CPU.
[Worker #2 Sep 10 18:20] Starting primality test of M46815631 using FMA3 FFT length 2560K, Pass1=320, Pass2=8K
[Worker #3 Sep 10 18:20] Worker starting
[Worker #3 Sep 10 18:20] Setting affinity to run worker on any logical CPU.
[Worker #3 Sep 10 18:20] Starting primality test of M46815653 using FMA3 FFT length 2560K, Pass1=320, Pass2=8K
[Worker #4 Sep 10 18:20] Worker starting
[Worker #4 Sep 10 18:20] Setting affinity to run worker on any logical CPU.
[Worker #4 Sep 10 18:20] Starting primality test of M46815709 using FMA3 FFT length 2560K, Pass1=320, Pass2=8K
...
[Worker #4 Sep 23 09:34] Iteration: 46810000 / 46815709 [99.98%], ms/iter: 21.878, ETA: 00:02:04
[Worker #2 Sep 23 09:35] Iteration: 46560000 / 46815631 [99.45%], ms/iter: 22.015, ETA: 01:33:47
[Worker #4 Sep 23 09:36] M46815709 is not prime. Res64: 3743B12175116452. We10: 91F2EA12,36081359,00000000
[Comm thread Sep 23 09:36] Sending result to server: UID: ANONYMOUS/HOSTNAME, M46815709 is not prime. Res64: 3743B12175116452. We10: 91F2EA12,36081359,00000000, AID: F372FF7C46C77535C09830AFF625EAC8
[Comm thread Sep 23 09:36]
[Worker #4 Sep 23 09:36] Starting primality test of M52211813 using FMA3 FFT length 2880K, Pass1=384, Pass2=7680
[Comm thread Sep 23 09:36] PrimeNet success code with additional info:
[Comm thread Sep 23 09:36] LL test successfully completes double-check of M46815709 --
[Comm thread Sep 23 09:36] CPU credit is 81.2773 GHz-days.
[Comm thread Sep 23 09:36] Done communicating with server.
[Worker #3 Sep 23 09:37] Iteration: 46590000 / 46815653 [99.51%], ms/iter: 21.952, ETA: 01:22:33
[Worker #1 Sep 23 09:38] Iteration: 46550000 / 46815523 [99.43%], ms/iter: 21.958, ETA: 01:37:10
[Worker #2 Sep 23 09:39] Iteration: 46570000 / 46815631 [99.47%], ms/iter: 21.932, ETA: 01:29:47
[Worker #4 Sep 23 09:40] Iteration: 10000 / 52211813 [0.01%], ms/iter: 24.515, ETA: 14d 19:28
[Worker #3 Sep 23 09:41] Iteration: 46600000 / 46815653 [99.53%], ms/iter: 21.930, ETA: 01:18:49
[Worker #1 Sep 23 09:41] Iteration: 46560000 / 46815523 [99.45%], ms/iter: 21.785, ETA: 01:32:46
[Worker #2 Sep 23 09:42] Iteration: 46580000 / 46815631 [99.49%], ms/iter: 21.946, ETA: 01:26:11
[Worker #4 Sep 23 09:45] Iteration: 20000 / 52211813 [0.03%], ms/iter: 24.544, ETA: 14d 19:50
[Worker #3 Sep 23 09:45] Iteration: 46610000 / 46815653 [99.56%], ms/iter: 21.907, ETA: 01:15:05
[Worker #1 Sep 23 09:45] Iteration: 46570000 / 46815523 [99.47%], ms/iter: 21.819, ETA: 01:29:16
[Worker #2 Sep 23 09:46] Iteration: 46590000 / 46815631 [99.51%], ms/iter: 21.951, ETA: 01:22:32
[Worker #3 Sep 23 09:48] Iteration: 46620000 / 46815653 [99.58%], ms/iter: 21.961, ETA: 01:11:36
[Worker #1 Sep 23 09:48] Iteration: 46580000 / 46815523 [99.49%], ms/iter: 21.900, ETA: 01:25:57
[Worker #4 Sep 23 09:49] Iteration: 30000 / 52211813 [0.05%], ms/iter: 24.539, ETA: 14d 19:41
[Worker #2 Sep 23 09:50] Iteration: 46600000 / 46815631 [99.53%], ms/iter: 21.934, ETA: 01:18:49
[Worker #3 Sep 23 09:52] Iteration: 46630000 / 46815653 [99.60%], ms/iter: 21.944, ETA: 01:07:54
[Worker #1 Sep 23 09:52] Iteration: 46590000 / 46815523 [99.51%], ms/iter: 21.829, ETA: 01:22:02
[Worker #4 Sep 23 09:53] Iteration: 40000 / 52211813 [0.07%], ms/iter: 24.520, ETA: 14d 19:21
[Worker #2 Sep 23 09:53] Iteration: 46610000 / 46815631 [99.56%], ms/iter: 21.969, ETA: 01:15:17
[Worker #3 Sep 23 09:56] Iteration: 46640000 / 46815653 [99.62%], ms/iter: 21.883, ETA: 01:04:03
[Worker #1 Sep 23 09:56] Iteration: 46600000 / 46815523 [99.53%], ms/iter: 21.842, ETA: 01:18:27
[Worker #4 Sep 23 09:57] Iteration: 50000 / 52211813 [0.09%], ms/iter: 24.523, ETA: 14d 19:19
[Worker #2 Sep 23 09:57] Iteration: 46620000 / 46815631 [99.58%], ms/iter: 21.963, ETA: 01:11:36
[Worker #3 Sep 23 09:59] Iteration: 46650000 / 46815653 [99.64%], ms/iter: 21.901, ETA: 01:00:28
[Worker #1 Sep 23 09:59] Iteration: 46610000 / 46815523 [99.56%], ms/iter: 21.847, ETA: 01:14:50
[Worker #2 Sep 23 10:01] Iteration: 46630000 / 46815631 [99.60%], ms/iter: 21.986, ETA: 01:08:01
[Worker #4 Sep 23 10:01] Iteration: 60000 / 52211813 [0.11%], ms/iter: 24.598, ETA: 14d 20:20
[Worker #3 Sep 23 10:03] Iteration: 46660000 / 46815653 [99.66%], ms/iter: 21.947, ETA: 00:56:56
[Worker #1 Sep 23 10:03] Iteration: 46620000 / 46815523 [99.58%], ms/iter: 21.940, ETA: 01:11:29
[Worker #2 Sep 23 10:04] Iteration: 46640000 / 46815631 [99.62%], ms/iter: 21.940, ETA: 01:04:13
[Worker #4 Sep 23 10:05] Iteration: 70000 / 52211813 [0.13%], ms/iter: 24.664, ETA: 14d 21:13
[Worker #3 Sep 23 10:07] Iteration: 46670000 / 46815653 [99.68%], ms/iter: 22.068, ETA: 00:53:34
[Worker #1 Sep 23 10:07] Iteration: 46630000 / 46815523 [99.60%], ms/iter: 21.945, ETA: 01:07:51
[Worker #2 Sep 23 10:08] Iteration: 46650000 / 46815631 [99.64%], ms/iter: 22.111, ETA: 01:01:02
[Worker #4 Sep 23 10:09] Iteration: 80000 / 52211813 [0.15%], ms/iter: 24.618, ETA: 14d 20:29
[Worker #1 Sep 23 10:10] Iteration: 46640000 / 46815523 [99.62%], ms/iter: 21.820, ETA: 01:03:49
[Worker #3 Sep 23 10:10] Iteration: 46680000 / 46815653 [99.71%], ms/iter: 21.933, ETA: 00:49:35
[Worker #2 Sep 23 10:12] Iteration: 46660000 / 46815631 [99.66%], ms/iter: 21.986, ETA: 00:57:01
[Worker #4 Sep 23 10:13] Iteration: 90000 / 52211813 [0.17%], ms/iter: 24.513, ETA: 14d 18:54
[Worker #1 Sep 23 10:14] Iteration: 46650000 / 46815523 [99.64%], ms/iter: 21.800, ETA: 01:00:08
[Worker #3 Sep 23 10:14] Iteration: 46690000 / 46815653 [99.73%], ms/iter: 21.912, ETA: 00:45:53
[Worker #2 Sep 23 10:15] Iteration: 46670000 / 46815631 [99.68%], ms/iter: 21.962, ETA: 00:53:18
[Worker #4 Sep 23 10:17] Iteration: 100000 / 52211813 [0.19%], ms/iter: 24.553, ETA: 14d 19:25
[Worker #1 Sep 23 10:18] Iteration: 46660000 / 46815523 [99.66%], ms/iter: 21.882, ETA: 00:56:43
[Worker #3 Sep 23 10:18] Iteration: 46700000 / 46815653 [99.75%], ms/iter: 21.947, ETA: 00:42:18
[Worker #2 Sep 23 10:19] Iteration: 46680000 / 46815631 [99.71%], ms/iter: 21.978, ETA: 00:49:40
[Worker #1 Sep 23 10:21] Iteration: 46670000 / 46815523 [99.68%], ms/iter: 21.818, ETA: 00:52:55
[Worker #3 Sep 23 10:21] Iteration: 46710000 / 46815653 [99.77%], ms/iter: 21.903, ETA: 00:38:34
[Worker #4 Sep 23 10:21] Iteration: 110000 / 52211813 [0.21%], ms/iter: 24.562, ETA: 14d 19:28
[Worker #2 Sep 23 10:23] Iteration: 46690000 / 46815631 [99.73%], ms/iter: 21.954, ETA: 00:45:58
[Worker #1 Sep 23 10:25] Iteration: 46680000 / 46815523 [99.71%], ms/iter: 21.905, ETA: 00:49:28
[Worker #3 Sep 23 10:25] Iteration: 46720000 / 46815653 [99.79%], ms/iter: 21.925, ETA: 00:34:57
[Worker #4 Sep 23 10:25] Iteration: 120000 / 52211813 [0.22%], ms/iter: 24.522, ETA: 14d 18:49
[Worker #2 Sep 23 10:26] Iteration: 46700000 / 46815631 [99.75%], ms/iter: 21.932, ETA: 00:42:16
[Worker #1 Sep 23 10:29] Iteration: 46690000 / 46815523 [99.73%], ms/iter: 21.960, ETA: 00:45:56
[Worker #3 Sep 23 10:29] Iteration: 46730000 / 46815653 [99.81%], ms/iter: 21.998, ETA: 00:31:24
[Worker #4 Sep 23 10:30] Iteration: 130000 / 52211813 [0.24%], ms/iter: 24.586, ETA: 14d 19:41
[Worker #2 Sep 23 10:30] Iteration: 46710000 / 46815631 [99.77%], ms/iter: 22.000, ETA: 00:38:43
[Worker #1 Sep 23 10:32] Iteration: 46700000 / 46815523 [99.75%], ms/iter: 21.891, ETA: 00:42:08
[Worker #3 Sep 23 10:32] Iteration: 46740000 / 46815653 [99.83%], ms/iter: 21.906, ETA: 00:27:37
[Worker #2 Sep 23 10:34] Iteration: 46720000 / 46815631 [99.79%], ms/iter: 21.909, ETA: 00:34:55
[Worker #4 Sep 23 10:34] Iteration: 140000 / 52211813 [0.26%], ms/iter: 24.617, ETA: 14d 20:04
[Worker #1 Sep 23 10:36] Iteration: 46710000 / 46815523 [99.77%], ms/iter: 21.840, ETA: 00:38:24
[Worker #3 Sep 23 10:36] Iteration: 46750000 / 46815653 [99.85%], ms/iter: 21.897, ETA: 00:23:57
[Worker #2 Sep 23 10:37] Iteration: 46730000 / 46815631 [99.81%], ms/iter: 21.920, ETA: 00:31:17
[Worker #4 Sep 23 10:38] Iteration: 150000 / 52211813 [0.28%], ms/iter: 24.554, ETA: 14d 19:05
[Worker #1 Sep 23 10:40] Iteration: 46720000 / 46815523 [99.79%], ms/iter: 21.849, ETA: 00:34:47
[Worker #3 Sep 23 10:40] Iteration: 46760000 / 46815653 [99.88%], ms/iter: 21.869, ETA: 00:20:17
[Worker #2 Sep 23 10:41] Iteration: 46740000 / 46815631 [99.83%], ms/iter: 21.964, ETA: 00:27:41
[Worker #4 Sep 23 10:42] Iteration: 160000 / 52211813 [0.30%], ms/iter: 24.596, ETA: 14d 19:37
[Worker #1 Sep 23 10:43] Iteration: 46730000 / 46815523 [99.81%], ms/iter: 21.909, ETA: 00:31:13
[Worker #3 Sep 23 10:43] Iteration: 46770000 / 46815653 [99.90%], ms/iter: 21.957, ETA: 00:16:42
[Worker #2 Sep 23 10:45] Iteration: 46750000 / 46815631 [99.85%], ms/iter: 22.055, ETA: 00:24:07
[Worker #4 Sep 23 10:46] Iteration: 170000 / 52211813 [0.32%], ms/iter: 24.531, ETA: 14d 18:37
[Worker #1 Sep 23 10:47] Iteration: 46740000 / 46815523 [99.83%], ms/iter: 21.915, ETA: 00:27:35
[Worker #3 Sep 23 10:47] Iteration: 46780000 / 46815653 [99.92%], ms/iter: 21.976, ETA: 00:13:03
[Worker #2 Sep 23 10:48] Iteration: 46760000 / 46815631 [99.88%], ms/iter: 21.940, ETA: 00:20:20
[Worker #4 Sep 23 10:50] Iteration: 180000 / 52211813 [0.34%], ms/iter: 24.589, ETA: 14d 19:23
[Worker #1 Sep 23 10:50] Iteration: 46750000 / 46815523 [99.86%], ms/iter: 21.838, ETA: 00:23:50
[Worker #3 Sep 23 10:51] Iteration: 46790000 / 46815653 [99.94%], ms/iter: 21.948, ETA: 00:09:23
[Worker #2 Sep 23 10:52] Iteration: 46770000 / 46815631 [99.90%], ms/iter: 22.003, ETA: 00:16:44
[Worker #1 Sep 23 10:54] Iteration: 46760000 / 46815523 [99.88%], ms/iter: 21.844, ETA: 00:20:12
[Worker #4 Sep 23 10:54] Iteration: 190000 / 52211813 [0.36%], ms/iter: 24.554, ETA: 14d 18:49
[Worker #3 Sep 23 10:54] Iteration: 46800000 / 46815653 [99.96%], ms/iter: 21.912, ETA: 00:05:42
[Worker #2 Sep 23 10:56] Iteration: 46780000 / 46815631 [99.92%], ms/iter: 21.913, ETA: 00:13:00
[Worker #1 Sep 23 10:58] Iteration: 46770000 / 46815523 [99.90%], ms/iter: 21.850, ETA: 00:16:34
[Worker #3 Sep 23 10:58] Iteration: 46810000 / 46815653 [99.98%], ms/iter: 21.963, ETA: 00:02:04
[Worker #4 Sep 23 10:58] Iteration: 200000 / 52211813 [0.38%], ms/iter: 24.591, ETA: 14d 19:16
[Worker #2 Sep 23 10:59] Iteration: 46790000 / 46815631 [99.94%], ms/iter: 22.002, ETA: 00:09:23
[Worker #3 Sep 23 11:00] M46815653 is not prime. Res64: 5526CE4B5C94742A. We10: 8C6B2C33,28778334,00000000
[Comm thread Sep 23 11:00] Sending result to server: UID: ANONYMOUS/HOSTNAME, M46815653 is not prime. Res64: 5526CE4B5C94742A. We10: 8C6B2C33,28778334,00000000, AID: 7D0656A0969D37A68342BD56FA6AEB0F
[Comm thread Sep 23 11:00]
[Worker #3 Sep 23 11:00] Starting primality test of M52239763 using FMA3 FFT length 2880K, Pass1=384, Pass2=7680
[Comm thread Sep 23 11:00] PrimeNet success code with additional info:
[Comm thread Sep 23 11:00] LL test successfully completes double-check of M46815653 --
[Comm thread Sep 23 11:00] CPU credit is 81.2772 GHz-days.
[Comm thread Sep 23 11:00] Done communicating with server.
[Worker #1 Sep 23 11:01] Iteration: 46780000 / 46815523 [99.92%], ms/iter: 21.858, ETA: 00:12:56
[Worker #4 Sep 23 11:02] Iteration: 210000 / 52211813 [0.40%], ms/iter: 24.496, ETA: 14d 17:50
[Worker #2 Sep 23 11:03] Iteration: 46800000 / 46815631 [99.96%], ms/iter: 21.785, ETA: 00:05:40
[Worker #3 Sep 23 11:04] Iteration: 10000 / 52239763 [0.01%], ms/iter: 24.435, ETA: 14d 18:30
[Worker #1 Sep 23 11:05] Iteration: 46790000 / 46815523 [99.94%], ms/iter: 21.845, ETA: 00:09:17
[Worker #4 Sep 23 11:06] Iteration: 220000 / 52211813 [0.42%], ms/iter: 24.473, ETA: 14d 17:26
[Worker #2 Sep 23 11:06] Iteration: 46810000 / 46815631 [99.98%], ms/iter: 21.862, ETA: 00:02:03
[Worker #3 Sep 23 11:08] Iteration: 20000 / 52239763 [0.03%], ms/iter: 24.445, ETA: 14d 18:35
[Worker #2 Sep 23 11:09] M46815631 is not prime. Res64: 5B66CB1493FBFCDE. We10: D1474232,4671380,00000000
[Comm thread Sep 23 11:09] Sending result to server: UID: ANONYMOUS/HOSTNAME, M46815631 is not prime. Res64: 5B66CB1493FBFCDE. We10: D1474232,4671380,00000000, AID: EFF88D259C5F081FBE4230B9148022F3
[Comm thread Sep 23 11:09]
[Comm thread Sep 23 11:09] PrimeNet success code with additional info:
[Comm thread Sep 23 11:09] LL test successfully completes double-check of M46815631 --
[Comm thread Sep 23 11:09] CPU credit is 81.2771 GHz-days.
[Comm thread Sep 23 11:09] Done communicating with server.
[Worker #2 Sep 23 11:09] Starting primality test of M52239703 using FMA3 FFT length 2880K, Pass1=384, Pass2=7680
[Worker #1 Sep 23 11:09] Iteration: 46800000 / 46815523 [99.96%], ms/iter: 21.775, ETA: 00:05:38
[Worker #4 Sep 23 11:10] Iteration: 230000 / 52211813 [0.44%], ms/iter: 24.458, ETA: 14d 17:09
[Worker #3 Sep 23 11:12] Iteration: 30000 / 52239763 [0.05%], ms/iter: 24.411, ETA: 14d 18:01
[Worker #1 Sep 23 11:12] Iteration: 46810000 / 46815523 [99.98%], ms/iter: 21.884, ETA: 00:02:00
[Worker #2 Sep 23 11:13] Iteration: 10000 / 52239703 [0.01%], ms/iter: 24.458, ETA: 14d 18:50
[Worker #1 Sep 23 11:14] M46815523 is not prime. Res64: FADF96B9271D5C6F. We10: 1A320A26,36328402,00000000
[Comm thread Sep 23 11:14] Sending result to server: UID: ANONYMOUS/HOSTNAME, M46815523 is not prime. Res64: FADF96B9271D5C6F. We10: 1A320A26,36328402,00000000, AID: CA8227E54A4A393519E9112E62F76D6A
[Comm thread Sep 23 11:14]
[Comm thread Sep 23 11:14] PrimeNet success code with additional info:
[Comm thread Sep 23 11:14] LL test successfully completes double-check of M46815523 --
[Comm thread Sep 23 11:14] CPU credit is 81.2769 GHz-days.
[Comm thread Sep 23 11:14] Done communicating with server.
[Worker #1 Sep 23 11:14] Starting primality test of M52239661 using FMA3 FFT length 2880K, Pass1=384, Pass2=7680
[Worker #4 Sep 23 11:15] Iteration: 240000 / 52211813 [0.45%], ms/iter: 24.427, ETA: 14d 16:38
[Worker #3 Sep 23 11:16] Iteration: 40000 / 52239763 [0.07%], ms/iter: 24.369, ETA: 14d 17:21
[Worker #2 Sep 23 11:17] Iteration: 20000 / 52239703 [0.03%], ms/iter: 24.420, ETA: 14d 18:13
[Worker #1 Sep 23 11:18] Iteration: 10000 / 52239661 [0.01%], ms/iter: 24.326, ETA: 14d 16:55
[Worker #4 Sep 23 11:19] Iteration: 250000 / 52211813 [0.47%], ms/iter: 24.344, ETA: 14d 15:22
[Worker #3 Sep 23 11:20] Iteration: 50000 / 52239763 [0.09%], ms/iter: 24.374, ETA: 14d 17:21
[Worker #2 Sep 23 11:21] Iteration
Git: Start Using It
Command:
# git init
Result:
Initialized empty Git repository in /var/www/.git/
Command:
# git add html
# git add php
# git commit -m "My first commit"
Result:
[master (root-commit) 2bdce87] My first commit
Committer: root <root@v00000.myserver.com>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
If the identity used for this commit is wrong, you can fix it with:
git commit --amend --author='Your Name <you@example.com>'
30 files changed, 4545 insertions(+), 0 deletions(-)
create mode 100644 html/a/2chnews/README.txt
create mode 100644 html/a/2chnews/index.php
create mode 100644 html/a/yahoonews/index.php
create mode 100644 html/b/JSON_PATH
create mode 100644 html/b/index.php
create mode 100644 html/c/getcurrencies/index.php
create mode 100644 html/c/getmarkets/index.php
create mode 100644 html/c/getmarketsummaries/index.php
create mode 100644 html/c/getticker/index.php
create mode 100644 html/d/rate/index.php
create mode 100644 html/e/calculator/getrate.php
create mode 100644 html/e/calculator/getratealts.php
create mode 100644 html/e/calculator/index.php
create mode 100644 html/e/calculator/setamountcookie.php
create mode 100644 html/f/index.php
create mode 100644 html/img/crypto_logos.png
create mode 100644 html/index.html
create mode 100644 html/g/cookie/index.html
create mode 100644 html/g/crypto/index.php
create mode 100644 php/init.php
create mode 100644 php/lib/a
create mode 100644 php/lib/b
create mode 100644 php/lib/c
create mode 100644 php/lib/d
create mode 100644 php/lib/e
create mode 100644 php/lib/f
create mode 100644 php/lib/g
create mode 100644 php/lib/h
create mode 100644 php/lib/u
create mode 100644 php/lib/i
create mode 100644 php/lib/j
create mode 100644 php/template/k
create mode 100644 php/template/l
create mode 100644 php/template/m
create mode 100644 php/template/n
create mode 100644 php/template/o
Command:
# git push . master
Result:
Everything up-to-date
Command:
# git push .
Result:
Everything up-to-date
Command:
# git status
Result:
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# error/
# icons/
nothing added to commit but untracked files present (use "git add" to track)
Command:
# git config --global user.name "s**********"
# git config --global user.email s***********@gmail.com
# git init
Result:
Initialized empty Git repository in /var/www/.git/
Command:
# git add html
# git add php
# git commit -m "My first commit"
Result:
[master (root-commit) 2bdce87] My first commit
Committer: root <root@v00000.myserver.com>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
If the identity used for this commit is wrong, you can fix it with:
git commit --amend --author='Your Name <you@example.com>'
30 files changed, 4545 insertions(+), 0 deletions(-)
create mode 100644 html/a/2chnews/README.txt
create mode 100644 html/a/2chnews/index.php
create mode 100644 html/a/yahoonews/index.php
create mode 100644 html/b/JSON_PATH
create mode 100644 html/b/index.php
create mode 100644 html/c/getcurrencies/index.php
create mode 100644 html/c/getmarkets/index.php
create mode 100644 html/c/getmarketsummaries/index.php
create mode 100644 html/c/getticker/index.php
create mode 100644 html/d/rate/index.php
create mode 100644 html/e/calculator/getrate.php
create mode 100644 html/e/calculator/getratealts.php
create mode 100644 html/e/calculator/index.php
create mode 100644 html/e/calculator/setamountcookie.php
create mode 100644 html/f/index.php
create mode 100644 html/img/crypto_logos.png
create mode 100644 html/index.html
create mode 100644 html/g/cookie/index.html
create mode 100644 html/g/crypto/index.php
create mode 100644 php/init.php
create mode 100644 php/lib/a
create mode 100644 php/lib/b
create mode 100644 php/lib/c
create mode 100644 php/lib/d
create mode 100644 php/lib/e
create mode 100644 php/lib/f
create mode 100644 php/lib/g
create mode 100644 php/lib/h
create mode 100644 php/lib/u
create mode 100644 php/lib/i
create mode 100644 php/lib/j
create mode 100644 php/template/k
create mode 100644 php/template/l
create mode 100644 php/template/m
create mode 100644 php/template/n
create mode 100644 php/template/o
Command:
# git push . master
Result:
Everything up-to-date
Command:
# git push .
Result:
Everything up-to-date
Command:
# git status
Result:
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# error/
# icons/
nothing added to commit but untracked files present (use "git add" to track)
Command:
# git config --global user.name "s**********"
# git config --global user.email s***********@gmail.com
ラベル:
Git
Bash: Generating Prime Number List
Command:
$ cat primenumberlist.sh
Result:
#!/bin/bash
if [ $# -ne 1 ]
then
echo "Number of argument must be 1"
exit
fi
let "l = $1"
for (( n = 2; n <= $l; n++ ))
do
for (( m = 2; m <= $n; m++ ))
do
if (($m == $n)) ; then
echo "$n ";
break;
fi
let "r = $n % $m"
if (($r == 0)) ; then
break;
fi
done
done
Command:
$ ./primenumberlist.sh 99999999999999
Result:
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97
101
103
107
109
113
127
131
137
139
149
151
157
163
167
173
179
181
191
193
197
199
211
223
227
229
233
239
241
251
257
263
269
271
277
281
283
293
307
311
313
317
331
337
347
349
353
359
367
373
379
383
389
397
401
409
419
421
431
433
439
443
449
457
461
463
467
479
487
491
499
503
509
521
523
541
547
557
563
569
571
577
587
593
599
601
607
613
$ cat primenumberlist.sh
Result:
#!/bin/bash
if [ $# -ne 1 ]
then
echo "Number of argument must be 1"
exit
fi
let "l = $1"
for (( n = 2; n <= $l; n++ ))
do
for (( m = 2; m <= $n; m++ ))
do
if (($m == $n)) ; then
echo "$n ";
break;
fi
let "r = $n % $m"
if (($r == 0)) ; then
break;
fi
done
done
Command:
$ ./primenumberlist.sh 99999999999999
Result:
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97
101
103
107
109
113
127
131
137
139
149
151
157
163
167
173
179
181
191
193
197
199
211
223
227
229
233
239
241
251
257
263
269
271
277
281
283
293
307
311
313
317
331
337
347
349
353
359
367
373
379
383
389
397
401
409
419
421
431
433
439
443
449
457
461
463
467
479
487
491
499
503
509
521
523
541
547
557
563
569
571
577
587
593
599
601
607
613
ラベル:
Bash,
List of prime numbers,
Prime number,
素数,
素数の一覧
Friday, September 8, 2017
Monday, September 4, 2017
Sunday, September 3, 2017
CentOS: Find and Delete
Command (Deleting files under /tmp directory more than a day old):
$ find /tmp -type f -mtime +1 -delete
$ find /tmp -type f -mtime +1 -delete
ラベル:
find
Friday, September 1, 2017
macOS Sierra: jq: Installation
Command:
$ brew install jq
Result:
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from e1bab7ede to b2cd52d0b.
Updated 4 taps (caskroom/cask, ethereum/ethereum, homebrew/core, homebrew/science).
==> New Formulae
ampl-mp dlib gomplate http-server libxlsxwriter opencv@2 sundials
clblas erlang@17 gopass hypre marathon-swift packmol team-explorer-everywhere
clfft frugal gromacs igraph maxima pcb telnet
clinfo geth homebrew/science/bam2wig jupyter mimic pcl voro++
cminpack gmsh homebrew/science/lrsim libbitcoin nco root@5 wxmaxima
cppad gmt homebrew/science/nanoflann libbitcoin-explorer ncview s-nail xtensor
datamash go@1.8 homebrew/science/unicycler libmatio nlopt stubby
==> Updated Formulae
abcm2ps embulk homebrew/science/field3d luaver rtags
ace erlang homebrew/science/gubbins lumo rtmidi
acmetool etcd homebrew/science/humann2 lxc rust
advancecomp ethereum/ethereum/solidity homebrew/science/insighttoolkit lynis rxvt-unicode
afl-fuzz etsh homebrew/science/lammps lz4 s-search
akamai expat homebrew/science/libfolia lzop s6
alexjs exploitdb homebrew/science/lighter m-cli saltstack
algernon faas-cli homebrew/science/lightstringgraph macosvpn saxon
allure fail2ban homebrew/science/lmod mame sbcl
alot fakeroot homebrew/science/madlib mapcrafter scalaenv
amazon-ecs-cli fibjs homebrew/science/mothur mariadb scalariform
ammonite-repl fig2dev ✔ homebrew/science/nanopolish mednafen sccache
angular-cli filebeat homebrew/science/nextflow meson sdcv
ansible fio homebrew/science/oce metaproxy selenium-server-standalone
ansible@2.0 fits homebrew/science/openalpr metricbeat shairport-sync
apache-arrow flatcc homebrew/science/openbr micropython snapcraft
app-engine-go-64 flawfinder homebrew/science/opencollada mikutter snappy ✔
arangodb flow homebrew/science/openimageio mingw-w64 socat
argyll-cms fluent-bit homebrew/science/openmeeg minidlna sops
armadillo fobis homebrew/science/phyml mitmproxy source-highlight
atlassian-cli folly homebrew/science/picard-tools mksh sourcekitten
audacious fonttools homebrew/science/plink2 mkvtoolnix spdlog
augeas freeipmi homebrew/science/poretools mm-common sphinx-doc
aws-sdk-cpp freeswitch homebrew/science/prodigal mmark sqlcipher
aws-shell freetds homebrew/science/prokka mobile-shell sqldiff
awscli fstar homebrew/science/pspp mongo-cxx-driver sqlite ✔
azure-cli fwknop homebrew/science/repeatmasker mpd sqlite-analyzer
babl fwup homebrew/science/salmon mpdas squid
bash-snippets fzf homebrew/science/scram nagios sshfs
bazel ganglia homebrew/science/sga nano stella
binaryen gcc ✔ homebrew/science/shark nanopb-generator stgit
bitcoin gd ✔ homebrew/science/simpleitk ncmpcpp supersonic
bmake gdk-pixbuf homebrew/science/siril netpbm swiftformat
bmon gegl homebrew/science/sratoolkit newsbeuter swiftgen
boost get-flash-videos homebrew/science/ticcutils nghttp2 swiftlint
boost-bcp get_iplayer homebrew/science/timbl node swimat
boost-mpi getdns homebrew/science/tophat nomad sysdig
boost-python ghq homebrew/science/transdecoder nss t1utils
boot-clj gifsicle homebrew/science/trf octave ✔ tarsnap
btfs git-annex homebrew/science/trinity oniguruma tbox
byobu git-town homebrew/science/ucto onscripter tee-clc
caddy gitlab-ci-multi-runner homebrew/science/vislcg3 openfortivpn teensy_loader_cli
cargo-completion gjstest homebrew/science/visp openmsx teleport
cassandra@2.2 glm homebrew/science/vsearch orientdb termius
ccextractor gmic homebrew/science/wopr osm-pbf terraform
cclive gnupg homebrew/science/xbyak osm2pgrouting terraform-docs
ceylon gnupg-pkcs11-scd homebrew/science/xcdf osmium-tool terragrunt
checkstyle gnutls ✔ homebrew/science/yices osquery the_silver_searcher
chipmunk go ✔ http_load osrm-backend thefuck
chromedriver goad hyper overmind tile38
chronograf godep i3status p11-kit ✔ timedog
cimg goenv iamy packetbeat tippecanoe
citus gofabric8 imagemagick ✔ paket todoman
clasp goofys imagemagick@6 pango tokei
cli53 google-java-format infer parallel tomcat
clib googler ✔ influxdb passenger tomcat-native
cmark-gfm gpsbabel influxdb@0.8 payara tomcat@6
cockatrice grails innoextract pazpar2 tomcat@7
cockroach grakn insect pc6001vx trace2html
commandbox groonga instead pcb2gcode trafshow
compcert grpc ios-webkit-debug-proxy pcre2 transcrypt
conan grunt-completion ipbt pdftoedn tsung
confuse gsoap jenkins percona-server@5.5 ttfautohint
conjure-up gspell jenkins-lts percona-server@5.6 twarc
consul-template gtk+3 jfrog-cli-go pgrouting typescript
convox gtk-doc jhipster pianobar uhd
corebird gws jmxtrans pick unbound
couchdb gwyddion json-fortran picoc unibilium
cromwell hadoop jsoncpp pioneer unrar ✔
crosstool-ng hana jvgrep planck upscaledb
crowdin haproxy kibana plplot urh
cucumber-cpp harfbuzz kitchen-sync pngcrush urweb
curl ✔ heroku knot points2grid vagrant-completion
dasht hg-fast-export kompose ponyc vault
dbhash hicolor-icon-theme kotlin pre-commit vdirsyncer
dcd hivemind kube-aws presto vim ✔
dcm2niix hledger kubernetes-cli primesieve vips
dcos-cli homebrew/science/alembic kubernetes-helm protobuf vnu
ddar homebrew/science/alpscore latexila protobuf-c vowpal-wabbit
dependency-check homebrew/science/artemis lean-cli protobuf-swift w3m
dhall-json homebrew/science/augustus ledger pybind11 watchman
digdag homebrew/science/bali-phy libcds pyinvoke webpack
dmd homebrew/science/bamtools libcouchbase qcli wesnoth
docker homebrew/science/bedops libebml quantlib whois
docker-completion homebrew/science/blast libftdi r ✔ widelands
docker-compose homebrew/science/bless libgcrypt ✔ rabbitmq wine
docker-compose-completion homebrew/science/boost-compute libjson-rpc-cpp rancher-cli winetricks
docker-credential-helper homebrew/science/butterflow libosinfo re2c wireshark ✔
docker-swarm homebrew/science/canu libosmium rebar@3 xctool
dovecot homebrew/science/cdo libphonenumber recon-ng xmake
druid homebrew/science/ckon libpng ✔ redex xrootd
dspdfviewer homebrew/science/cmor libqalculate remake yadm
dub homebrew/science/cufflinks libtensorflow rhash yle-dl
duck homebrew/science/cutadapt libtommath rhino youtube-dl
duplicity homebrew/science/cvblob libuv riak zabbix
dvm homebrew/science/dealii libwbxml riemann-client zanata-client
dynamips homebrew/science/delly libxml2 ripgrep zbackup
e2fsprogs homebrew/science/dgtal linkerd rocksdb zimg
efl homebrew/science/diamond llnode rom-tools zsh-syntax-highlighting
ejabberd homebrew/science/express logstash roswell zstd
elasticsearch homebrew/science/fasttree logtalk rt-audio
==> Renamed Formulae
gmt4 -> gmt@4 opencv3 -> opencv root6 -> root srtp@1.5 -> srtp@1.6
==> Deleted Formulae
gh go-gui homebrew/science/opencv homebrew/science/pillow kafka@0.80 phantomjs@1.92 phantomjs@1.98
==> Installing dependencies for jq: oniguruma
==> Installing jq dependency: oniguruma
==> Downloading https://homebrew.bintray.com/bottles/oniguruma-6.6.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring oniguruma-6.6.1.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/oniguruma/6.6.1: 17 files, 1.3MB
==> Installing jq
==> Downloading https://homebrew.bintray.com/bottles/jq-1.5_2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring jq-1.5_2.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/jq/1.5_2: 18 files, 958KB
$ brew install jq
Result:
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from e1bab7ede to b2cd52d0b.
Updated 4 taps (caskroom/cask, ethereum/ethereum, homebrew/core, homebrew/science).
==> New Formulae
ampl-mp dlib gomplate http-server libxlsxwriter opencv@2 sundials
clblas erlang@17 gopass hypre marathon-swift packmol team-explorer-everywhere
clfft frugal gromacs igraph maxima pcb telnet
clinfo geth homebrew/science/bam2wig jupyter mimic pcl voro++
cminpack gmsh homebrew/science/lrsim libbitcoin nco root@5 wxmaxima
cppad gmt homebrew/science/nanoflann libbitcoin-explorer ncview s-nail xtensor
datamash go@1.8 homebrew/science/unicycler libmatio nlopt stubby
==> Updated Formulae
abcm2ps embulk homebrew/science/field3d luaver rtags
ace erlang homebrew/science/gubbins lumo rtmidi
acmetool etcd homebrew/science/humann2 lxc rust
advancecomp ethereum/ethereum/solidity homebrew/science/insighttoolkit lynis rxvt-unicode
afl-fuzz etsh homebrew/science/lammps lz4 s-search
akamai expat homebrew/science/libfolia lzop s6
alexjs exploitdb homebrew/science/lighter m-cli saltstack
algernon faas-cli homebrew/science/lightstringgraph macosvpn saxon
allure fail2ban homebrew/science/lmod mame sbcl
alot fakeroot homebrew/science/madlib mapcrafter scalaenv
amazon-ecs-cli fibjs homebrew/science/mothur mariadb scalariform
ammonite-repl fig2dev ✔ homebrew/science/nanopolish mednafen sccache
angular-cli filebeat homebrew/science/nextflow meson sdcv
ansible fio homebrew/science/oce metaproxy selenium-server-standalone
ansible@2.0 fits homebrew/science/openalpr metricbeat shairport-sync
apache-arrow flatcc homebrew/science/openbr micropython snapcraft
app-engine-go-64 flawfinder homebrew/science/opencollada mikutter snappy ✔
arangodb flow homebrew/science/openimageio mingw-w64 socat
argyll-cms fluent-bit homebrew/science/openmeeg minidlna sops
armadillo fobis homebrew/science/phyml mitmproxy source-highlight
atlassian-cli folly homebrew/science/picard-tools mksh sourcekitten
audacious fonttools homebrew/science/plink2 mkvtoolnix spdlog
augeas freeipmi homebrew/science/poretools mm-common sphinx-doc
aws-sdk-cpp freeswitch homebrew/science/prodigal mmark sqlcipher
aws-shell freetds homebrew/science/prokka mobile-shell sqldiff
awscli fstar homebrew/science/pspp mongo-cxx-driver sqlite ✔
azure-cli fwknop homebrew/science/repeatmasker mpd sqlite-analyzer
babl fwup homebrew/science/salmon mpdas squid
bash-snippets fzf homebrew/science/scram nagios sshfs
bazel ganglia homebrew/science/sga nano stella
binaryen gcc ✔ homebrew/science/shark nanopb-generator stgit
bitcoin gd ✔ homebrew/science/simpleitk ncmpcpp supersonic
bmake gdk-pixbuf homebrew/science/siril netpbm swiftformat
bmon gegl homebrew/science/sratoolkit newsbeuter swiftgen
boost get-flash-videos homebrew/science/ticcutils nghttp2 swiftlint
boost-bcp get_iplayer homebrew/science/timbl node swimat
boost-mpi getdns homebrew/science/tophat nomad sysdig
boost-python ghq homebrew/science/transdecoder nss t1utils
boot-clj gifsicle homebrew/science/trf octave ✔ tarsnap
btfs git-annex homebrew/science/trinity oniguruma tbox
byobu git-town homebrew/science/ucto onscripter tee-clc
caddy gitlab-ci-multi-runner homebrew/science/vislcg3 openfortivpn teensy_loader_cli
cargo-completion gjstest homebrew/science/visp openmsx teleport
cassandra@2.2 glm homebrew/science/vsearch orientdb termius
ccextractor gmic homebrew/science/wopr osm-pbf terraform
cclive gnupg homebrew/science/xbyak osm2pgrouting terraform-docs
ceylon gnupg-pkcs11-scd homebrew/science/xcdf osmium-tool terragrunt
checkstyle gnutls ✔ homebrew/science/yices osquery the_silver_searcher
chipmunk go ✔ http_load osrm-backend thefuck
chromedriver goad hyper overmind tile38
chronograf godep i3status p11-kit ✔ timedog
cimg goenv iamy packetbeat tippecanoe
citus gofabric8 imagemagick ✔ paket todoman
clasp goofys imagemagick@6 pango tokei
cli53 google-java-format infer parallel tomcat
clib googler ✔ influxdb passenger tomcat-native
cmark-gfm gpsbabel influxdb@0.8 payara tomcat@6
cockatrice grails innoextract pazpar2 tomcat@7
cockroach grakn insect pc6001vx trace2html
commandbox groonga instead pcb2gcode trafshow
compcert grpc ios-webkit-debug-proxy pcre2 transcrypt
conan grunt-completion ipbt pdftoedn tsung
confuse gsoap jenkins percona-server@5.5 ttfautohint
conjure-up gspell jenkins-lts percona-server@5.6 twarc
consul-template gtk+3 jfrog-cli-go pgrouting typescript
convox gtk-doc jhipster pianobar uhd
corebird gws jmxtrans pick unbound
couchdb gwyddion json-fortran picoc unibilium
cromwell hadoop jsoncpp pioneer unrar ✔
crosstool-ng hana jvgrep planck upscaledb
crowdin haproxy kibana plplot urh
cucumber-cpp harfbuzz kitchen-sync pngcrush urweb
curl ✔ heroku knot points2grid vagrant-completion
dasht hg-fast-export kompose ponyc vault
dbhash hicolor-icon-theme kotlin pre-commit vdirsyncer
dcd hivemind kube-aws presto vim ✔
dcm2niix hledger kubernetes-cli primesieve vips
dcos-cli homebrew/science/alembic kubernetes-helm protobuf vnu
ddar homebrew/science/alpscore latexila protobuf-c vowpal-wabbit
dependency-check homebrew/science/artemis lean-cli protobuf-swift w3m
dhall-json homebrew/science/augustus ledger pybind11 watchman
digdag homebrew/science/bali-phy libcds pyinvoke webpack
dmd homebrew/science/bamtools libcouchbase qcli wesnoth
docker homebrew/science/bedops libebml quantlib whois
docker-completion homebrew/science/blast libftdi r ✔ widelands
docker-compose homebrew/science/bless libgcrypt ✔ rabbitmq wine
docker-compose-completion homebrew/science/boost-compute libjson-rpc-cpp rancher-cli winetricks
docker-credential-helper homebrew/science/butterflow libosinfo re2c wireshark ✔
docker-swarm homebrew/science/canu libosmium rebar@3 xctool
dovecot homebrew/science/cdo libphonenumber recon-ng xmake
druid homebrew/science/ckon libpng ✔ redex xrootd
dspdfviewer homebrew/science/cmor libqalculate remake yadm
dub homebrew/science/cufflinks libtensorflow rhash yle-dl
duck homebrew/science/cutadapt libtommath rhino youtube-dl
duplicity homebrew/science/cvblob libuv riak zabbix
dvm homebrew/science/dealii libwbxml riemann-client zanata-client
dynamips homebrew/science/delly libxml2 ripgrep zbackup
e2fsprogs homebrew/science/dgtal linkerd rocksdb zimg
efl homebrew/science/diamond llnode rom-tools zsh-syntax-highlighting
ejabberd homebrew/science/express logstash roswell zstd
elasticsearch homebrew/science/fasttree logtalk rt-audio
==> Renamed Formulae
gmt4 -> gmt@4 opencv3 -> opencv root6 -> root srtp@1.5 -> srtp@1.6
==> Deleted Formulae
gh go-gui homebrew/science/opencv homebrew/science/pillow kafka@0.80 phantomjs@1.92 phantomjs@1.98
==> Installing dependencies for jq: oniguruma
==> Installing jq dependency: oniguruma
==> Downloading https://homebrew.bintray.com/bottles/oniguruma-6.6.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring oniguruma-6.6.1.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/oniguruma/6.6.1: 17 files, 1.3MB
==> Installing jq
==> Downloading https://homebrew.bintray.com/bottles/jq-1.5_2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring jq-1.5_2.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/jq/1.5_2: 18 files, 958KB
CentOS: Enabling SSL (Doesn't work perfectly)
Command:
# cd /etc/httpd/conf.d/
# diff /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.org
Result:
105,106c105
< #SSLCertificateFile /etc/pki/tls/certs/localhost.crt
< SSLCertificateFile /etc/pki/tls/certs/ca.crt
---
> SSLCertificateFile /etc/pki/tls/certs/localhost.crt
113,114c112
< #SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
< SSLCertificateKeyFile /etc/pki/tls/private/ca.key
---
> SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
# sudo openssl genrsa -out ca.key 2048
Result:
Generating RSA private key, 2048 bit long modulus
........................................................................................+++
..........+++
e is 65537 (0x10001)
Command:
# sudo openssl req -new -key ca.key -out ca.csr
Result:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]: US
State or Province Name (full name) []: SOMEWHERE1
Locality Name (eg, city) [Default City]: SOMEWHERE2
Organization Name (eg, company) [Default Company Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []: www.myserver.com
Email Address []:admin@myserver.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: PASSWORD
An optional company name []:
Command:
# sudo openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
Result:
Signature ok
subject=/C=US/ST=SOMEWHERE1/L=SOMEWHERE2/O=Default Company Ltd/CN=www.myserver.com/emailAddress=admin@myserver.com
Getting Private key
Command:
# sudo cp ca.crt /etc/pki/tls/certs
# sudo cp ca.key /etc/pki/tls/private/ca.key
# sudo cp ca.csr /etc/pki/tls/private/ca.csr
Command:
# diff /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.org
Result:
105,106c105
< #SSLCertificateFile /etc/pki/tls/certs/localhost.crt
< SSLCertificateFile /etc/pki/tls/certs/ca.crt
---
> SSLCertificateFile /etc/pki/tls/certs/localhost.crt
113,114c112
< #SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
< SSLCertificateKeyFile /etc/pki/tls/private/ca.key
---
> SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
Command:
# apachectl restart
Result:
[Fri Sep 01 05:21:33 2017] [warn] module ssl_module is already loaded, skipping
Command:
# sudo mkdir -p /var/www/html/ssl
# sudo mkdir -p /etc/httpd/sites-available
# sudo mkdir -p /etc/httpd/sites-enabled
# apachectl restart
# vi httpd.conf
# diff httpd.conf httpd.conf.bkup20170901
Result:
217d216
< #LoadModule ssl_module modules/mod_ssl.so
1012,1021d1010
<
< #Listen 443
< #<VirtualHost *:443>
< # ServerName www.myserver.com
< # SSLEngine on
< # SSLCertificateFile "/path/to/www.example.com.cert"
< # SSLCertificateKeyFile "/path/to/www.example.com.key"
< #</VirtualHost>
<
< IncludeOptional sites-enabled/*.conf
Command:
# cat ssl.conf
Result:
<VirtualHost *:443>
ServerAdmin admin@myserver.com
DocumentRoot "/var/www/html/ssl/"
ServerName Myserver
ServerAlias myserver
ErrorLog /var/www/html/ssl/error.log
<Directory "/var/www/html/ssl/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Command:
# sudo ln -s /etc/httpd/sites-available/ssl.conf /etc/httpd/sites-enabled/ssl.conf
# apachectl restart
Result:
apachectl: Configuration syntax error, will not run "restart":
Syntax error on line 1021 of /etc/httpd/conf/httpd.conf:
Invalid command 'IncludeOptional', perhaps misspelled or defined by a module not included in the server configuration
Command:
# diff httpd.conf httpd.conf.bkup20170901
Result:
217d216
< #LoadModule ssl_module modules/mod_ssl.so
1012,1021d1010
<
< #Listen 443
< #<VirtualHost *:443>
< # ServerName www.myserver.com
< # SSLEngine on
< # SSLCertificateFile "/path/to/www.example.com.cert"
< # SSLCertificateKeyFile "/path/to/www.example.com.key"
< #</VirtualHost>
<
< Include sites-enabled/
Command:
# apachectl restart
Result:
[Fri Sep 01 05:42:50 2017] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
Reference:
http://www.techrepublic.com/article/how-to-enable-https-on-apache-centos/
# cd /etc/httpd/conf.d/
# diff /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.org
Result:
105,106c105
< #SSLCertificateFile /etc/pki/tls/certs/localhost.crt
< SSLCertificateFile /etc/pki/tls/certs/ca.crt
---
> SSLCertificateFile /etc/pki/tls/certs/localhost.crt
113,114c112
< #SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
< SSLCertificateKeyFile /etc/pki/tls/private/ca.key
---
> SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
Command:
Result:
Generating RSA private key, 2048 bit long modulus
........................................................................................+++
..........+++
e is 65537 (0x10001)
Command:
# sudo openssl req -new -key ca.key -out ca.csr
Result:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]: US
State or Province Name (full name) []: SOMEWHERE1
Locality Name (eg, city) [Default City]: SOMEWHERE2
Organization Name (eg, company) [Default Company Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []: www.myserver.com
Email Address []:admin@myserver.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: PASSWORD
An optional company name []:
Command:
# sudo openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
Result:
Signature ok
subject=/C=US/ST=SOMEWHERE1/L=SOMEWHERE2/O=Default Company Ltd/CN=www.myserver.com/emailAddress=admin@myserver.com
Getting Private key
Command:
# sudo cp ca.crt /etc/pki/tls/certs
# sudo cp ca.key /etc/pki/tls/private/ca.key
# sudo cp ca.csr /etc/pki/tls/private/ca.csr
Command:
# diff /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.org
Result:
105,106c105
< #SSLCertificateFile /etc/pki/tls/certs/localhost.crt
< SSLCertificateFile /etc/pki/tls/certs/ca.crt
---
> SSLCertificateFile /etc/pki/tls/certs/localhost.crt
113,114c112
< #SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
< SSLCertificateKeyFile /etc/pki/tls/private/ca.key
---
> SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
Command:
# apachectl restart
Result:
[Fri Sep 01 05:21:33 2017] [warn] module ssl_module is already loaded, skipping
Command:
# sudo mkdir -p /var/www/html/ssl
# sudo mkdir -p /etc/httpd/sites-available
# sudo mkdir -p /etc/httpd/sites-enabled
# apachectl restart
# vi httpd.conf
# diff httpd.conf httpd.conf.bkup20170901
Result:
217d216
< #LoadModule ssl_module modules/mod_ssl.so
1012,1021d1010
<
< #Listen 443
< #<VirtualHost *:443>
< # ServerName www.myserver.com
< # SSLEngine on
< # SSLCertificateFile "/path/to/www.example.com.cert"
< # SSLCertificateKeyFile "/path/to/www.example.com.key"
< #</VirtualHost>
<
< IncludeOptional sites-enabled/*.conf
Command:
# cat ssl.conf
Result:
<VirtualHost *:443>
ServerAdmin admin@myserver.com
DocumentRoot "/var/www/html/ssl/"
ServerName Myserver
ServerAlias myserver
ErrorLog /var/www/html/ssl/error.log
<Directory "/var/www/html/ssl/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Command:
# sudo ln -s /etc/httpd/sites-available/ssl.conf /etc/httpd/sites-enabled/ssl.conf
# apachectl restart
Result:
apachectl: Configuration syntax error, will not run "restart":
Syntax error on line 1021 of /etc/httpd/conf/httpd.conf:
Invalid command 'IncludeOptional', perhaps misspelled or defined by a module not included in the server configuration
Command:
# diff httpd.conf httpd.conf.bkup20170901
Result:
217d216
< #LoadModule ssl_module modules/mod_ssl.so
1012,1021d1010
<
< #Listen 443
< #<VirtualHost *:443>
< # ServerName www.myserver.com
< # SSLEngine on
< # SSLCertificateFile "/path/to/www.example.com.cert"
< # SSLCertificateKeyFile "/path/to/www.example.com.key"
< #</VirtualHost>
<
< Include sites-enabled/
Command:
# apachectl restart
Result:
[Fri Sep 01 05:42:50 2017] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
Reference:
http://www.techrepublic.com/article/how-to-enable-https-on-apache-centos/
Subscribe to:
Posts (Atom)