How to fix bower ECMDERR

In case you might encounter the same issue…It turns out my machine behind firewall, that won’t able to access git://github.com/jquery/jquery.git Link: Unable to Connect to GitHub.com For Cloning The solution without changing the firewall: git config –global url.”https://”.insteadOf git:// Credit to @bnguyen82 from Unable to Connect to GitHub.com For Cloning and @Sindre Sorhus from Bower … Read more

Cocoapods with private git repository

If you use SSH and have generated a SSH Key (more info here) $>more ~/.ssh/config It should give you something like that: Host SomeHostNameAlias HostName github.com User YourUserName PreferredAuthentications publickey IdentityFile /Users/YourLocalAccount/.ssh/TheSSHKeyGenerated Then, in your Podfile, you should be able to do something similar to this (I didn’t put :branch =>, but if you need … Read more

github search limit results

The Search API will return up to 1000 results per query (including pagination), as documented here: https://developer.github.com/v3/search/#about-the-search-api However, there’s a neat trick you could use to fetch more than 1000 results when executing a repository search. You could split up your search into segments, by the date when the repositories were created. For example, you … Read more

Download latest GitHub release

You don’t need any scripting to generate a download link for the latest release. Simply use this format: https://github.com/:owner/:repo/zipball/:branch Examples: https://github.com/webix-hub/tracker/zipball/master https://github.com/iDoRecall/selection-menu/zipball/gh-pages If for some reason you want to obtain a link to the latest release download, including its version number, you can obtain that from the get latest release API: GET /repos/:owner/:repo/releases/latest Example: $.get(‘https://api.github.com/repos/idorecall/selection-menu/releases/latest’, … Read more