Top HN posts
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
fun! EvalVimScriptRegion(s,e) | |
let lines = getline(a:s,a:e) | |
let file = tempname() | |
cal writefile(lines,file) | |
redir @e | |
silent exec ':source '.file | |
cal delete(file) | |
redraw | |
redir END | |
echo "Region evaluated." |
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
/* Epydoc CSS Stylesheet | |
* | |
* This is a massivley hacked stylesheet for epydoc, the very nice Python API | |
* Documentation generator. The general look and feel is based on sphinx. | |
* https://raw.githubusercontent.com/garethr/epydoc-themes/master/epydoc.css | |
* | |
* Feel free to tweak this some more to make the theme even more pleasing | |
* if you have the time to spare for such things. The typography in particular | |
* could do with sorting out. Unless you like writing masocistic CSS however, | |
* I'd recommend looking to refactor the markup generated by epydoc. |