Skip to content

Instantly share code, notes, and snippets.

View micheam's full-sized avatar
🖖
now working from home with Vim.

Michito Maeda micheam

🖖
now working from home with Vim.
View GitHub Profile
@micheam
micheam / codesandbox.html
Last active March 18, 2025 19:35
Hugo shortcode for CodeSandbox Embed.
{{ $defaultWidth := "100%" }}
{{ $defaultHeight := "500px" }}
{{ if .IsNamedParams }}
<iframe
src="https://codesandbox.io/embed/{{ .Get "id" }}?codemirror=1&fontsize=13&hidenavigation=1&theme=dark&view=preview"
style="width:{{ with .Get "width" }}{{.}}{{ else }}100%{{ end }}; height:{{ with .Get "height" }}{{.}}{{ else }}{{ $defaultHeight }}{{ end }}; border:0; border-radius: 4px; overflow:hidden;"
title="{{ with .Get "title" }}{{.}}{{ else }}{{ .Get "id" }}{{ end }}"
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
@otaon
otaon / git-prefix.md
Last active March 30, 2022 03:52
gitのcommitで使用するプレフィックス
@athos
athos / deps.edn
Last active June 2, 2024 08:57
Try on your terminal `clojure -Sdeps '{:deps {hello-clojure/hello-clojure {:git/url "https://gist.github.com/athos/b68b15b08efedffaf14d8c020b125202" :git/sha "099bdf7d565b2c35c1df601abf58514cc5276237"}}}' -M -m hello-clojure`
{:paths ["."]
:deps {clansi/clansi {:mvn/version "1.0.0"}}}
@ikeisuke
ikeisuke / client
Last active June 18, 2021 06:02
golangで書くunix domain socketを使ったserver/clientのサンプルコード ref: http://qiita.com/ikeisuke/items/f5eccc178ed388aac92f
$ go run client.go /tmp/uds-sample-server.sock 0123456789abcdefghijklmnopqrstuvwxyz
# サーバーへの送信データ
client.go:28: send: 0123456789abcdefghijklmnopqrstuvwxyz
# サーバーからの受信データ
client.go:44: receive: 0123456789
client.go:44: receive: abcdefghij
client.go:44: receive: klmnopqrst
client.go:44: receive: uvwxyz0123
client.go:44: receive: 456789abcd
client.go:44: receive: efghijklmn
@mono0926
mono0926 / commit_message_example.md
Last active June 3, 2025 20:41
[転載] gitにおけるコミットログ/メッセージ例文集100

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 2, 2025 12:42
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites