Command Line Tips
| Topic | URLs |
|---|---|
| Miscellaneous Commands | Miscellaneous Commands |
| Management of Containers | Docker |
Command Line Tips
| Topic | URLs |
|---|---|
| Miscellaneous Commands | Miscellaneous Commands |
| Management of Containers | Docker |
| Number::pad = (digits, signed) -> | |
| s = Math.abs(@).toString() | |
| s = "0" + s while s.length < digits | |
| (if @ < 0 then "-" else (if signed then "+" else "")) + s | |
| Date.months = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ] | |
| Date.weekdays = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ] | |
| Date.formats = | |
| "a": -> Date.weekdays[@getDay()].substring(0, 3) |
| --- | |
| layout: default | |
| --- | |
| <div class="blog-index"> | |
| {% assign post = site.posts.first %} | |
| {% assign content = post.content %} | |
| {% include post_detail.html %} | |
| </div> |
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