Clojarsサインアップ.
git clone git@github.com:kaosf/clocure.git; cd clocure
gpg --gen-key.名前をkaosfでメールアドレスをka.kaosf-=at=-gmail.comにした.パスフレーズ空にしたんだけどこれまずいのかどうかもよく分からん.
ランダムな値が必要やねんでと言われたのでfind / > /dev/nullしたりブラウザ操作したりした.
| #!/bin/bash | |
| # メール送信関数 | |
| # | |
| # smtpサーバ未設定のmailコマンドや、sendmailコマンドが無いサーバでも実行できるように、 | |
| # bash & 少しのコマンドで送れる、原始的なものです。 | |
| # | |
| # 前提/制約 | |
| # | |
| # * 右記のコマンドが実行できること expect telnet cat echo whoami hostname base64 |
| #!/bin/bash | |
| cat <<EOF > hello.c | |
| #include <stdio.h> | |
| int main(void) { | |
| printf("Hello, world!\n"); | |
| return 0; | |
| } | |
| EOF | |
| gcc -o hello hello.c |
| $ wget https://raw.githubusercontent.com/git/git/34d9819e0a387be6d49cffe67458036450d6d0d5/contrib/diff-highlight/diff-highlight | |
| $ wget https://gist.githubusercontent.com/a2ikm/2dbfb89114dfa5c543ed/raw/e2d8d550ef601c9310712f4187b803658427dd42/diff-highlight.utf8.patch | |
| $ patch -u diff-highlight < diff-highlight.utf8.patch | |
| $ chmod +x diff-highlight |
| #!/usr/bin/env zsh | |
| function arp { | |
| echo "use 'ip n' instead." | |
| return 1 | |
| } | |
| function ifconfig { | |
| echo "use 'ip a (ip addr)', 'ip link', or 'ip -s (ip -stats)' instead." | |
| return 1 |
| wget http://www.stackage.org/lts/cabal.config | |
| cabal update | |
| cabal sandbox init | |
| cabal install alex happy yesod-bin | |
| export PATH=./.cabal-sandbox/bin:$PATH | |
| yesod init --bare | |
| cabal install -j --enable-tests --max-backjumps=-1 --reorder-goals | |
| yesod devel |
るびま(Ruby リファレンスマニュアル)を最新に更新するブックマークレットです
bookmarklet.jsをブックマークレットとして登録してくださいVERSION)るびまになります| FROM ubuntu:latest | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN set -ex \ | |
| && apt-get update \ | |
| && apt-get install -y --no-install-recommends xfce4 \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/* |
スポンサーの募集は締め切りました。以後は GitHub Sponsors に移行する予定です。
どのような募集をしていたか知りたい場合は履歴を確認してください。
この記事は https://medium.com/@ryardley/react-hooks-not-magic-just-arrays-cd4f1857236e の日本語訳です。途中で力尽きて雑な翻訳になってる箇所がいくつかあります。
私は、新しい Hooks の API の "magic" な挙動に悩んでいる人が結構いると聞いています。なのでこの構文の提案が、少なくとも表面的なレベルではどう動いているか、解説してみようと思います。