Hosts: Scripts download links don't work reporting

Created on 27 Apr 2016  ·  58Comments  ·  Source: kelthuzadx/hosts

正在研究怎样保留脚本的可执行权限的问题,所以链接是暂时性的失效了(因为正在进行不断的测试嘛)。具体什么时候能用得看我什么时候搞好,看来比较麻烦…… cc @andytimes

因此,如果为大家带来不便,还请谅解。

status-completed tools-problem

All 58 comments

我们不能谅解不给我们下载脚本的人(大雾

_You can still copy-paste the scripts on GitHub Raw yourself._

拒绝 我有exe为何要用bat!(逃

@Too-Naive Linux is always the best system!

辣鸡*nux 用Windows保平安
人在做 天在看 软件不兼容留隐患

Well:

Open-source is safe,
because there's a thief.

They're going to get your password,
and do your work.

我不听 我不听 我不听 (大雾

(不可救药)

@Too-Naive Agree.

And by the way, host the scripts use my site seems is a good idea...which gives me a high traffic:

2016-04-27-205144_332x198_scrot

_should I put some ads then?_

And then I will delete them.

@K-Guan wget 报错
$ wget http://keving.pythonanywhere.com/hosts_scripts/lhosts
Connecting to keving.pythonanywhere.com (50.19.109.98:80)
wget: server returned error: HTTP/1.1 500 INTERNAL SERVER ERROR

cURL 正常

@K-Guan 我有一个不完美的想法,把脚本压缩成 *.zip 或 *.tar.gz, 这样可以保留文件权限。
目前还没有想到更好的办法。

看来果然还是不行。

问题在于:http://stackoverflow.com/a/36894957/5299236

@andytimes 这个我也确实知道,不过太过麻烦。顺便一提这个方法在 SO 上也有人提到:http://stackoverflow.com/questions/36892852/how-do-i-keep-the-files-permission-using-send-file/36894957#comment61354939_36892852

总之……你说怎么办吧。我还是觉得直接下载后再 bash lhosts 比较方便。

弱弱问一句 脚本不能自己修改自己的权限吗……
Title: Should be "doesn't work" ???

@Too-Naive 可以,前提是得先执行了才是。而执行需要可执行权限。

你说我的 Title 主语是 _Scripts_ 还是 _download links_ ?

The download link of scripts doesn't work
好像也对 谢谢扫盲

@Too-Naive 说起来我还真不知道这里到底应该用 link 还是 links 。@imcaffrey suggestions?

s
不是有两个吗…

这个嘛…… _The download link of scripts dorsn't work_ 看起来好像也没错……I'm not sure.

dors满分

什么嘛!!

Too-Naive commented an hour ago • _edited_

GitHub 新功能在此,别想狡辩!

(:3っ )へ我不听我不听我不听
(我知道啊……

(反正这次我还是赢了)

我不管 我故意编辑的

懒得理你……

你就舍得欺负我这么可爱善良的女孩子吗【沉默】

@Too-Naive 你……作为一个 Linux 发行版,我认为我应该是不会说话的,自然就不可能有“欺负”这一说法了。

@K-Guan idk....

可这是事实阿【沉默】

@imcaffrey 还以为你的水平多高呢……好吧我还是找别人问问去。

@Too-Naive 证据?

@K-Guan hhh, i am a noob

@imcaffrey me?

im --> i am Qrz.

@imcaffrey 唉?我还以为你是故意那样拼的(a noob always does that =p)。

是故意的啊,你看不懂就改回来了

@imcaffrey 哦,你误解了。我前面的意思是“那我呢?”。

事实!不需要证据【沉默】

@Too-Naive Why I should trust you? (唉?换头像了?)

【沉默】干嘛!要泡我???

@Too-Naive 当一个人不跟你讲理时,你就没法跟他进行辩论……

_所以我还是不理你了_

@Too-Naive 以前,我有一个很好的办法去判断一个人的性别:
如果一个人对女生的称呼是 “妹子”,那么基本可以断定是男性。

然而,现在这个方法已经不管用了,女生也开始称呼女生为 “妹子” 了、、、

@K-Guan 实际上,我还没有看过不用 压缩 / 归档 的方式,就能保存文件可执行权限的方法,直接下载可能还是需要手动修改权限。

@andytimes

  1. 实际吧……在编程 论坛/网站 你想看到女生是门都没有的。将大家的默认性别都设定为男性就好(什么?你说你是女生?想改变自己的默认性别? Permission denied)。

而且“妹子”什么的判断方法我觉得应该不是特别管用……至少我就从来不这么叫女生。

  1. Meh, 那还是不研究了吧。

(x

Permission denied

Note: I've fixed the links to the scripts.

@K-Guan 是有的哦!

Kevin Guan [email protected]于2016年4月28日周四 下午6:40写道:

Note: I've fixed the links to the scripts.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/racaljk/hosts/issues/417#issuecomment-215382463

@andytimes (话说明明是男生却去装成女生还是觉得好无聊)

噫 你在说你自己吗

@Too-Naive 你不要跟我说话……

I can Lock Conversation....

@Too-Naive I can be a Collaborator again if I want to be...

行吧

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IssaTan1990 picture IssaTan1990  ·  9Comments

gameclamp picture gameclamp  ·  9Comments

liguge picture liguge  ·  5Comments

Sharkkkk picture Sharkkkk  ·  4Comments

lrinQVQ picture lrinQVQ  ·  9Comments