This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Generating an SSL private key to sign your certificate..." | |
openssl genrsa -des3 -out myssl.key 1024 | |
echo "Generating a Certificate Signing Request..." | |
openssl req -new -key myssl.key -out myssl.csr | |
echo "Removing passphrase from key (for nginx)..." | |
cp myssl.key myssl.key.org | |
openssl rsa -in myssl.key.org -out myssl.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am kshreve on github. | |
* I am kshreve (https://keybase.io/kshreve) on keybase. | |
* I have a public key ASCAywEBEjSfsBh-TLYK-9k1AbTkScgvf9sOkB4YooGeIwo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Locate the section for your github remote in the .git/config file. It looks like this: | |
[remote "upstream"] | |
url = https://github.com/OrgName/ProjectName.git | |
fetch = +refs/heads/*:refs/remotes/upstream/* | |
Change your upstream config to look like this, with the added bottom line | |
[remote "upstream"] | |
url = https://github.com/OrgName/ProjectName.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
angular.module('app').directive('infiniteScroll', ['$window', function(window) { | |
return { | |
restrict: 'A', | |
link: function(scope, element, attributes) { | |
angular.element(window).bind('scroll', function () { | |
var container = window.document.body; | |
if((window.innerHeight + window.scrollY) >= window.document.body.offsetHeight) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
angular.module('app').directive('selectBox', ['$timeout', function(timeout) { | |
return { | |
restrict: 'A', | |
replace: true, | |
scope: { | |
tabindex: '@', | |
placeholder: '@', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('myApp',['ngRoute']); | |
(function () { | |
'use strict'; | |
/** | |
* @ngdoc directive | |
* @memberOf myApp | |
* @name carousel | |
* @description Single or multi-item carousel slider. If the "slides-to-show" value is greater than 1, scope.timeline is true and |