Skip to content

Instantly share code, notes, and snippets.

View nokados's full-sized avatar
🦄
Unicorn shepherd

Nikita Furin nokados

🦄
Unicorn shepherd
  • CraftTalk
  • Moscow, Russia
View GitHub Profile
@whophil
whophil / jupyter.service
Last active October 30, 2023 16:33 — forked from doowon/jupyter_systemd
A systemd script for running a Jupyter notebook server.
# After Ubuntu 16.04, Systemd becomes the default.
# It is simpler than https://gist.github.com/Doowon/38910829898a6624ce4ed554f082c4dd
[Unit]
Description=Jupyter Notebook
[Service]
Type=simple
PIDFile=/run/jupyter.pid
ExecStart=/home/phil/Enthought/Canopy_64bit/User/bin/jupyter-notebook --config=/home/phil/.jupyter/jupyter_notebook_config.py
@kikyousky
kikyousky / gist:93246b57817d587eb14d
Created January 6, 2015 09:25
pack chrome extension in python
#!/usr/bin/env python
#-*- coding: utf-8 -*-
"""
reference:
http://developer.chrome.com/extensions/crx.html
http://blog.roomanna.com/12-12-2010/packaging-chrome-extensions
https://www.dlitz.net/software/pycrypto/api/current/
get pycrypto