Comments (12)
I see no problem clicking into that link :)
from leetcode_101.
it works now.
but it often does not work.
github.com is more stable than raw.githubusercontent.com.
from leetcode_101.
Sorry I don't understand your point. Didn't you use the link starting with github.com?
from leetcode_101.
if you run
wget https://github.com/changgyhub/leetcode_101/raw/master/LeetCode%20101%20-%20A%20LeetCode%20Grinding%20Guide%20(C%2B%2B%20Version).pdf
you will see returns 302 code and redirects to another domain
from leetcode_101.
Again, what is your point?
cannot visit following link
https://github.com/changgyhub/leetcode_101/blob/master/LeetCode%20101%20-%20A%20LeetCode%20Grinding%20Guide%20(C%2B%2B%20Version).pdf
If you cannot access github.com, then it's not the fault of this repo.
it works now.
but it often does not work.
github.com is more stable than raw.githubusercontent.com.
Your link is not raw.githubusercontent.com.
if you run
wget https://github.com/changgyhub/leetcode_101/raw/master/LeetCode%20101%20-%20A%20LeetCode%20Grinding%20Guide%20(C%2B%2B%20Version).pdf
you will see returns 302 code and redirects to another domain
That just a web page ending in .pdf. You are not supposed to wget it.
But if you do, you will see the link gets redirected to https://raw.githubusercontent.com/changgyhub/leetcode_101/master/LeetCode%20101%20-%20A%20LeetCode%20Grinding%20Guide%20(C%2B%2B%20Version).pdf, which is where github stores files. That means wget-ing either one will let you download the pdf file.
from leetcode_101.
if the file be put on the release section, the link will be sth like https://github.com/lightvector/KataGo/releases/download/v1.8.1/katago-v1.8.1-cuda11.1-linux-x64.zip .and will not redirect to raw.githubusercontent.com
if the file be put as an attachment. the link will be sth like https://github.com/lightvector/KataGo/files/6218062/katagoLBSU.zip . it won't redirect either.
so I request the file be put on this two places.
from leetcode_101.
http://blog.sina.cn/dpool/blog/s/blog_c2972c530102z0f9.html described the problem of raw.githubusercontent.com.
but I cannot do that on the phone
from leetcode_101.
anyway. I already download the file when it works. thanks for your nice work.
from leetcode_101.
and another easy way to download all the files.
go to the code section and click green button. download the zip file also works. the link is
https://github.com/changgyhub/leetcode_101/archive/refs/heads/master.zip
from leetcode_101.
I am confused. I encourage you to check what you have commented yourself. I cannot find the logic.
Are you teaching me how to download files? Well then, thank you?
Are you correcting me? I ain't say anything like "you must download with this link".
Are you suggesting me to put my files in the release? Okay, but I just don't feel it necessary. There are tons of ways to download a file. Do you think it is easier for a newbie to just click the repo and read through browser, or wget a master.zip?
from leetcode_101.
Re-open this issue to see if anyone can help.
from leetcode_101.
sorry for disturbing you so many times.
in short, the file stored in githubusercontent.com is harder to download for me .because of dns or other questions. so I want the stored in other places easier to download for me.
from leetcode_101.
Related Issues (20)
- 内容勘误 HOT 3
- 第77页的第190题 HOT 1
- 关于贪婪法
- 11.5优先队列勘误 HOT 1
- 关于在线版本
- 建议生成一个适合kindle 6“ 大小的pdf或者mobi格式文件
- P42 413 Arithmetic Slices 解法有误 HOT 1
- P17/143的81题的解法有一个点不严谨 HOT 1
- Typo勘误, Section 16.3, Page 141. Version 1.21 HOT 1
- P4 `一个字符串“abc”可以被看作一 个数组 [‘a’,‘b’,‘c’]`这个说法好像有一点问题?
- 一个小typo HOT 1
- 超时问题 HOT 1
- 去问答案是不是错了
- P102 第225题的TYPO
- P54 动态规划 完全背包 内外层 勘误
- 23.9.21 I Cannot download your 《LeetCode 101 - A LeetCode Grinding Guide (C++ Version).pdf》 HOT 1
- 5.2节 215.快速选择 超时 HOT 1
- 7.6 节 p54 “注意” HOT 2
- 7.7 p58 笔误
- P123 105. Construct Binary Tree from Preorder and Inorder Traversal (Medium)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leetcode_101.