Skip to content

Instantly share code, notes, and snippets.

View noodlebreak's full-sized avatar
💭
Dormant

noodlebreak

💭
Dormant
View GitHub Profile
@ovicus
ovicus / naive-bayes.py
Created March 23, 2014 16:15
Sentiment Classifier based on Naive Bayes
# ###########################################################################################
# Sentiment Classifier based on Naive Bayes
#
# Author: Lester Sanchez
# Email: lestersd@gmail.com
# Date: March, 2014
# Accuracy: above 82%
#
# This is a very simple implementation of a sentiment classifier based on naive bayes.
# In my tests, I got better results generating bi-grams in addition to simple tokens.
@bishboria
bishboria / springer-free-maths-books.md
Last active April 25, 2024 06:27
Springer made a bunch of books available for free, these were the direct links
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active May 2, 2024 08:41
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.