Best cash back rewards credit card in 2017: Citi Double Cash

With airline miles redemptions becoming increasingly unreliable, in 2015 I started seeking out the best possible cash back rewards card.  After research a number of cards, the Citi Double Cash emerged as the clear winner.  You get a total of 2% cashback on ALL purchases, with no limitations.

Summary of the Citi Double Cash Card:

  • 1% cash back when you make a purchase, 1% cash back when you pay your bill combines to 2% cash back on everything
  • Redeem your cashback via direct deposit, check, or statement credit
  • $0 annual fee

Can’t recommend this card enough to maximize your cashback rewards.  You can sign up here.

 

iOS Emulator not working on OSX 10.11 (El Capitan)

Recently when experimenting the ionic framework I ran into a problem on OSX.  Every time I run these commands, the iOS emulator from Xcode would not pop-up:

ionic emulate ios
gulp -e ios

The issue seemed to be that the iOS simulator was never installed on my current computer (despite xcode being installed), and it does not give any warning/error to let you know about this.

Here is what solved it for me:

  1.  Open Xcode, hit Command-comma to open the preferences section/
  2. Hit the “Downloads” tab in Xcode
  3. Hit the small “download” icon next to the latest iOS simulator (in my case it was iOS 9.0).

ios simulator

Examples of Awesome API Documentation

In the process of building an API?  Looking to get started on your first API integration project?  Below is a list of some of my favorite API documentation sites.

PubNub

Maintains one of the best examples of how to have a very complex system under the hood, while keeping a cool and organized API outline.  Oh, and the dev console is plain cool.

PubNub JavaScript SDK | JavaScript SDK 2013-11-06 22-39-07

Console 2013-11-06 22-40-53

Mandrill

Example JSON requests on each method page makes it easy for a developer to see the exact format their application should be communicating with the API.

mandrill

Stripe

Simple and logical method names like cards, customers, and coupons allow Stripe to build a dead-simple structure to house a robust API.

stripe

Context.io

Extremely well-organized, color coded, and built-in real test examples on each resource page.

Context.IO | The missing email API to leverage email data 2013-11-06 22-56-08

Searchify

Less is more.  Searchify keeps their documentation lean, and makes it very easy to understand.

searchify

Plivo

Inviting documentation that is easy on the eyes.  Fonts and other text emphasis makes it easy to hop around the documentation and find what you are looking for.

plivo

Have an example to add to the list?  Leave it in the comments.

Using a PC Keyboard with OSX (Command Key Switch-er-oo)

I recently started using a Macbook Air as my full time computer, so I needed to hook up a keyboard and mouse to it. Automatically, OSX assigns the “Windows” key on the keyboard to be the “Command” key in OSX, which will drive you insane.

After doing a lot of digging, I realized there is a very easy solution to this built right into the Keyboard settings section in OSX System Preferences.

system-preference_upload

1.  Go to System Preferences > Keyboard

keyboard-settings_upload

2.  Hit the “Modifier Keys” button

switch-settings_upload

3.  Select your USB keyboard from the drop-down menu (there should be two keyboards listed), make sure to not change the built-in keyboard settings.

4.  I found that turning my keyboard’s CTRL key to the Command key made it intuitive for me to CTRL-C and CTRL-V and perform the other command options.

5.  Since you do need to sometimes access the CTRL key in OSX, I made the function of the “Windows Key” (Command Key) on the external keyboard map to the CTRL key in OSX.

For reference, this is the “Windows” key on a PC keyboard:

windows-key

Hope this helps!

6 Reasons Apple should buy Nintendo

 

  • Nintendo’s stock (PINK:NTDOY) is at a 10-year low, with a market cap now at only $13B (less than 10% of Apple’s available cash)
  • USD is at a 2-year high as compared to the Japanese Yen.
  • Nintendo lacks product innovation, but creates great games and characters.  Apple has no track record with successful games, but 300M+ people use Apple devices.
  • AppleTV has no game functionality built-in, and the graphical simplicity of Nintendo games would likely allow them to run on existing AppleTV hardware.  Wii Sports and other family games would be a perfect fit for the AppleTV.
  • Nintendo designs great controllers, and Apple knows that gaming on touch screens will always have limitation.  Imagine using a WiiMote with your Apple TV or iPhone?
  • Apple’s ability to exclusively sell Nintendo games to the ~300M+ active iOS devices would have huge potential, especially if Apple was absorbing 100% of the app sales instead of their usual 30%  royalty on game sales.

Disclosure: This should not be construed as financial advice in any way, shape or form.  I currently own a position in AAPL.

Tools to generate beautiful web API documentation

