This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
An Plantuml extension for generating UML figures from within ipython notebook. | |
Source: http://stackoverflow.com/questions/20303335/ipython-notebook-plantuml-extension | |
See example notebook at: http://nbviewer.ipython.org/gist/sberke/bb90ff09193a8888d7f7 | |
""" | |
import os | |
from IPython.core.magic import magics_class, cell_magic, Magics | |
from IPython.display import Image, SVG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script, when used with Google Apps Scripts will delete 500 emails - the amount the API will return with one call. | |
# It can be triggered to run periodically (I set @ 5 minute, since it runs slow) without user interaction | |
# enabling you to bulk delete email in Gmail without getting the #793 errors, etc., from Gmail. | |
# Configure the search query in the code below to match the type of emails you want to delete | |
# See - https://developers.google.com/apps-script/reference/gmail/gmail-app#search(String) | |
# and https://support.google.com/mail/answer/7190?hl=en | |
# Browser to https://script.google.com/. | |
# Start a script and paste in the code below. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# my build: (Ubuntu 20.04) | |
# see notes (2/12/2020): | |
# https://github.com/ycm-core/YouCompleteMe/wiki/Building-Vim-from-source | |
# be sure we have libgtk-3-dev installed | |
# sudo apt install libgtk-3-dev | |
./configure \ | |
--with-features=huge \ | |
--enable-multibyte \ | |
--enable-luainterp=yes \ | |
--enable-python3interp=yes \ |