Skip to content

Instantly share code, notes, and snippets.

View kevin3747118's full-sized avatar

Kevin Huang kevin3747118

  • @ALZK-TW, Anteater-Tech, Oracle
  • Taiwan
View GitHub Profile

FreeTDS and ODBC Configuration on Ubuntu 16 LTS

Installation Command on Ubuntu

$ sudo apt-get install unixodbc unixodbc-dev freetds-dev freetds-bin tdsodbc

Configuration file locations:

  • /etc/freetds/freetds.conf
[azure]

Install pymssql on Ubuntu 16 LTS

Before Installation

Finish the steps from FreeTDS & ODBC

Install non-binary package

I am not sure about why this is necessary maybe for the SSH support reason.

$ pip install --no-binary pymssql pymssql

Docker Note

Install Docker on Ubuntu

Install from Ubuntu repo - older verion

$ sudo apt-get update 
$ sudo apt-get install -y docker.io

Install from Docker official - new version

$ sudo apt-get update
@kevin3747118
kevin3747118 / mac-setup.md
Last active February 24, 2023 21:10 — forked from todc/mac-setup.md
Fresh Mac OS Setup

1. (Optional) Run Software Update

Make sure everything is up to date.

Software Update

2. (Optional) Install Xcode and its "Command Line Tools"

  1. Go to App Store and install Xcode.
  2. Open and accept the terms
@kevin3747118
kevin3747118 / note.md
Created April 23, 2018 07:32
MySQL Note

MySQL

DDL

Enable root remote login :

  GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
  FLUSH PRIVILEGES;
// https://inteist.com/git-remove-pods-folder-from-pushed-repository-how-to/
git filter-branch --index-filter 'git rm --cached --ignore-unmatch Pods/*' --tag-name-filter cat -- --all
git push --force