[](https://mermaid.live/edit#pako:eNp9kkFLAkEUx7_KMKcNFKHjHAKdVfBq170s7liCq7HuBiGC7ISbUGRFoGYQ1SGsQIhMQ_oyr92tb9G4OxtF0DCH93i__-P_5k0LlxsGwwQ3bd1malXfsnQzvbuu1ZE4WYLCl7vPi24G3Cfg4p6Aewv8PgPcA94HzsGdxmyOIOAT4JfgzoEfRPEyOO773qvfO4oZ-g_zdiiaDlYdeS-mVUmvIHAXfmf4cTNWSnQtLucJKtFg4AVXS-V93gmGbjjaD0-n_rUwtQDejWTz8LEnBQWCgnEnfHa_ZcH4ITyfxBoJ0aKYeTYMZyPRDfiZGFYYUmgxqau_6l5krx-bVKgqqSxKpzdQTr5MlFCpjxJVThgleTlPlBR-YrSYmPqrompiKG6CcAqbzDL1qiHW2VoVNWxvM5NpmIjQYBXdqdka1uptgTo7hlh43qjaDQuTil5rshTWHbuxuVcvY2JbDksg-Ssk1f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eux | |
sudo apt install git curl | |
git clone https://github.com/kijimaD/dotfiles.git ~/dotfiles | |
cd ~/dotfiles/nix | |
./bootstrap.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 以下のおみくじをRubyスクリプトで作ってみてください。 | |
# | |
# ・大吉10枚、中吉20枚、小吉30枚、末吉30枚、凶10枚入ったおみくじがあります。 | |
# ・抽選して1回1枚引きます | |
# ・引いたおみくじ分を減らして再度抽選出来るようにしてください | |
# ・抽選確率は残った枚数を均等で計算してください | |
# ・DBなどのストレージは使わないでください | |
class Kuji | |
def initialize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This is an operating system configuration for a VM image. | |
;; Modify it as you see fit and instantiate the changes by running: | |
;; | |
;; guix system reconfigure /etc/config.scm | |
;; | |
(use-modules (gnu) (guix) (srfi srfi-1)) | |
(use-service-modules desktop mcron networking spice ssh xorg) | |
(use-package-modules bootloaders certs fonts nvi | |
package-management wget xorg) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Bookmarklet for GitHub Project board. Switch assigner quickly. | |
var element = document.getElementsByName("card_filter_query" )[0]; | |
element.value = "assignee:kijimaD" ; | |
element.dispatchEvent(new KeyboardEvent("input")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For bookmarklet. Copy clipboard excluding with 100.0% category. | |
// Bookmarklet compress: https://ytyng.github.io/bookmarklet-script-compress/ | |
const CATEGORIES = [ | |
"All", | |
"Con", | |
"Cha", | |
"Mod", | |
"Mai", | |
"Hel", |
assignee:kijimaD is:issue closed:2021-01-01T00:00:00+09:00..2021-03-31T00:00:00+09:00 label:"事業要望"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# フック、自動実行されるようにしたい | |
git gc | |
git fetch --prune |
rbenv global 2.7.2して、 gem install rubocop gem install rubocop-rails M-x flycheck-compile
NewerOlder