This file contains hidden or 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
| // Dynamic project image galleries | |
| $('.project-item-wrapper').click(function(e) { | |
| e.preventDefault(); | |
| // .project-item-wrapper should have the page destination as its link src, this way is JS is disabled the user would still get to the images | |
| var link = $(this).attr('href'); | |
| $.ajax({ | |
| url: link, | |
| success: function( data ) { |
This file contains hidden or 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
| sudo chown -R `whoami` ~/.npm | |
| sudo chown -R `whoami` /usr/local/lib/node_modules | |
| sudo chown -R `whoami` /usr/local |
This file contains hidden or 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
| <div class="post-share"> | |
| <a class="icon-facebook-sign" href="https://www.facebook.com/sharer/sharer.php?u={PAGE URL}"></a> | |
| <a class="icon-twitter-sign" href="https://twitter.com/intent/tweet?url={PAGE URL}&text={PAGE TITLE}}via={SITE NAME}"></a> | |
| <a class="icon-pinterest-sign" href="http://pinterest.com/pin/create/button/?url={PAGE URL}&media={POST IMAGE URL}&description={PAGE TITLE}" title="Pin It"></a> | |
| <a class="icon-google-plus-sign" href="https://plus.google.com/share?url={PAGE URL}"></a> | |
| </div> | |
| <script> | |
| // requires jQuery | |
| $('.post-share a').each(function() { |
This file contains hidden or 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
| git config --global url."https://".insteadOf git:// |
NewerOlder