Tuesday, March 24, 2020

ob-js, javascript, nodejs in org babel in Emacs

1. install from default packagge
  > refer from > How to Install Latest Nodejs on LinuxMint 19/18
 ->  https://tecadmin.net/install-latest-nodejs-npm-on-linux-mint/

> install default pacakge with apt-get
sudo apt-get install nodejs

node -v
: v8.xx.x

> remove
sudo apt-remove nodejs
sudo apt remove nodejs-doc

sudo apt remove npm

 sudo apt-get autoremove

2. install from nodejs and github node 10, node 12
https://nodejs.org/en/download/package-manager/
https://github.com/nodesource/distributions/blob/master/README.md

>Node.js v10.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs


- Node.js v12.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs

- check
node -v
v12.16.1

npm -v
6.13.4


3. Emacs
  Org-babel-js

3-1. if yo got some eorr like following
https://emacs.stackexchange.com/questions/55690/org-babel-javascript-error

#+begin_src js
  console.log("Hello");
#+end_src

/tmp/babel-8kqQwQ/js-script-shBzKH:1
require('sys').print(require('sys').inspect(function(){
....

+begin_src js :results output
console.log("Hello, World!");
#+end_src

#+RESULTS:
: Hello, World!
(then add org header)

#+PROPERTY: header-args:js :results output


#+begin_src js
console.log("Hello");
#+end_src

#+RESULTS:
: Hello

Saturday, March 21, 2020

알츠하이머 예방 효과 - 엔브렐

은폐된 자료, 알츠하이머 예방 효과

지난 6월 4일 <워싱턴포스트>는 화이자가 엔브렐이 알츠하이머 치매에 효과가 있다는 사실을 은폐했다고 발표했다. 화이자 내부 연구팀이 2015년 보험 기록을 검토하던 중 엔브렐을 복용한 사람이 그렇지 않은 사람에 비해 알츠하이머 발병 위험이 64%나 줄어..

https://news.v.daum.net/v/20190619092102745

Sunday, March 08, 2020

MU / mu4e / short key


C-c RET f mml-attach-file (Attach with MIME)
C-c RET e mml-attach-external (Attach external file)
C-c RET b mml-attach-buffer   (Attach buffer; save to file)
S-return (mu4e-view-save-attach)
R reply
F forward
C compose
m move message other folder
u umark
U umark all
d to trash
D delete mark
? ! mark msg as unread/read

사물인터넷과 LTE의 관계 (NB-IoT, LTE-M)

사물인터넷과 LTE의 관계 (NB-IoT, LTE-M)
..
요금제명월 요금데이터 제공량
LPWA 33330 원100 KB
LPWA 1101,100 원5 MB
LPWA 2202,200 원15 MB

Pranten

 Pranten