Test Code here
for i in range(10):
print iNo support for code blocks. gist.io should really be using github's markdown!
| (defun bhanu/scroll-up (&optional num) | |
| "Scroll up num number of lines." | |
| (interactive "p") | |
| (scroll-down num) | |
| (previous-line num)) | |
| (defun bhanu/scroll-down (&optional num) | |
| "Scroll down num number of lines." | |
| (interactive "p") | |
| (scroll-up num) |
Test Code here
for i in range(10):
print iNo support for code blocks. gist.io should really be using github's markdown!
| ############################################################################## | |
| # R - Red, B- Blue, G-Green | |
| # We name vertices as follows: | |
| # R B R | |
| # B G B | |
| # R B R | |
| ############################################################################## |
| #!/bin/sh | |
| # Links to pages listing interesting packages | |
| # https://help.ubuntu.com/community/UbuntuScience | |
| # http://www.lifehack.org/articles/technology/linux-for-children.html | |
| # http://www.edubuntu.org/news/11.10-release (get package list?) |
| #!/bin/bash | |
| # Usage ./qotd.sh "This is sample text" | |
| # Depends | |
| # - Gnome2/3 | |
| # - ImageMagick | |
| # TODO | |
| # - Add intelligent font color selection |
| #!/bin/bash | |
| upto=`date -d "Mar 30 14:30" +%s` | |
| text="to go!" | |
| while true; do | |
| now=`date +%s` | |
| count=`expr $upto - $now` | |
| hours=`expr $count / 3600` | |
| minutes=`expr $count % 3600 / 60` |
| (defadvice org-archive-subtree | |
| (around org-archive-subtree-to-data-tree activate) | |
| "org-archive-subtree to date-tree" | |
| (if (org-entry-is-done-p) | |
| (let* ((dct (decode-time | |
| (org-time-string-to-time | |
| (cdar (org-entry-properties nil 'special "CLOSED"))))) | |
| (y (nth 5 dct)) | |
| (m (nth 4 dct)) | |
| (d (nth 3 dct)) |