Skip to content

Instantly share code, notes, and snippets.

View qykong's full-sized avatar
🐢

Quyu Kong qykong

🐢
View GitHub Profile
@qykong
qykong / get_docker.sh
Created February 16, 2021 06:25 — forked from sequoiap/get_docker.sh
Install docker on Ubuntu
#!/usr/bin/env bash
# Convenience script for setting up docker and docker-compose on Ubuntu.
# Steps essentially copied and pasted from:
# https://docs.docker.com/install/linux/docker-ce/ubuntu/
# https://docs.docker.com/compose/install/
# Uninstall any existing docker installations
sudo apt-get remove docker docker-engine docker.io containerd runc
@qykong
qykong / ttf-vista-fonts-installer.sh
Created July 16, 2018 05:10 — forked from maxwelleite/ttf-vista-fonts-installer.sh
Script to install Microsoft Vista TrueType Fonts (TTF) aka Microsoft’s ClearType fonts on Ubuntu distros
#!/bin/bash
# Author: Maxwel Leite
# Website: http://needforbits.wordpress.com/
# Description: Script to install Microsoft Vista TrueType Fonts (TTF) aka Microsoft’s ClearType fonts on Ubuntu distros
# Microsoft added a group of new "ClearType Fonts" to Windows with Windows Vista and Office 2007.
# These fonts are named Constantia, Corbel, Calibri, Cambria (and Cambria Math), Candara, and Consolas.
# Calibri became the default font on Microsoft Word 2007, and it’s still the default font on Word 2016 today.
# Dependencies: wget, fontforge and cabextract
# Note: Microsoft no longer provides the PowerPoint Viewer 2007 (v12.0.4518.1014) or any version anymore for download
# Tested: Ubuntu Saucy/Trusty/Xenial/Bionic