|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2020年01月13日(月) 旧暦 [n年日記] [更新:"2020/01/13 10:27:10"]#1 [pkgsrc] Hellow world on R
I had no experience on R (R language) so, I tried Hellow World.
Thanks to the author of above page.
@ cat hellow-world.r:
CF-SX2@makoto 19:24:52/200113(..devel/R-covr)% cat ~/prep/hellow-world.r
sayOnce <- function(value) { s <- as.character(value) print(paste("Hello, World.",s,sep = " ")) } say <- function() { for(i in 0:9) { sayOnce(i) } } say() @ R --no-save < hellow-world.r:
CF-SX2@makoto 19:24:54/200113(..devel/R-covr)% R --no-save < ~/prep/hellow-world.r
R version 3.6.1 (2019-07-05) -- "Action of the Toes" Copyright (C) 2019 The R Foundation for Statistical Computing Platform: x86_64--netbsd (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > sayOnce <- function(value) { + s <- as.character(value) + print(paste("Hello, World.",s,sep = " ")) + } > > say <- function() { + for(i in 0:9) { + sayOnce(i) + } + } > > say() [1] "Hello, World. 0" [1] "Hello, World. 1" [1] "Hello, World. 2" [1] "Hello, World. 3" [1] "Hello, World. 4" [1] "Hello, World. 5" [1] "Hello, World. 6" [1] "Hello, World. 7" [1] "Hello, World. 8" [1] "Hello, World. 9" > ( つっこみ )
2020年01月05日(日) 旧暦 [n年日記] [更新:"2020/01/07 14:35:29"]#1 [LetsEncrypt][and][Cyrus] Certificate renewed.@ certificate (pem) location:
@ imapd:
one more command is necessary after certbot update
2020-01-05 07:57 cat fullchain.pem privkey.pem > full+priv.pem imap4@root 08:01:10/200105(..pkg/etc)% ls -lLR letsencrypt/live total 4 drwxr-xr-x 2 root wheel 512 Jan 5 07:57 imap4.example.com letsencrypt/live/imap4.example.com: total 44 -rw-r--r-- 1 root wheel 1903 Dec 18 23:35 cert.pem -rw-r--r-- 1 root wheel 1647 Dec 18 23:35 chain.pem -rw-r--r-- 1 root wheel 5254 Jan 5 07:57 full+priv.pem -rw-r--r-- 1 root wheel 5197 Dec 18 23:54 full+priv.pem-5197 (old and bad one) -rw-r--r-- 1 root wheel 3550 Dec 18 23:35 fullchain.pem -rw------- 1 root wheel 1704 Dec 18 23:35 privkey.pemCF-SX3@makoto 07:17:40/200105(~)% openssl x509 -text -noout -in <(openssl s_client -connect imap4.example.com:993 ) | grep -A3 Validity depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3 verify return:1 depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3 verify return:1 depth=0 CN = imap4.example.com verify return:1 DONE Validity Not Before: Dec 18 13:35:18 2019 GMT Not After : Mar 17 13:35:18 2020 GMT Subject: CN = imap4.example.com CF-SX3@makoto 08:00:03/200105(~)% @ submission port:
587 port needs different command to check the valid thru date
22:42:41/200107(~)% openssl s_client -connect imap4.example.com:587 -starttls smtp | openssl x509 -noout -dates depth=0 CN = imap4.example.com verify error:num=20:unable to get local issuer certificate verify return:1 depth=0 CN = imap4.example.com verify error:num=21:unable to verify the first certificate verify return:1 250 HELP notBefore=Dec 18 13:35:18 2019 GMT notAfter=Mar 17 13:35:18 2020 GMT ( つっこみ )
|
最近の日記 2024年05月06日 ・py-setuptools (python 3.11.1) ・make release took 1 hours and 10 min ・qemu invocation for 10.99.10 2024年05月05日 ・Windows 10 version ・serial connection ・bc bench 2024年05月04日 ・Trial on 10.99.10 ・another version (later trial) to succeed 2024年04月29日 ・dkim 2024年03月10日 ・停電 (瞬電) | ||