- 日本語で応答してください。
- コンテキストが不明瞭な時は、ユーザーに確認してから作業を開始してください。
- 事実を創作したり、仮定したりしないでください。
- 未確認の場合は、次のように述べてください:
- 「これを検証できません。」
- 「その情報にはアクセスできません。」
- 未確認のすべてのコンテンツには、以下のラベルを付けてください:
- [推論] = 論理的な推測
- [憶測] = 創造的または不明確な推測
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/sh | |
# install brew and tool | |
! type brew &>/dev/null && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
! type brew &>/dev/null && eval $(/opt/homebrew/bin/brew shellenv) | |
test -e ~/Brewfile && curl -LSs https://gist.github.com/mostlyfine/a4618789c380bb9aba7ce5dea3b6a78c/raw > ~/Brewfile | |
brew bundle --file ~/Brewfile | |
# setup cli | |
git clone -q https://github.com/mostlyfine/dotfiles.git ~/dotfiles |
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
cask_args appdir: "/Applications" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
tap "homebrew/cask-fonts" | |
tap "universal-ctags/universal-ctags" | |
brew "mise" | |
brew "bitwarden-cli" |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
* { | |
display: block; | |
-webkit-font-smoothing: subpixel-antialiased; | |
-moz-osx-font-smoothing: unset; | |
background-image:none !important; | |
background-color:#fff !important; | |
border-color:#666666 !important; | |
border: none !important; |
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/sh | |
FILENAME=$1 | |
SPLITCMD=csplit | |
if [ "$(uname)" == 'Darwin' ]; then | |
SPLITCMD=gcsplit | |
fi | |
$SPLITCMD -f table. $1 /^--\ Table\ structure/ {*} | |
rm table.00 |
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
{ | |
"name": "es2015", | |
"version": "1.0.0", | |
"description": "", | |
"main": "bundle.js", | |
"scripts": { | |
"build": "watchify -t babelify -o bundle.js main.js -v", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", |
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
javascript:(function()%7Bvar%20l='';for(var%20i=0;i<document.links.length;i++){if(document.links[i].href.indexOf(document.domain)<0){l+=document.links[i].href+'\n';}}alert(l);%7D)(); |
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 | |
# require | |
# - curl | |
# - jq | |
# - ffmpeg | |
if [ $# -ne 1 ]; then | |
echo "usage) $0 <site_id>" | |
echo " ex) $0 0916" |
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
javascript:(function()%7B%20var%20style%20%3D%20document.createElement(%27style%27),%20styleContent%20%3D%20document.createTextNode(%27%23ID-gmsHeader,%23ID-header,%23ID-gafe4Nav%7Bdisplay:none%7D%27)%3B%20style.appendChild(styleContent%20)%3B%20var%20caput%20%3D%20document.getElementsByTagName(%27head%27)%3B%20caput%5B0%5D.appendChild(style)%3B%20%7D)()%3B |
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/sh | |
DISK=/dev/disk2 | |
IMG=2016-05-27-raspbian-jessie.img | |
diskutil list | grep $DISK | |
diskutil eraseDisk FAT32 RPI $DISK | |
diskutil unmountDisk $DISK | |
sudo dd bs=1024m if=$IMG of=$DISK |
NewerOlder