GithubHelp home page GithubHelp logo

Comments (5)

CleanMachine1 avatar CleanMachine1 commented on June 7, 2024

This is most likely an issue on your network from what I can tell.

Can you run this command
curl https://raw.githubusercontent.com/tldr-pages/tldr/master/pages/common/ls.md
and paste the output.

Also check if the website loads in your web browser.

from tldr-python-client.

0xSunsetJe3us avatar 0xSunsetJe3us commented on June 7, 2024

curl https://raw.githubusercontent.com/tldr-pages/tldr/master/pages/common/ls.md
result: curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

from tldr-python-client.

CleanMachine1 avatar CleanMachine1 commented on June 7, 2024

This is a problem with your network, not tldr

from tldr-python-client.

CleanMachine1 avatar CleanMachine1 commented on June 7, 2024

I'm guessing from your Github location, you are located in China, which I believe has some bans on Github's services, you may want to change some code to find a github mirror which isn't banned.

from tldr-python-client.

lemonnuggets avatar lemonnuggets commented on June 7, 2024

For me curl works as expected but I get the error when I try using tldr for a page it doesn't have stored already.

Output from curl https://raw.githubusercontent.com/tldr-pages/tldr/master/pages/common/sed.md

# sed

> Edit text in a scriptable manner.
> See also: `awk`, `ed`.
> More information: <https://www.gnu.org/software/sed/manual/sed.html>.

- Replace all `apple` (basic regex) occurrences with `mango` (basic regex) in all input lines and print the result to `stdout`:

`{{command}} | sed 's/apple/mango/g'`

- Execute a specific script [f]ile and print the result to `stdout`:

`{{command}} | sed -f {{path/to/script.sed}}`

- Print just a first line to `stdout`:

`{{command}} | sed -n '1p'`

Output from tldr sed

Error fetching from tldr: <urlopen error [Errno 104] Connection reset by peer>

I've installed tldr via yay.
Version tldr 3.2.0 (Client Specification 1.5)

from tldr-python-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.