Skip to content

Instantly share code, notes, and snippets.

@voluntas
voluntas / learning-webrtc_2023-05.md
Last active March 16, 2024 15:30
時雨堂 WebRTC 入門 (講師資料) v2023-05

時雨堂 WebRTC 入門 (講師資料) v2023-05

これは時雨堂が開催しているオンラインイベントである WebRTC 入門の 講師用 の資料であり、 参加者用の資料ではありません。

時雨堂 WebRTC 入門 オンラインイベント

概要

ChatGPT がある今、学ぼうと思えば好きなだけ学べる時代がきています。

放送で紹介する用。書きかけです。

ちょっと伸びたのでさらに追記。これは元々自分の勉強がてら書いていたもので、これを書く過程でどうしても自分の理解では説明できないところがあり koba789 に依頼してペアプロをしてもらった、という流れがあります。その結果が次の動画です。

https://t.co/FIBmVrR83U

生放送の流れを円滑にするために資料を公開しましたが、この記事は未完成で、あとでさらに整理して別途記事にまとめるつもりです


@sts10
sts10 / rust-command-line-utilities.markdown
Last active July 21, 2024 11:17
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@sheepla
sheepla / ghq-fzf.zsh
Last active February 17, 2024 14:05
ghq で管理しているリポジトリに Ctrl-g で cd する on zsh
#
# ghq-fzf.zsh
#
# ABOUT:
# `cd` to `ghq` repositories directory on `zsh`
# You can launch this function with `Ctrl-g`
#
# INSTALLATION:
# Requires `zsh` and `fzf`
# Download this file then, append `source path/to/fzf-ghq.zsh` to your `~/.zshrc`
@azu
azu / 英語 文書 翻訳 読む ツール まとめ.md
Last active November 17, 2023 16:11
英語の文書を翻訳して読むときのツールのまとめ
@donaldpipowitch
donaldpipowitch / README.md
Last active July 11, 2024 11:32
Use GitLab Pages to deploy a Storybook per branch

It's quite straightforward to use GitLab Pages to deploy a Storybook instance per branch (and remove it whenever the branch will be removed). And yeah, it's irony to document this in a GitHub Gist 😅

You just need a .gitlab-ci.yml like this one:

stages:
  - setup
  - build-and-test
  - deployment
  - pages
@ryo-ARAKI
ryo-ARAKI / starship.toml
Last active July 19, 2024 02:20
Starship configuration file
# ~/.config/starship.toml
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = ""
[[battery.display]]
threshold = 30
style = "bold red"
@mpppk
mpppk / clean_architecture.md
Last active July 22, 2024 06:48
クリーンアーキテクチャ完全に理解した

2020/5/31追記: 自分用のメモに書いていたつもりだったのですが、たくさんのスターを頂けてとても嬉しいです。
と同時に、書きかけで中途半端な状態のドキュメントをご覧いただくことになっており、大変心苦しく思っています。

このドキュメントを完成させるために、今後以下のような更新を予定しています。

  • TODO部分を埋める
  • 書籍を基にした理論・原則パートと、実装例パートを分割
    • 現在は4層のレイヤそれぞれごとに原則の確認→実装時の課題リスト→実装例という構成ですが、同じリポジトリへの言及箇所がバラバラになってしまう問題がありました。更新後は、実装時の課題リストを全て洗い出した後にまとめて実装を確認する構成とする予定です。

2021/1/22追記:

@dikarel
dikarel / ml5.d.ts
Last active July 15, 2024 05:12
ml5.js TypeScript definitions draft
// Not quite there yet, but better than nothing
// TODO: JSDoc, based on website documentation
// TODO: Interface/class types for each of these ML algorithm instances
// TODO: Break this apart into multiple files for readability
// TODO: Test autocomplete in a vanilla JS project
// TODO: Test autocomplete in a TypeScript project
import { MediaElement } from "p5";
export as namespace ml5;
@orimajp
orimajp / github-pages-nuxt-spa-reload-problem.md
Created July 2, 2019 16:18
Github Pagesに公開したNuxt.jsアプリがリロードで404になる問題に対応する

Github Pagesに公開したNuxt.jsアプリがリロードで404になる問題に対応する

Next.jsで作成したSPAアプリにおいて動的に変更されるパスに対応したページをリロードすると404 Not Foundになる問題への対応方法を記述する。

本現象の原因

Nuxt.jsでは静的ファイル生成時には動的ルーティングに対応したルーティングが無視され、動的ルーティング用ファイルが生成されないため、この現象が発生する。

静的ルーティング

/listというパスに対して、/list/index.htmlというファイルが生成される。

動的ルーティング