I got a new Macbook Pro with a STEEM TICKER built in!

in #steem7 years ago

Thanks to the recent rise in cryptocurrency I have been been blessed to be able to buy myself a Macbook pro for myself at the age of 17! This is the most expensive purchase I have made (£1750) so far!

To be honest with you guys one of the main reasons I decided to buy this VERY expensive laptop is because of this....

Screen Shot 2017-12-02 at 01.36.05.png

A built in price feed for cryptocurrency! Even STEEM and GOLOS!

Although to be able to get this you do need to fork out another £300 or so for the Touchbar option it is well worth it! If you also happen to have a Macbook pro with the Touchbar have a look below to see how I done it!

STEEM TICKER FOR MACBOOK PRO

----------------------------------------------------------------

Step 1: Go to "https://www.boastr.net/" and download the latest version of BetterTouchTool

Step 2: Open BetterTouchTool and click +Widget on the bottom right

Screen Shot 2017-12-02 at 01.46.16.png

Step 3: Now click "Select Widget" then "Run Apple Script And Return Value"

Screen Shot 2017-12-02 at 01.49.21.png

Step 4: Once you have done that click "Advanced Configuration"

Step 5: Type in the name of the coin you would like to show, Upload the Logo and choose the background color

Step 6: Now paste the following script into the box - (The following script is for STEEM for another coin simply replace STEEM with whatever coin you want)

set json to do shell script "curl -H 'CB-VERSION: 2015-04-08' https://api.coinbase.com/v2/prices/BTC-USD/spot"
set json to do shell script "sed s/warnings.*//g <<< " & json
set btc to do shell script "sed s/[a-zA-Z:{},]//g <<< " & json
set btc to btc as real

set STEEM to do shell script "curl -s 'https://bittrex.com/api/v1.1/public/getticker?market=btc-steem' | grep -oE '(Last).' | sed 's/[^0-9\.]//g'"
set STEEM to STEEM as real

set answer to STEEM * btc
set answer to answer * 100
set answer to round answer
set answer to answer / 100
return "$" & answer

Step 7: Click "Run Script" and make sure it comes up with the price of the coin selected (Shown Below)

Screen Shot 2017-12-02 at 02.00.28.png

JUST CLICK SAVE AND ENJOY!

If you are having any problems getting your ticker to work comment below and I will try help you out!

Please note I did not write the script used in this tutorial

Sort:  

Nice bit of coding you have there :)

This is awesome! As if I needed another reason to want one...
Highly rEsteemed!

Yeah man I love this raffle idea! We should also raffle a macbook pro with LCD price bar like @btcvenom has !

So admirable! Congratulations!

Thats cool! I bought a MacBook Air a couple of days ago and one of the reasons I chose it over the pro is that I couldn't see I would get much use from the touch bar

Oo cool man :)

And to think I was just about to ask for a "how to" guide! Just needed to scroll down. Thanks for this!

Now just gotta get me one them fancy pants macbooks.

Id seriously get a new macbook just because of that ticker lol

I dont really like Apple products, but I have to admit that is a pretty cool feature.

Wow, thats super cool!

that's really cool. now I want a mac too

This is awesome! As if I needed another reason to want one...
Highly resteemed!

Wow, that almost makes me want to go out and buy a MacBook pro! I have a regular MacBook so it's hard to justify the purchase, but this might just do the trick!

Thanks for sharing this!

This is awesome! As if I needed another reason to want one.. thanks for sharing..

That's a excellent post @btcvenom (Resteemted) 👍👍

This post has received a 36.25 % upvote from @booster thanks to: @btcvenom.

Congrats bro. Have fun and merry chrismahanaquanza

Very Beautiful,,,,, @mizanur

This post has received a 15.89 % upvote from @buildawhale thanks to: @btcvenom. Send at least 1 SBD to @buildawhale with a post link in the memo field for a portion of the next vote.

To support our daily curation initiative, please vote on my owner, @themarkymark, as a Steem Witness

Best use of the touchbar that I've seen yet!

Congratulations @btcvenom, this post is the forth most rewarded post (based on pending payouts) in the last 12 hours written by a Superuser account holder (accounts that hold between 1 and 10 Mega Vests). The total number of posts by Superuser account holders during this period was 850 and the total pending payments to posts in this category was $3971.76. To see the full list of highest paid posts across all accounts categories, click here.

If you do not wish to receive these messages in future, please reply stop to this comment.

Good post! Visit our blog and see the latest news and the best tops :D Greetings

I'm so gelly. Congrats for the Mac! I wish I had the money for it

amazing

All that at just the tender age of 17? One tip from someone who's 37: Invest wisely while you're young. You've got tremendous potential. I can tell just by reading this one post of yours. Stay humble, focused, and keep an eye out for investment opportunities at this age. Sky is the limit for you. Congrats on your purchase. Admittedly, some of the exorbitant purchases I made while young, I've kind of regretted over the years.

This is really a good idea. But I already bought two laptops this year, no budget for a new macbook, what a pity ...

muzakirpb upvote, posting is perfect

This post has received a 11.56 % upvote from @upmyvote thanks to: @ninjawhale. Send at least 1 SBD to @upmyvote with a post link in the memo field to promote a post! Sorry, we can't upvote comments.

Dayum, @btcvenom! I should have followed you Earlier!
Great new MAC, I just have a crappy old HP with "win-doze" LOL!
I want to learn more of your ways, you are doing very well!
;)