- SC1000
$
is not used specially and should therefore be escaped. - SC1001 This
\o
will be a regular 'o' in this context. - SC1003 Want to escape a single quote?
echo 'This is how it'\''s done'
. - SC1004 This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
- SC1007 Remove space after
=
if trying to assign a value (or for empty string, usevar=''
... ). - SC1008 This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a 'shell' directive to specify.
- SC1009 The mentioned parser error was in ...
- SC1010 Use s
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/env bash | |
set -eu -o pipefail | |
twitter_pic() { | |
src=/storage/emulated/0/Android/data/com.twitter.android/cache/image_cache/v2.ols100.1 | |
#echo >&2 "src: $src" | |
cd -- "$src" || _error | |
export -f _find1 | |
find . -depth -mindepth 1 -maxdepth 2 -name "*.cnt" -type f -size -11k -delete |
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/env bash | |
set -eu -o pipefail | |
be_present_command() { | |
local cmd="${1:?}" | |
if ! type -a "$cmd" &>/dev/null; then | |
echo >&2 "No command $cmd found" | |
fi | |
} |
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
# dangling なファイルのオブジェクト ID (SHA1 ハッシュ) を出力 | |
git fsck --no-progress |grep blob |sed -Ee 's/.* blob //' >.git/dangling.txt | |
# 一つずつ less に出力される | |
cat .git/dangling.txt |while read LINE || [ -n "$LINE" ]; do { echo -e "$LINE\n"; git cat-file -p $LINE; } |less; done |
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
aa Afar | |
ab Abkhazian | |
af Afrikaans | |
ak Akan | |
sq Albanian | |
am Amharic | |
ar Arabic | |
an Aragonese | |
hy Armenian | |
as Assamese |
``` BIP-0173: Base32 address format for native v0-16 witness outputs https://github.com/bitcoin/bips/master/bip-0173.mediawiki ```
- Translate: foomin10 <foomin10@gmail.com></foomin10@gmail.com>
- Date: 2017-09-01
- License: CC 0
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
あいさかゆうか 相坂優歌 人名 | |
あいざわまい 相沢舞 人名 | |
あいみ 愛美 人名 | |
あおいしょうた 蒼井翔太 人名 | |
あおきさやか あおきさやか 人名 | |
あおきるりこ 青木瑠璃子 人名 | |
あおばりんご 青葉りんご 人名 | |
あかさきちなつ 赤﨑千夏 人名 | |
あかねやひみか 茜屋日海夏 人名 | |
あかばねけんじ 赤羽根健治 人名 |
Contracts という gem のためのパッチ
Contracts.ruby by egonSchiele
http://egonschiele.github.io/contracts.ruby/
require 'contracts'
module ContractAttrAccessor
###
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
javascript:(function(t){t=''+getSelection();t=t||prompt('serch lyrics:');t&&open('https://www.google.co.jp/#num=10&safe=off&q='+encodeURIComponent(t)+'+site:www.kasi-time.com+OR+site:j-lyric.net+OR+site:www.kget.jp')}()) |
NewerOlder