Skip to content

Instantly share code, notes, and snippets.

View taber's full-sized avatar

Taber Bain taber

View GitHub Profile
@taber
taber / build-emacs.sh
Last active December 8, 2023 23:28
build emacs from src
# this is how I build emacs on a new machine
git clone git://git.savannah.gnu.org/emacs.git ~/git/emacs
cd ~/git/emacs
git pull
sudo apt update
# I think I got these right -_- but y'know use your judgment
@taber
taber / DeNikkudizer.vb
Created November 30, 2020 23:40
Macro to strip vowels from Hebrew/Aramaic text in Word
Sub DeNikkudizer()
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = "[" & ChrW(1425) & "-" & ChrW(1469) & "]"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindStop
.Format = False
.MatchCase = False
@taber
taber / remove_nikud.py
Last active May 18, 2020 22:07
Remove nikkud points from Hebrew text
import unicodedata
def remove_nikud(text):
normalized = unicodedata.normalize('NFKD', text)
result=''.join([c for c in normalized if not unicodedata.combining(c)])
return(result)
@taber
taber / keybase.md
Last active September 11, 2019 18:55

Keybase proof

I hereby claim:

  • I am taber on github.
  • I am taberbain (https://keybase.io/taberbain) on keybase.
  • I have a public key ASBfsv0XxsDMBRAVMugW3T48Y1c_BgY_ulg-H06MUXsjUwo

To claim this, I am signing this object: