TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Uber CLI

139 点作者 luisrudge大约 8 年前

9 条评论

Animats大约 8 年前
If you&#x27;re going to draw lines with characters, use the line drawing characters. We have Unicode now.<p>I have a program which takes text files with ASCII line art and automatically turns them into text files with UNICODE line art.[1] I wrote this for some very old documents, but it&#x27;s still useful.<p><pre><code> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Source Port ┃ Destination Port ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ ┃ Sequence Number ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ ┃ Acknowledgment Number ┃ ┣━━━━━━━┳━━━━━━━━━━━┳━┳━┳━┳━┳━┳━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ ┃ Data ┃ ┃U┃A┃P┃R┃S┃F┃ ┃ ┃ Offset┃ Reserved ┃R┃C┃S┃S┃Y┃I┃ Window ┃ ┃ ┃ ┃G┃K┃H┃T┃N┃N┃ ┃ ┣━━━━━━━┻━━━━━━━━━━━┻━┻━┻━┻━┻━┻━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ ┃ Checksum ┃ Urgent Pointer ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┫ ┃ Options ┃ Padding ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┫ ┃ data ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ </code></pre> [1] <a href="https:&#x2F;&#x2F;github.com&#x2F;John-Nagle&#x2F;pasv&#x2F;blob&#x2F;master&#x2F;src&#x2F;Util&#x2F;picfix.py" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;John-Nagle&#x2F;pasv&#x2F;blob&#x2F;master&#x2F;src&#x2F;Util&#x2F;picf...</a>
评论 #13722794 未加载
评论 #13722697 未加载
mritun大约 8 年前
That argument to UberClient() looks like an API token. Did you mean to leave it in there for the world to use?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jaebradley&#x2F;uber-cli&#x2F;blob&#x2F;master&#x2F;src&#x2F;services&#x2F;UberService.js#L14" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jaebradley&#x2F;uber-cli&#x2F;blob&#x2F;master&#x2F;src&#x2F;servi...</a>
评论 #13719350 未加载
评论 #13719184 未加载
chx大约 8 年前
Do tell me, why are you still using Uber? What needs to happen? Let&#x27;s see: Weakening the rule of law by deliberately ignoring taxi legislation, that&#x27;s not enough. Rebuilding indentured servitude via subprime mortgaged cars where the payment comes out of the drivers&#x27; wages, that&#x27;s not enough. Launching self driving cars going again against regulations and putting cyclists in deadly danger, that&#x27;s not enough. Treating women like shit, that&#x27;s not enough. Stealing Google tech brazenly, that&#x27;s not enough.<p>Tell me, what would be enough?<p>Sources for subprime loans: <a href="http:&#x2F;&#x2F;valleywag.gawker.com&#x2F;uber-and-its-shady-partners-are-pushing-drivers-into-su-1649936785" rel="nofollow">http:&#x2F;&#x2F;valleywag.gawker.com&#x2F;uber-and-its-shady-partners-are-...</a> <a href="https:&#x2F;&#x2F;www.bloomberg.com&#x2F;news&#x2F;articles&#x2F;2016-05-31&#x2F;inside-uber-s-auto-lease-machine-where-almost-anyone-can-get-a-car" rel="nofollow">https:&#x2F;&#x2F;www.bloomberg.com&#x2F;news&#x2F;articles&#x2F;2016-05-31&#x2F;inside-ub...</a> <a href="https:&#x2F;&#x2F;twitter.com&#x2F;shashashasha&#x2F;status&#x2F;688734478181732352" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;shashashasha&#x2F;status&#x2F;688734478181732352</a> Self driving shit: <a href="https:&#x2F;&#x2F;www.theguardian.com&#x2F;technology&#x2F;2016&#x2F;dec&#x2F;19&#x2F;uber-self-driving-cars-bike-lanes-safety-san-francisco" rel="nofollow">https:&#x2F;&#x2F;www.theguardian.com&#x2F;technology&#x2F;2016&#x2F;dec&#x2F;19&#x2F;uber-self...</a> the rest is either obvious or recent enough not to need a source.
评论 #13722714 未加载
评论 #13723662 未加载
WillySchu大约 8 年前
Using this, a command that will get your public IP, geo locate it, and then get an uber pickup time for those coordinates.<p>dig +short myip.opendns.com @resolver1.opendns.com | xargs -I {} echo &quot;ipinfo.io&#x2F;&quot;{} | xargs curl | grep loc | cut -d: -f2 | sed &quot;s&#x2F;,$&#x2F;&#x2F;&quot; | xargs uber time
评论 #13729283 未加载
评论 #13720445 未加载
randomsofr大约 8 年前
I thought everyone already deleted that app...
评论 #13718785 未加载
评论 #13718917 未加载
评论 #13719093 未加载
jaytaylor大约 8 年前
I&#x27;d be more interested in this except for Lyft instead of uber.<p>Like many others, I&#x27;m done with the tire fire that is uber.
评论 #13720151 未加载
mahyarm大约 8 年前
Is there a way for this to grab your current location, so you don&#x27;t have to type your address?
arikrak大约 8 年前
Google maps makes it easy to see the estimated prices of Uber and other services.
评论 #13720075 未加载
aduffy大约 8 年前
Great, just another thing I need to delete
评论 #13722531 未加载