https://ja.wikipedia.org/wiki/JavaScript_Object_Notation
- Python標準に含まれている
- 仕様が厳格に決まっている
https://ja.wikipedia.org/wiki/JavaScript_Object_Notation
| # Install Time Machine service on CentOS 7 | |
| # http://netatalk.sourceforge.net/wiki/index.php/Netatalk_3.1.7_SRPM_for_Fedora_and_CentOS | |
| # http://confoundedtech.blogspot.com/2011/07/draft-draft-ubuntu-as-apple-time.html | |
| yum install -y rpm-build gcc make wget | |
| # install netatalk | |
| yum install -y avahi-devel cracklib-devel dbus-devel dbus-glib-devel libacl-devel libattr-devel libdb-devel libevent-devel libgcrypt-devel krb5-devel mysql-devel openldap-devel openssl-devel pam-devel quota-devel systemtap-sdt-devel tcp_wrappers-devel libtdb-devel tracker-devel | |
| yum install -y bison docbook-style-xsl flex dconf |
| 更新: | 2017-05-09 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 3.14 |
| URL: | http://voluntas.github.io/ |
MQTT をググって調べた人向け
| void setup() { | |
| Serial.begin(9600) ; | |
| pinMode(13, OUTPUT); | |
| pinMode(2, INPUT_PULLUP); | |
| } | |
| unsigned long prev=0; | |
| void loop() { | |
| int x; | |
| unsigned long current = millis(); |
Magic numbers are the first bits of a file which uniquely identify the type of file. This makes programming easier because complicated file structures need not be searched in order to identify the file type.
For example, a jpeg file starts with ffd8 ffe0 0010 4a46 4946 0001 0101 0047 ......JFIF.....G ffd8 shows that it's a JPEG file, and ffe0 identify a JFIF type structure. There is an ascii encoding of "JFIF" which comes after a length code, but that is not necessary in order to identify the file. The first 4 bytes do that uniquely.
This gives an ongoing list of file-type magic numbers.
| #!/bin/bash | |
| # Slack notification script for Munin | |
| # Mark Matienzo (@anarchivist) | |
| # | |
| # To use: | |
| # 1) Create a new incoming webhook for Slack | |
| # 2) Edit the configuration variables that start with "SLACK_" below | |
| # 3) Add the following to your munin configuration: | |
| # |
This is the hack approach to adding environment variables to the nginx configuration files. As with most Google results for this search, the reason is Docker.
I intended to deploy two Docker containers.