Open Graph Protocol
Twitter, FacebookなどのSNSでリンクをシェアするときに、リンクのタイトルや画像(サムネイル)を伝えるためのタグ情報
WordPressプラグイン "All in One SEO" で設定
- 無料版でもogimageを設定できる。しかし、その他の機能が多い。
Open Graph Protocol
Twitter, FacebookなどのSNSでリンクをシェアするときに、リンクのタイトルや画像(サムネイル)を伝えるためのタグ情報
定義と初期化
1 2 3 4 5 |
int x = 0; int main(void) { /* 中略 */ } |
翻訳単位外(ファイルの外)で定義したグローバル変数を参照する。メモリは割り当てない。
1 2 3 4 5 |
extern int x; int main(void) { /* 中略 */ } |
どこかに外部定義があれば外部宣言としてふるまい、なければ外部定義としてふるまう。
したがって同じ名前の仮定義が複数存在しても、ひとつのメモリ領域を参照する。
1 2 3 4 5 |
int x; int main(void) { /* 中略 */ } |
上記のソースコードだけでは『定義』であるか『宣言』であるか確定できない。
Visual Studio Code 起動(拡張機能アクティブ化)のタイミングで、C/C++ Extension がコンパイラ(cl.exe)を呼び出し、意図しない設定に変更してしまう。
1 2 3 4 5 6 7 8 9 |
% brew update Error: homebrew-core is a shallow clone. To `brew update` first run: git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" fetch --unshallow This restriction has been made on GitHub's request because updating shallow clones is an extremely expensive operation due to the tree layout and traffic of Homebrew/homebrew-core. We don't do this for you automatically to avoid repeatedly performing an expensive unshallow operation in CI systems (which should instead be fixed to not use shallow clones). Sorry for the inconvenience! |
ファイル ⇒ オプション ⇒ クリック アクセス ツール バー
Microsoft Excel for Office 365 MSO (16.0.12527.21294)
2020年現在の開発環境のメモ。開発環境は日々アップデートされています。
C/C++言語をベースとした "Arduino言語" で開発。USBシリアル経由で本体Flash Memoryにコンパイルされたプログラムを書き込む。
Arduino IDEにおいて(サンプルスクリプトの)コンパイルが失敗する。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Traceback (most recent call last): File "/Users/Nobody/Library/Arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py", line 37, in <module> import serial ImportError: No module named serial exit status 1 ボードM5Stack-Core-ESP32に対するコンパイル時にエラーが発生しました。 「ファイル」メニューの「環境設定」から 「より詳細な情報を表示する:コンパイル」を有効にすると より詳しい情報が表示されます。 Arduino:1.8.13 (Mac OS X), ボード:"M5Stack-Core-ESP32, QIO, 80MHz, Default, 921600, None" |
Arduino IDEにおいて(サンプルスクリプトの)コンパイルが失敗する。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
Traceback (most recent call last): File "esptool.py", line 57, in <module> File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "serial/tools/list_ports.py", line 29, in <module> File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "serial/tools/list_ports_posix.py", line 31, in <module> File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "serial/tools/list_ports_osx.py", line 32, in <module> ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found Failed to execute script esptool exit status 255 /Applications/Arduino.app/Contents/Java/arduino-builderが255を返しました。 ボードM5Stack-Core-ESP32に対するコンパイル時にエラーが発生しました。 「ファイル」メニューの「環境設定」から 「より詳細な情報を表示する:コンパイル」を有効にすると より詳しい情報が表示されます。 Arduino:1.8.13 (Mac OS X), ボード:"M5Stack-Core-ESP32, QIO, 80MHz, Default, 921600, None" |