Skip to content

Instantly share code, notes, and snippets.

@JohnGriffiths
Created February 10, 2014 10:50
Show Gist options
  • Save JohnGriffiths/8913808 to your computer and use it in GitHub Desktop.
Save JohnGriffiths/8913808 to your computer and use it in GitHub Desktop.
Using Gister Notebook
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"css": [
""
],
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Using Gister "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Gister (https://github.com/weakish/gister) is a command lien program that allows you to quickly publish files to github gist. It will automatically add any added file to a pre-defined 'gister' folder, and index the contents so that's its searchable from the command line. \n",
"\n",
"This all sounds very nice and useful to me so I'm giving gister a go."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"It didn't work out of the box for me however, but after a fair bit of faffing I seem to have got it to work. \n",
"\n",
"I was having the problem that it wasn't saving the '.csearchindex' in the folder properly. \n",
"\n",
"Here's the solution I came up with:"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"1. Need to create a blank '.csearchindex' file in the gister folder\n",
"2. Need to create a bash environment variable 'CSEARCHINDEX' that points to that file. "
]
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment