Skip to content

Instantly share code, notes, and snippets.

View rasika's full-sized avatar

Rasika Perera rasika

View GitHub Profile
@rasika
rasika / squid.conf
Last active January 20, 2024 08:52
Minimal squid.conf for ssl bump and https caching
acl intermediate_fetching transaction_initiator certificate-fetching
http_access allow intermediate_fetching
#
# Recommended minimum configuration:
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN)
import sys
from nltk import numpy
from nltk.cluster import kmeans, gaac, euclidean_distance
import nltk.corpus
from nltk import decorators
import nltk.stem
stemmer_func = nltk.stem.snowball.EnglishStemmer().stem
stopwords = nltk.corpus.stopwords.words("english")