(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
<!-- put this in the header--> | |
<script src="http://sagecell.sagemath.org/static/jquery.min.js"></script> | |
<script src="http://sagecell.sagemath.org/static/embedded_sagecell.js"></script> | |
<link rel="stylesheet" type="text/css" href="http://sagecell.sagemath.org/static/sagecell_embed.css"> | |
<!-- put this in the body where you want a cell. adjust your inputs, of course. --> | |
<div class="sage"> | |
<script type="text/x-sage"> | |
1+2 | |
</script></div> |
This is the workflow we use on projects for our customers. We know it won't suit everyone as it depends upon our particular circumstances, but if it's useful to anyone else, please drop us a comment.
#include <stdio.h> | |
#include <stdbool.h> | |
int main(int argc, char* argv[]) | |
{ | |
// Check that enough arguments were given | |
if(argc != 2) | |
{ | |
fprintf(stderr, "Usage:\n\tcount_lines <filename>\n"); | |
return 1; |