Skip to content

Instantly share code, notes, and snippets.

View benjaminmbrown's full-sized avatar

Benjamin Michael Brown benjaminmbrown

View GitHub Profile

Keybase proof

I hereby claim:

  • I am benjaminmbrown on github.
  • I am benjaminmbrown (https://keybase.io/benjaminmbrown) on keybase.
  • I have a public key ASAGAClVrM83UIwjBYhgQxT9ZkQEru1c0QWVct3nxdN5Jgo

To claim this, I am signing this object:

@djabif
djabif / dynamicAnchorFix.js
Last active March 18, 2017 09:27
Directive to open external links in Ionic App using inAppBrowser cordova plugin
//Use this directive to open external links using inAppBrowser cordova plugin
.directive('dynamicAnchorFix', function($ionicGesture, $timeout, $cordovaInAppBrowser) {
return {
scope: {},
link: function(scope, element, attrs) {
$timeout(function(){
var anchors = element.find('a');
if(anchors.length > 0)
{
angular.forEach(anchors, function(a) {
@gubatron
gubatron / multiple-deploy-keys-multiple-private-repos-github-ssh-config.md
Last active October 12, 2024 22:57
How to configure multiple deploy keys for different private github repositories on the same computer without using ssh-agent

How to configure multiple deploy keys for different private github repositories on the same computer without using ssh-agent

Let's say alice is a github.com user, with 2 or more private repositories repoN. For this example we'll work with just two repositories named repo1 and repo2

https://github.com/alice/repo1

https://github.com/alice/repo2

You need to be to pull from these repositories without entering a passwords probably on a server, or on multiple servers.