$ curl https://get.docker.com/ | sh
$ sudo sh -c 'usermod -a -G docker $SUDO_USER'
再ログイン
This file contains 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
[ | |
{ | |
"key": "cmd+shift+v", | |
"command": "editor.action.clipboardPasteAction" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "editor.action.deleteLines" | |
}, | |
{ |
This file contains 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
------- | |
# Version | |
ARG MASTODON_VERSION=2.5.0rc1 | |
# に変更 | |
------- |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am nacika-ins on github. | |
* I am nacika (https://keybase.io/nacika) on keybase. | |
* I have a public key ASDbOqWqOZwxjsr42xs8N56DJYkLX5ryNE1YWSWewdxOnAo | |
To claim this, I am signing this object: |
This file contains 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
FROM ubuntu:latest | |
RUN apt-get -y update | |
RUN echo "mysql-server mysql-server/root_password password root" | debconf-set-selections && \ | |
echo "mysql-server mysql-server/root_password_again password root" | debconf-set-selections && \ | |
apt-get -y install mysql-server net-tools | |
RUN apt-get -y install php php-mysql nginx php-fpm wget vim | |
RUN apt-get install -y iputils-ping lsof |
This file contains 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
(function () { | |
const synth = window.speechSynthesis; | |
const home = document.querySelector('.item-list[role="feed"]') | |
const observer = new MutationObserver(function(mutations) { | |
mutations.forEach(function(mutation) { | |
const name = (mutation.addedNodes[0].querySelector(".display-name strong").textContent || "") | |
.replace(/@/g, "アットマーク") | |
; | |
const text = (mutation.addedNodes[0].querySelector("p").textContent || "") | |
.replace(/https?:\/\/[\w/:%#\$&\?\(\)~\.=\+\-]+/g, "") |
This file contains 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 | |
# usage | |
#------------------------------------------------------------ | |
# ./mk_ws.sh --name hoge --port 8882 | |
args=$(getopt -l "name:" -l "port:" -o "n:" -o "p:" -- "$@") | |
eval set -- "$args" | |
while [ $# -ge 1 ]; do | |
case "$1" in |
This file contains 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 | |
# usage | |
#------------------------------------------------------------ | |
# ./mk_ws.sh --name hoge --port 8882 | |
args=$(getopt -l "name:" -l "port:" -o "n:" -o "p:" -- "$@") | |
eval set -- "$args" | |
while [ $# -ge 1 ]; do | |
case "$1" in |
(void) - cardboardView:didFireEvent:
ユーザーイベントが発生したときに呼び出されます
(void) - cardboardView:willStartDrawing:
最初のフレームが描画される前に呼ばれます
(void) - cardboardView:prepareDrawFrame:
各フレームの開始前に繰り返し呼ばれます
(void) - cardboardView:drawEye:withHeadTransform:
OpenGL レンダリングを実行するために、各フレーム毎に呼び出されます
(void) - cardboardView:shouldPauseDrawing:
This file contains 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
machine: | |
pre: | |
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0 | |
services: | |
- docker | |
dependencies: | |
pre: | |
- pip install docker-compose | |
test: |
NewerOlder