An example of configuring Vim to support Markdown.
This file contains 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
<a href="http://lemonly.com/work/celebrating-towel-day-may-25-2012" title="Don't Panic, Use a Towel Day Infographic"> | |
<img src="http://lemonly.com/wp-content/uploads/2012/05/Towel-day-Infographic2.jpg"style="max-width: 100%" alt="Don't Panic, Use a Towel Day Infographic; Design by Lemonly" /> | |
</a> | |
Learn more about <a href="http://lemonly.com/work/celebrating-towel-day-may-25-2012">Towel Day</a> and <a href="http://lemonly.com">Infographic Design</a> from Lemonly. |
This file contains 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
#!/usr/bin/env python | |
from collections import OrderedDict | |
import json | |
write_data = OrderedDict([ | |
('a', '1'), | |
('b', '2'), | |
('c', '3') | |
]) |
From within the parent repo do
git submodule add git@bitbucket.org:iracooke/transcriptomes.git/wiki wiki
git commit -m "Adding wiki as submodule"
git push
Making changes to the wiki and to the parent require separate git commit commands.
This file contains 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
See README.md, https://gist.github.com/lsloan/2e43be50000bc13f178cad7fcfca71f0#file-readme-md |
This file contains 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
Gist title: "Markdown and reStructuredText: A Comparison" | |
Summary: A comparison of formatting features in Markdown and reStructuredText documents. See the " README.md" file for details. |
This file contains 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
Gist title: "Komodo: Run Current File or Selection with PHP" | |
Summary: Save this small JavaScript program to the Toolbox in Komodo Edit (or IDE), assign a key binding to it, and use it to execute the current file (or the selected code if there is any) in a PHP interpreter. |
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
Includes HTTP-Header information in the output
This file contains 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
vm_infos = `vboxmanage list vms` | |
puts 'Port Forwardings:' | |
puts '---------------------------------' | |
vm_infos.each_line do |vm_info| | |
vm_name = vm_info.scan(/\"(.*)\"/) | |
vm_id = vm_info.scan(/.*{(.*)}/).join('') | |
vm_detail_info = `vboxmanage showvminfo #{vm_id}` |