Skip to content

Instantly share code, notes, and snippets.

View zahin-mohammad's full-sized avatar
💭
I may be slow to respond.

Zahin Mohammad zahin-mohammad

💭
I may be slow to respond.
  • Toronto
View GitHub Profile
@zahin-mohammad
zahin-mohammad / manage-gauntlet.sh
Last active July 20, 2025 14:41
Gauntlet: install, update, un-install script for ubuntu 24
#!/bin/bash
set -e
REPO="project-gauntlet/gauntlet"
FILENAME="gauntlet-x86_64-linux.tar.gz"
BIN_PATH="/usr/local/bin/gauntlet"
INSTALL_DIR="$HOME/.local/share/applications/gauntlet"
DESKTOP_TARGET="$HOME/.local/share/applications/gauntlet.desktop"
SYSTEMD_USER_SERVICE="$HOME/.config/systemd/user/gauntlet.service"
@zahin-mohammad
zahin-mohammad / neuralcoref_vs_corenlp_coref_annotator.py
Created January 19, 2021 22:39
neuralcoref vs corenlp coref resolution
import os
import neuralcoref
import en_core_web_sm
from stanfordnlp.server import CoreNLPClient
CORENLP_HOST = os.getenv('CORENLP_HOST') or 'localhost'
CORENLP_PORT = os.getenv('CORENLP_PORT') or 9000
CORENLP_URL = f'http://{CORENLP_HOST}:{CORENLP_PORT}'
annotators = 'tokenize, ssplit, pos, lemma, ner, entitymentions, coref, sentiment, openie'
sudo apt install -y zsh
sudo chsh -s /usr/bin/zsh root
sudo chsh -s /usr/bin/zsh $USER
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
echo "source $~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting
echo "source $~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
logout

Keybase proof

I hereby claim:

  • I am zahin-mohammad on github.
  • I am zahin_mohammad (https://keybase.io/zahin_mohammad) on keybase.
  • I have a public key ASBSnvrSGnvhSndN5P7BTIXaYc452GI8QMDtZD_JwwN7UQo

To claim this, I am signing this object:

@zahin-mohammad
zahin-mohammad / README-Template.md
Created July 16, 2018 23:51 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites