Skip to content

Instantly share code, notes, and snippets.

View eirannejad's full-sized avatar
💾
Going back to the basics

Ehsan Iran-Nejad eirannejad

💾
Going back to the basics
View GitHub Profile
@eirannejad
eirannejad / microsoft-ie.reg
Last active July 19, 2022 17:03
Registry file to add microsoft-ie URL schema to windows
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\microsoft-ie]
@="URL:Internet Explorer Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\microsoft-ie\shell]
@="open"
[HKEY_CLASSES_ROOT\microsoft-ie\shell\open]
@eirannejad
eirannejad / rps_init.py
Last active January 12, 2024 19:21
RevitPythonShell init
# these commands get executed in the current scope
# of each new shell (but not for canned commands)
#pylint: disable=all
import clr
clr.AddReferenceByPartialName('PresentationCore')
clr.AddReferenceByPartialName('AdWindows')
clr.AddReferenceByPartialName("PresentationFramework")
clr.AddReferenceByPartialName('System')
clr.AddReferenceByPartialName('System.Windows.Forms')

Keybase proof

I hereby claim:

  • I am eirannejad on github.
  • I am ein (https://keybase.io/ein) on keybase.
  • I have a public key whose fingerprint is 42CF 12C5 1964 6D48 64AF E047 1DCA 67BC 96F8 BED4

To claim this, I am signing this object: