Skip to content

Instantly share code, notes, and snippets.

View magican's full-sized avatar
🧑‍🍳
Planning to cook some delisious AI

Alexander Myasoedov magican

🧑‍🍳
Planning to cook some delisious AI
  • Saint-Petersburg
View GitHub Profile
@magican
magican / cloudSettings
Last active August 17, 2021 13:36
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-08-17T13:36:55.083Z","extensionVersion":"v3.4.3"}
{
"python.pythonPath": "C:\\Users\\miair\\Anaconda3\\pythonw.exe"
}
@magican
magican / ipnb_table_of_contents_v2.ipnb
Created May 14, 2013 18:43
Table of contents for the IPython Notebook automatically generated from the headers using jquery. Possible to hide/show not to occupy much space and put the generated toc in the beginning of the file in a specified <div id="toc-static"></div>
{
"metadata": {
"name": "ipnb_table_of_contents_v2.ipnb"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
<div id="toc-static"></div>
**TOC**
<div id="toc-wrapper">
<div class="header">Contents <a href="#" class="hide-btn">[hide]</a></div>
<div id="toc"></div>
</div>
@magican
magican / ipnb_table_of_contents.ipnb
Last active December 17, 2015 03:58
Table of contents in the IPython Notebook. At the moment I simply use a custom menu CSS style in a markdown cell. The menu is always fixed and I can easily navigate. But you have to write the contents yourself.
{
"metadata": {
"name": "ipnb_table_of_contents"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{