Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #378

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/README-ja.md
Expand Up @@ -360,7 +360,7 @@ let g:syntastic_shell_checkers = ['shellcheck']
scrooloose / syntastic – 構文チェックプラグイン
cheat.sh-vim – Vimのサポート

Syntasticは警告とエラー(code analysysツールで見つかった: jshint 、 jshint 、 pylint 、 shellcheckt etc.), and cheat.sh-vim`を表示すると、エディタに書き込まれたプログラミング言語のクエリに関するエラーと警告と回答の説明が表示されます。
Syntasticは警告とエラー(code analysisツールで見つかった: jshint 、 jshint 、 pylint 、 shellcheckt etc.), and cheat.sh-vim`を表示すると、エディタに書き込まれたプログラミング言語のクエリに関するエラーと警告と回答の説明が表示されます。

cheat.sh Vimプラグインの最も重要な機能が表示されているデモをご覧ください(5分):

Expand Down
4 changes: 2 additions & 2 deletions lib/panela/panela_colors.py
Expand Up @@ -306,7 +306,7 @@ def put_string(self, col, row, s=None, color=None, background=None):

def put_line(self, x1, y1, x2, y2, char=None, color=None, background=None):
"""
Draw line (x1, y1) - (x2, y2) fith foreground color <color>, background color <background>
Draw line (x1, y1) - (x2, y2) fill foreground color <color>, background color <background>
and character <char>, if specified.
"""

Expand Down Expand Up @@ -394,7 +394,7 @@ def get_line(start, end):
def paint(self, x1, y1, x2, y2, c1, c2=None, bg1=None, bg2=None, angle=None, angle_bg=None):
"""
Paint rectangle (x1,y1) (x2,y2) with foreground color c1 and background bg1 if specified.
If spefied colors c2/bg2, rectangle is painted with linear gradient (inclined under angle).
If specified colors c2/bg2, rectangle is painted with linear gradient (inclined under angle).
"""

def calculate_color(i, j):
Expand Down
2 changes: 1 addition & 1 deletion lib/routing.py
Expand Up @@ -160,7 +160,7 @@ def __select_random_topic(prefix, topic_list):
wrongly_formatted_random = topic[:-8]
return wrongly_formatted_random

#Here if not a random requst, we just forward the topic
#Here if not a random request, we just forward the topic
return topic

def get_answers(self, topic: str, request_options:Dict[str, str] = None) -> List[Dict[str, Any]]:
Expand Down
2 changes: 1 addition & 1 deletion share/adapters/oeis.sh
Expand Up @@ -61,7 +61,7 @@ oeis() (
# Print Description (%N)
grep '%N' $DOC | sed "s/^.*${ID} //"
printf '\n'
# Print Sequence (Three sections %S %T nd %U)
# Print Sequence (Three sections %S %T and %U)
grep '%S' $DOC | sed "s/^.*${ID} //" | tr -d '\n' > $TMP/seq
grep '%T' $DOC | sed "s/^.*${ID} //" | tr -d '\n' >> $TMP/seq
grep '%U' $DOC | sed "s/^.*${ID} //" | tr -d '\n' >> $TMP/seq
Expand Down
4 changes: 2 additions & 2 deletions share/cht.sh.txt
Expand Up @@ -114,7 +114,7 @@ You can switch the mode with the --mode switch:
cht.sh --mode lite # use https://cheat.sh/ only
cht.sh --mode auto # use local installation

For intallation and standalone usage, you need \`git\`, \`python\`,
For installation and standalone usage, you need \`git\`, \`python\`,
and \`virtualenv\` to be installed locally.
EOF
return
Expand Down Expand Up @@ -731,7 +731,7 @@ cmd_update() {
curl -s "${CHTSH_URL}"/:cht.sh > "$TMP2"
if ! cmp "$0" "$TMP2" > /dev/null 2>&1; then
if grep -q ^__CHTSH_VERSION= "$TMP2"; then
# section was vaildated by us already
# section was validated by us already
args=(--shell "$section")
cp "$TMP2" "$0" && echo "Updated. Restarting..." && rm "$TMP2" && CHEATSH_RESTART=1 exec "$0" "${args[@]}"
else
Expand Down
6 changes: 3 additions & 3 deletions share/intro.txt
Expand Up @@ -36,8 +36,8 @@ search term will be displayed:

{1curl cht.sh/tar}{2~extract}

If the name of the cheat sheet is omitted, and only the serch query is specified,
all cheat sheets in the namespace are scanned, and the found occurrencies
If the name of the cheat sheet is omitted, and only the search query is specified,
all cheat sheets in the namespace are scanned, and the found occurrences
are displayed:

{1curl cht.sh/}{2~extract}
Expand Down Expand Up @@ -147,7 +147,7 @@ Text in the answers is syntactically formatted as comment in the correspondent
programming language

When using cht.sh, you can copy the result of the last query into the selection
buffer (you may also call it "clibpoard") using {2C} (or {2c}, with text):
buffer (you may also call it "clipboard") using {2C} (or {2c}, with text):

{1cht.sh/python> reverse list}
{4...}
Expand Down