http://daringfireball.net/projects/markdown/syntax
see also reST: https://gist.github.com/4139268
| <!-- BiwaScheme 0.6.1 --> | |
| <html> | |
| <head> | |
| <title>enchant.js sample in BiwaScheme</title> | |
| </head> | |
| <body> | |
| <div id="enchant-stage" /> |
| sudo apt-get install acpi-support acpi acpid anacron apmd avahi-autoipd cpufrequtils powertop pcmciautils pm-utils wpasupplicant | |
| sudo apt-get install bluetooth wireless-tools |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| def f(x): | |
| """ | |
| returns x * x | |
| >>> f(5) | |
| 25 | |
| >>> f(-3) | |
| 9 |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| # Python logging demo from https://gist.github.com/miebach/5349852 | |
| import logging | |
| # see http://www.shutupandship.com/2012/02/how-python-logging-module-works.html | |
| def init_file_logger(fname="log.txt",threshhold_level="info",logger_instance=""): |
| Create a Desktop folder and name it: | |
| GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} | |
| A list of other commands that also create special folders: | |
| {00C6D95F-329C-409a-81D7-C46C66EA7F33} | |
| {0142e4d0-fb7a-11dc-ba4a-000ffe7ab428} | |
| {025A5937-A6BE-4686-A844-36FE4BEC8B6D} | |
| {05d7b0f4-2121-4eff-bf6b-ed3f69b894d9} |
| #!/bin/sh | |
| # Move a directory tree with rsync over the network. | |
| # Will remove each file immedeateley from the source after transfer! | |
| # Run this on the source machine: | |
| SRC=/src/folder-to-move-away | |
| REMOTE=user@ip.local | |
| TARGET=/target/containing-folder/ |
| byobu new-session -d -s name; byobu new-window -t name:1 -n 'window-1-title' 'command-1'; byobu new-window -t name:2 -n 'window-2-title' 'command-2'; byobu select-window -t name:1; byobu -2 attach-session -t name |