Skip to content

Instantly share code, notes, and snippets.

View apahl's full-sized avatar

Axel Pahl apahl

  • MPI of Molecular Physiology (Dortmund)
  • Germany, Dortmund (work) / Hannover (home)
  • 06:07 (UTC +02:00)
  • Mastodon @apahl@fosstodon.org
View GitHub Profile
@apahl
apahl / nim_magic.py
Last active October 21, 2019 13:53
Nim cell magic for Jupyter and JLab Notebooks
"""
nim_magic.py
Jupyter cell magic for your favorite programming language.
This is now also available as a proper repo:
https://github.com/apahl/nim_magic
All further changes will be tracked there.
Requirements: Nim (https://nim-lang.org), nimpy (`nimble install nimpy`, thanks to @yglukhov for this great library!)
@apahl
apahl / test_smiles.cpp
Created October 9, 2017 11:53
test_smiles.cpp
/* Generated by Nim Compiler v0.17.3 */
/* (c) 2017 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
g++ -c -w -w -fpermissive -D_GLIBCXX_USE_CXX11_ABI=0 -I/home/pahl/progs/nim/lib -I/home/pahl/dev/github/rdkit/Code/ -o /home/pahl/dev/nim/rdkit/nimcache/test_smiles.o /home/pahl/dev/nim/rdkit/nimcache/test_smiles.cpp */
#define NIM_NEW_MANGLING_RULES
#define NIM_INTBITS 64
#include "nimbase.h"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.