Skip to content

Instantly share code, notes, and snippets.

@rossov
rossov / oracle12c1_docker_on_macosx_sierra.md
Last active November 7, 2020 02:09
Running Docker image of Oracle 12c R1 on Mac OS X Sierra
@rossov
rossov / gist:037edd49e7f39bedc516fb9dc2027798
Created March 16, 2017 01:07 — forked from sgergely/gist:3793166
Midnight Commander Keyboard Shortcuts for Mac OSX
----- Esc -----
Quick change directory: Esc + c
Quick change directory history: Esc + c and then Esc + h
Quick change directory previous entry: Esc + c and then Esc + p
Command line history: Esc + h
Command line previous command: Esc + p
View change: Esc + t (each time you do this shortcut a new directory view will appear)
Print current working directory in command line: Esc + a
Switch between background command line and MC: Ctrl + o
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name
@rossov
rossov / cx_oracle_mavericks.sh
Created April 21, 2014 02:16
Install CX_Oracle on Maverics
#
# For 64bit
#
export ARCH=x86_64
# Install/Upgrade
env ARCHFLAGS="-arch $ARCH" pip3 install --upgrade cx_Oracle --allow-external cx-Oracle --allow-unverified cx-Oracle
# Check for updates
pip3 list --outdated --allow-external cx-Oracle --allow-unverified cx-Oracle
@rossov
rossov / ipython3_mavericks.sh
Last active June 19, 2022 23:02
Install ipython3 on Mac OS X Mavericks
# Install ipython3 on Mac OS X Maverics
# Update brew
brew update
brew upgrade
# Install Python 3
brew install python3
# Install ipython
@rossov
rossov / rubyoci8_mavericks.sh
Last active August 29, 2015 13:56
Install ruby-oci8 on Mac OS X Mavericks
# Install Oracle Instant Client
sudo mkdir /opt
sudo chown ${USER}:admin /opt
mkdir -p /opt/oracle
cd /opt/oracle/
unzip ~/Downloads/instantclient-basic-macos.x64-11.2.0.3.0.zip
unzip ~/Downloads/instantclient-sdk-macos.x64-11.2.0.3.0.zip