Skip to content

Instantly share code, notes, and snippets.

View Louis-Tian's full-sized avatar

LoTi Louis-Tian

View GitHub Profile
@lightonphiri
lightonphiri / bash-install_google_fonts_on_ubuntu.md
Last active May 27, 2024 17:53
Install Google Fonts on Ubuntu

Install Google Fonts

Download desired fonts

https://fonts.google.com/?selection.family=Open+Sans

Install Google Fonts on Ubuntu

cd /usr/share/fonts
sudo mkdir googlefonts
cd googlefonts
sudo unzip -d . ~/Downloads/Open_Sans.zip

@cjmatta
cjmatta / drill_odbc.py
Created July 20, 2015 16:27
Drill with Python ODBC
import pyodbc
import re
# make sure the Drill ODBC driver is installed
# this is for Mac
MY_DSN = """
Driver = /opt/mapr/drillodbc/lib/universal/libmaprdrillodbc.dylib
ConnectionType = Zookeeper
ZKQuorum = node10:5181,node11:5181,node12:5181
ZKClusterID = se1-drillbits