svgアイコンをsymbolで定義してuseで効率的に使う
SVGアイコンを手軽かつ効率的に導入する方法のご紹介。外部CSSやJSライブラリも一切不要!自作のSVG画像もアイコンとして組み込み可能です!
ターミナルからBluetooth経由でファイル送信
Linux上でコマンドラインからBluetooth経由でファイルを送信する方法。bluetooth関連ソフトウェアのセットアップ方法も。
node-mysqlで結果一覧をfor await ofで捌く
node-mysqlで for await ... of を使ったモダンなDB検索結果処理を書く方法。StreamからAsyncIteratorへ。
国土地理院APIでお手軽ジオコーディング&逆ジオコーディング
こちらで紹介している国土地理院のAPIを使えば、Google Maps APIを使わなくても会員登録不要でお手軽にジオコーディング&逆ジオコーディングが可能です。
TODO要素を作って覚えるカスタム要素
Custom Elements (カスタム要素) を理解する一番の近道は、実際に何かテキトーなカスタム要素を一つ作ってみることではないかと思います。そこで今回は、TODOを管理できる簡単なカスタム要素 todo-element を実際に作ってみたいと思います。