Wednesday, September 6, 2017
Uber CLI Quickly Get Uber Time To Pickup And Price Estimates From The Command Line
Uber CLI Quickly Get Uber Time To Pickup And Price Estimates From The Command Line

Uber CLI is a tool to get time-to-pickup and price estimates for Uber from the command line. The application cannot be used to request Uber rides.
Installing and using Uber CLI
1. To install Uber CLI, youll need Node.js and npm.
For Ubuntu 16.04 and newer, you can use the Node.js and npm packages from the official repositories:
sudo apt install nodejs npmFor Ubuntu versions older than 16.04, youll need a newer Node.js/npm version. This can be installed by using the official Node.js repository. Youll find exact instructions HERE (in my test I installed Node.js 6.x in Ubuntu 14.04 and uber-cli installed without any issues).
2. Install Uber CLI
Before proceeding, you may wish to set up npm to allow installing packages globally without sudo. For how to do this, see our previous article. You can skip this and use the command below with sudo, but thats not recommended!
To install Uber CLI, simply type the following command in a terminal:
npm install uber-cli -gThats it. You can now start using Uber CLI. To get a time-to-pickup estimate, use the following command:
uber time pickup addressreplacing pickup address with the address the Uber ride should pick you up.Heres an example:
$ uber time 10 downing street london uk
?????????????????????????????????????????????????????
? 10 Downing St, Westminster, London SW1A 2AA, UK ?
?????????????????????????????????????????????????????
? ? ?
?????????????????????????????????????????????????????
? 2 min. ? uberPOOL,uberX,uberXL ?
?????????????????????????????????????????????????????
? 4 min. ? UberEXEC ?
?????????????????????????????????????????????????????
? 6 min. ? UberLUX ?
?????????????????????????????????????????????????????
? 8 min. ? uberASSIST ?
?????????????????????????????????????????????????????
? 17 min. ? uberWAV ?
?????????????????????????????????????????????????????
? 14 min. ? taxi ?
?????????????????????????????????????????????????????You may skip the city and country - in my test, this worked without any issues, but I assume it is required in cases where there are multiple streets with the same name, etc.
To get price estimates, use the following:
uber price -s start address -e end addressreplacing the start and end addresses with the actual locations.Heres an example:
$ uber price -s 10 downing street london uk -e 221b baker street london uk
??????????????????????????????????????????????????????????????????????
? ? ? ? ? Surge ?
??????????????????????????????????????????????????????????????????????
? uberPOOL ? �10-�11 ? 3.74 mi. ? 20 min. ? ?
??????????????????????????????????????????????????????????????????????
? uberX ? �9-�12 ? 3.74 mi. ? 20 min. ? ?
??????????????????????????????????????????????????????????????????????
? uberXL ? �13-�17 ? 3.74 mi. ? 20 min. ? ?
??????????????????????????????????????????????????????????????????????
? UberEXEC ? �17-�23 ? 3.74 mi. ? 20 min. ? ?
??????????????????????????????????????????????????????????????????????
? UberLUX ? �27-�35 ? 3.74 mi. ? 20 min. ? ?
??????????????????????????????????????????????????????????????????????
? uberASSIST ? �9-�12 ? 3.74 mi. ? 20 min. ? ?
??????????????????????????????????????????????????????????????????????
? uberWAV ? �9-�12 ? 3.74 mi. ? 20 min. ? ?
??????????????????????????????????????????????????????????????????????
? taxi ? ?undefined-?undefined ? 3.74 mi. ? 20 min. ? ?
??????????????????????????????????????????????????????????????????????
? ? 10 Downing St, Westminster, London SW1A 2AA, UK ?
??????????????????????????????????????????????????????????????????????
? ? 221B Baker St, Marylebone, London NW1 6XE, UK ?
??????????????????????????????????????????????????????????????????????The blank cells in the examples above are Emoji, but I removed them so the columns dont get messed up. To get Emoji support in Linux, install the EmojiOne Color SVGinOT font (but note that it doesnt work properly with monospace formatted text and causes incorrect character alignment, or at least thats the case at the time Im writing this).
Originally published at WebUpd8: Daily Ubuntu / Linux news and application reviews.
download file now
Saturday, August 26, 2017
Tumblr Bookmarklet for WordPress Blogs Post Stuff Quickly
Tumblr Bookmarklet for WordPress Blogs Post Stuff Quickly
Tumblr is probably the easiest and fastest way to publish blog posts online - select anything on the current web page (be it text, video or pictures) and they will be on your Tumblelog almost instantly via the Tumblr Instant Post Bookmarklet.
Unfortunately, that quick posting bookmarklet can only be used for publishing on Tumblr.com - theres no way to integrate Tumblr with your existing WordPress or Blogger Blog.
However, heres some good news for WordPress bloggers - theres a new Tumblr inspired bookmarklet for WordPress that allows you to quickly post photos, videos and blocks of text from web pages to your WordPress blog just like Tumblr. See Screenshot:
You install the Tumblr Quick Post plugin like any other WordPress plugin and it will provide you a bookmarklet that you can add to the browser toolbar.
When you click the Quickpost bookmarklet from any web site, a new window will pop up. The URL of the page youre on, linked with the title of the page, will automatically be transferred to the editor in that window. You can do almost everything you do with the default editor of WordPress and create a new post for your blog.
The only issue is that if you tumblelog a photo on the web, this Quick Post plugin will hotlink to that image - thats different behavior from Tumblr where a copy of the image is uploaded to your Tumblr account.
QuickPost | Developer Home
download file now
Thursday, August 3, 2017
Ubuntu Tip Using Quickly To Build Applications Basic Commands
Ubuntu Tip Using Quickly To Build Applications Basic Commands
What is Quickly?
Basically its a command line based tool for building applications. So go ahead and open a terminal. Now it will be useful if youre familiar with the Python programming language. If youre not then there are tones of on-line resources to help you learn.
How to create a new application:
Type: quickly create ubuntu-application mybrowser
Quickly will create a directory with the same name as your application containing all its files.
How to edit your application:
In the applications directory type: quickly edit
How to edit the GUI:
In the applications directory type: quickly design
How to run your application:
In the applications directory type: quickly run
How to package your application:
In the applications directory type: quickly package
You might also want to watch this video. It will take you through the development of a very basic web browser application.
download file now