2023-01-01から1年間の記事一覧
//スリープを無効 sudo pmset disablesleep 1 //スリープを有効 sudo pmset disablesleep 0
flowchart BT subgraph ローカル環境 subgraph remoteBranch["リモート追跡ブランチ"] origin/hoge upstream/hoge end subgraph localRepo ["ワーキングディレクトリ"] end subgraph index["インデックス (ステージング)"] ローカルブランチ end subgraph al…
FILE_NAME="inputfile.m4a" && ffmpeg -f lavfi -i color=c=black:s=480x360:d=10 -i ${inputfile} -c:v libx264 -c:a aac -strict experimental -t "$(ffprobe -i ${inputfile} -show_entries format=duration -v quiet -of csv='p=0')" $(echo $inputfile …
単純にstyled-componentsを'edgesout' とエラーが出たのでLTSバージョンをインストール npm i -D styled-components@5.3.10 Typescript用の型定義もインポート npm i -D @types/styled-components@5.1.26
プロジェクト作成 next バージョン 13.4.2 storybook バージョン 7.0.11 npx create-next-app@latest --ts npm i sb@latest type nextjs npm sb init Storybookのサンプル内のエラー修正 eslintで警告されたエスケープ処理を修正 "args" of child …
# focus window alt - x : yabai -m window --focus recent alt - h : yabai -m window --focus west alt - j : yabai -m window --focus south alt - k : yabai -m window --focus north alt - l : yabai -m window --focus east # swap window shift + alt…
const link = document.createElement('a'); document.body.appendChild(link); //Promiseを返却して処理を止める function pause() { return new Promise( (resolve, reject) => { setTimeout(resolve, 1000); } ); } const files = [ "file1", "file2", "f…
=query('シート1'!A:D,"where D like '"&A1&"%'")
"ダブルクオーテーション,{}中括弧はエスケープ対象 'シングルクオーテーションはエラー対象 var hoge = "HOGE" $"(function(){{ console.log(/"{hoge}/") }})();" ↓ ↓ (function(){ console.log("HOGE") })();