Skip to content

Instantly share code, notes, and snippets.

View typoman's full-sized avatar
:electron:
Never stop learning!

Bahman Eslami typoman

:electron:
Never stop learning!
View GitHub Profile
@typoman
typoman / toggle_nonExport.py
Created January 24, 2023 15:23 — forked from ryanbugden/toggle_nonExport.py
Go through all selected glyphs, and change whether they are set to export or non-export, based on the opposite of the state of the first glyph.
# menuTitle: Skip Export - Mass Toggle Selected
# source: https://gist.github.com/ryanbugden/7f20d42ef45ed0d657ad4f744bf9a373#file-toggle_nonexport-py
'''
Go through all selected glyphs, and change whether they are set to export or non-export, based on the opposite of the state of the first glyph.
2021.10.28
'''
f = CurrentFont()
@typoman
typoman / pipenv_virtualenv.py
Created June 8, 2020 19:57 — forked from gxfxyz/pipenv_virtualenv.py
Sublime Text 3 Pipenv virtualenv helper
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Sublime Text 3 Pipenv virtualenv helper.
1. Automatically find and set Pipenv virtualenv for each opened Python file.
- It uses `pipenv --venv` command to find the virtualenv.
- It will add a 'virtualenv' setting, which is the full path to the virtualenv,