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
#list of colors good for charts/graphs etc. | |
colors = (["#FF0F00", "#FF6600", "#FF9E01", "#FCD202", "#F8FF01", "#B0DE09", "#04D215", "#0D8ECF", "#0D52D1", | |
"#2A0CD0", "#8A0CCF", "#CD0D74", "#754DEB", "#DDDDDD", "#999999", "#333333"]) | |
#cycle through them in python | |
from itertools import cycle | |
cyc = cycle(colors) | |
cyc.next() #returns the next code in the list per call |
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
h1. Sublime Text 2 - Useful Shortcuts (PC) | |
Loosely ordered with the commands I use most towards the top. Sublime also offer "full documentation":http://www.sublimetext.com/docs/2/. | |
h2. Editing | |
| *Ctrl+C* | copy current line (if no selection) | | |
| *Ctrl+X* | cut current line (if no selection) | | |
| *Ctrl+⇧+K*| delete line | | |
| *Ctrl+↩* | insert line after | |
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
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas nec convallis leo. Vestibulum fringilla scelerisque vulputate. Suspendisse non consectetur mauris. Nam non elit in dolor sollicitudin laoreet id at mauris. Integer ut augue sem. Nullam mollis dapibus diam condimentum convallis. Aliquam aliquet metus vitae nisl blandit nec blandit turpis fringilla. In eu turpis eget odio convallis egestas eget nec libero. Ut hendrerit ipsum nec felis malesuada adipiscing. Maecenas sed ante dolor, quis mattis tortor. | |
Cras venenatis purus magna. Fusce urna orci, hendrerit congue fringilla vel, blandit imperdiet sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus tincidunt, est id semper adipiscing, erat lacus gravida mauris, a viverra purus lectus eget dolor. Nullam eget iaculis turpis. Nunc scelerisque neque ut ligula porta elementum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam rhoncus mattis orci a lacinia. Aliq |
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
{% now "Y" %} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title> </title> | |
<meta name="title" content="" /> | |
<meta name="description" content="" /> | |
<meta name="author" content="" /> | |
<meta name="author" content="Your Name Here" /> | |
<meta name="Copyright" content="Copyright Your Name Here 2013. All Rights Reserved." /> |
NewerOlder