Edit 6/16/2013: It’s been a few months, and we finally ended up going with the Swagger-based documentation built into 3Scale.net.  Want to see how it looks?  Head over to developer.nutritionix.com.

— Begin original post —

As demand for our Nutritionix API is starting to grow rapidly, we have been working on finding an API documentation engine to meet our needs for the long-term.  I was not able to find any comprehensive list of existing API documentation solutions, so I am compiling what I have found so far. Please leave feedback on your own experience in the comments.

Web API Documentation Tools

We are still exploring each solution, but I will update this post as we learn more about each option.

  • Swagger – A specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. [Demo]
    • Note: We already use 3Scale.net for our API management solution, and they have an ActiveDocs feature based on Swagger.
  • I/O Docs – By defining APIs at the resource, method and parameter levels in a JSON schema, I/O Docs will generate a JavaScript client interface [Demo].  I/O docs was created by the API management platform Mashery.
  • apiary.io – Provides very quick way to get your documentation up and running, includes GitHub integration and I/O validation. – Suggested by Siyfion via Reddit.
  • Docco – Docco is a quick-and-dirty, hundred-line-long, literate-programming-style documentation generator. It produces HTML that displays your comments alongside your code.
  • Dexy – Flexible documentation tool that supports any language, for any API.
  • Doxygen – Generate an on-line documentation browser (in HTML) and/or an off-line reference manual, and you can configure doxygen to extract the code structure from undocumented source files.  Seems more technical than the other options, but a powerful option nonetheless.  Suggested by gkumar007 via Reddit.
  • TurnAPI – Paid service.  Intelligent WIKI-editor, markdown based standards, documentation branching, sync with Git, SVN, Mercurial, clean looking themes. [Features]
    • Note: As of writing I was unable to create an account at TurnAPI.

Edit 6/16/2013: It’s been a few months, and we finally ended up going with the Swagger-based documentation built into 3Scale.net.  Want to see how it looks?  Head over to developer.nutritionix.com

Using International iMessage to avoid SMS Charges

iMessage uses data instead of SMS, and therefore works internationally to send free text messages (as long as you have an international data plan).

However, you must TURN OFF “Send As SMS” when you are traveling internationally, otherwise your phone may send an SMS message (green message) using international SMS rates.

Go to Settings >Messages to turn off “SEND As SMS”

Download Google Chrome Without a Web Browser using Windows Command Line

Due to the popularity of my old post on how to download firefox without a web browser, I decided to figure out a way to do the same thing with Chrome.  Chrome doesn’t seem easily accessible on FTP, so this method allows you to still download Chrome from a safe web source, via the HTTP link that Google provides.

1.  Open NotePad and paste the below VBScript code into it.

Note: The strFileURL variable is currently set to the URL that Chrome is at as of today.  That might change later.  Find latest Chrome EXE by going here. Click accept and install, then right-click copy the URL titled “Click here to retry.”

' This is the URL of the chrome EXE.
strFileURL="https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7BA024641A-81C0-533A-53CB-AE9534821219%7D%26lang%3Den%26browser%3D4%26usagestats3D0%26appname%3DGoogle%2520Chrome%26needsadmin%3Dfalse%26installdataindex%3Ddefaultbrowser/update2/installers/ChromeStandaloneSetup.exe"
' This is where the file will download to.
strHDLocation = "c:ChromeStandaloneSetup.exe"
' Fetch the file
Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP")
objXMLHTTP.open "GET", strFileURL, false
objXMLHTTP.send()
If objXMLHTTP.Status = 200 Then
Set objADOStream = CreateObject("ADODB.Stream")
objADOStream.Open
objADOStream.Type = 1 'adTypeBinary
objADOStream.Write objXMLHTTP.ResponseBody
objADOStream.Position = 0 'Set the stream position to the start
Set objFSO = Createobject("Scripting.FileSystemObject")
If objFSO.Fileexists(strHDLocation) Then objFSO.DeleteFile
strHDLocation
Set objFSO = Nothing
objADOStream.SaveToFile strHDLocation
objADOStream.Close
Set objADOStream = Nothing
End if
Set objXMLHTTP = Nothing

2. Save your notepad file to your desktop, and use quotes in the filename to overwrite saving as a .txt file:
“chrome.vbs”

3. Go to your Windows command prompt (Start > CMD)
4. Navigate to your desktop in the command prompt (cd desktop)
5. Run the command: cscript.exe downloadfile.vbs

6. Open Windows explorer, and right on your C drive you should see the chrome installer at c:ChromeStandaloneSetup.exe


Attribution: This vbscript was adopted by Gareth’s method on SuperUser.com.