未分類」カテゴリーアーカイブ

Read and compare command characters with Arduino Ethernet Shield

client.read() returns single byte.https://www.arduino.cc/reference/en/libraries/ethernet/client.read/ A simple … 続きを読む

カテゴリー: 未分類 | Read and compare command characters with Arduino Ethernet Shield はコメントを受け付けていません

バイナリデータ 文字リテラル 2進数 16進数

python整数 255 から \xff を示す1バイトのバイナリデータをつくりたい.そのために bytes.fromhex() に与える16進表示の文字列をつくりたい.整数が 0~255 の変数のときにどのようにしたら … 続きを読む

カテゴリー: 未分類 | バイナリデータ 文字リテラル 2進数 16進数 はコメントを受け付けていません

ssh 接続先をIPアドレスではなくホスト名で代替する /etc/hosts

/etc/hosts に IPaddress hostname を列挙して ssh や scp の際のIP アドレス入力をホスト名に代替可能:(例)127.0.0.1 localhost 192.168.22.22 my … 続きを読む

カテゴリー: 未分類 | ssh 接続先をIPアドレスではなくホスト名で代替する /etc/hosts はコメントを受け付けていません

plot of (x,y) data with sqrt(y) errorbar by gnuplot

A shell script: gnuplot << EOFset terminal pngset output “tmpplot.png”plot “inputfile. … 続きを読む

カテゴリー: 未分類 | plot of (x,y) data with sqrt(y) errorbar by gnuplot はコメントを受け付けていません

よく使う自然定数(原子物理)

hbar c = 197.326 980 4… MeV fm https://physics.nist.gov/cgi-bin/cuu/Value?bgspu|search_for=universal_in!

カテゴリー: 未分類 | よく使う自然定数(原子物理) はコメントを受け付けていません