Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View noodlebreak's full-sized avatar
💭
Dormant

noodlebreak

💭
Dormant
View GitHub Profile
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active April 23, 2024 10:53
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.
@bishboria
bishboria / springer-free-maths-books.md
Last active March 22, 2024 11:19
Springer made a bunch of books available for free, these were the direct links
@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.