Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
| srcdir = '.' | |
| blddir = 'build' | |
| VERSION = '0.0.1' | |
| def set_options(opt): | |
| opt.tool_options('compiler_cxx') | |
| def configure(conf): | |
| conf.check_tool('compiler_cxx') | |
| conf.check_tool('node_addon') |
| var mongoObjectId = function () { | |
| var timestamp = (new Date().getTime() / 1000 | 0).toString(16); | |
| return timestamp + 'xxxxxxxxxxxxxxxx'.replace(/[x]/g, function() { | |
| return (Math.random() * 16 | 0).toString(16); | |
| }).toLowerCase(); | |
| }; |
| <!-- Add the following lines to theme's html code right before </head> --> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | |
| <script type="text/javascript" src="http://static.tumblr.com/hkw90bf/Goylylph8/writecapture.js"></script> | |
| <script type="text/javascript" src="http://static.tumblr.com/hkw90bf/4j0lylphn/jquery.writecapture.js"></script> | |
| <script type="text/javascript" src="http://static.tumblr.com/hkw90bf/Csalymbyn/gitsembedwritecapture.js"></script> | |
| <!-- | |
| Usage: | |
| just add <div class="gists">[gist js URL]</div> |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| $(document).ready(function() { | |
| var prefix = "https://gist.github.com/"; | |
| $('a[href^="' + prefix + '"]').each(function(i) { | |
| var $anchor = $(this), | |
| $el = $("<p></p>"); | |
| $anchor.replaceWith($el); | |
| writeCapture.html($el, '<script src="'+$anchor.text()+'.js"></scr' + 'ipt>'); | |
| $anchor.remove(); | |
| }); | |
| }); |
| /* sparkle */ | |
| .sparkle{ | |
| width:20px; | |
| height:20px; | |
| background-color:red; | |
| position:relative; | |
| margin:20%; | |
| box-shadow:0 0 0px 10px rgba(0,0,0,.5); |
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
Download hMailServer from here: http://www.hmailserver.com/index.php?page=background_download_file&downloadid=207.