症状
CMakeLists.txtが見つからない。
1 2 3 |
$ cmake .. CMake Error: The source directory "/home/.../src/" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. |
CMakeLists.txtが見つからない。
1 2 3 |
$ cmake .. CMake Error: The source directory "/home/.../src/" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. |
"WSL (Windows Subsystem for Linux) 2" における Windows ⇔ Linux 間のファイルの参照方法
リモートリポジトリのブランチの削除を試みると fatal が発生する。
1 2 3 4 |
$ git push origin :my_branch remote: fatal: bad object 0000000000000000000000000000000000000000 To https://github.com/JaneDoe/my_repository - [deleted] my_branch |
表示(V) ⇒ コマンド パレット…
Ctrl + Shift + P
過去の特定のコミットからブランチを作成する方法
1 |
git checkout <rev> -b <branchname> |
1 |
$ git checkout 6bf73e8 -b my_new_branch |
MS-DOS互換のショートファイル名(short filename ; SFN)/8.3形式を表示させる方法
プリプロセッサへの命令
#include
#define
#if
#ifdef
#error
#warning
#pragma
Visual Studio Code の設定ファイル "settings.json" の保存場所
1 |
C:\Users\${UserName}\AppData\Roaming\Code\User\settings.json |
1 |
$HOME/Library/Application Support/Code/User/settings.json |
1 |
$HOME/.config/Code/User/settings.json |
1 |
${workspaceFolder}/.vscode/settings.json |
Open Graph Protocol
Twitter, FacebookなどのSNSでリンクをシェアするときに、リンクのタイトルや画像(サムネイル)を伝えるためのタグ情報