Skip to content

Instantly share code, notes, and snippets.

View addodelgrossi's full-sized avatar

Addo addodelgrossi

  • Araraquara, Brazil
View GitHub Profile

slow

This bash script offers quick shortcuts to simulate slower network connections. It is useful when you need to simulate a wireless network on a Linux network server, especially when you are using a virtual machine guest on your local machine or in the cloud.

slow 3G                   # Slow network on default eth0 down to 3G wireless speeds
slow 3G -l 600ms -p 10%   # slow network on eth0 and setup latency to 600ms packetloss to 10%
slow reset                # Reset connection for default eth0 to normal
slow vsat --latency=500ms # Simulate satellite internet  with a high latency

slow dsl -b 1mbps # Simulate DSL with a slower speed than the default

@addodelgrossi
addodelgrossi / README.md
Created November 27, 2017 21:58 — forked from mmasashi/README.md
Install Oracle instant client (sqlplus) v12.1 on MacOSX

Install Oracle instant client (sqlplus) on MacOSX

  1. Get Oracle instant client for MacOSX
  1. Unarchive downloaded zip files into a same directory
  • ex: $HOME/Downloads/instantclient_12_1
  1. Create install.sh and copy the following code and past it on that file.
@addodelgrossi
addodelgrossi / instantclientguide.md
Last active May 23, 2018 03:23 — forked from plasx/instantclientguide.md
Installing instant client 12 on macOS Sierra

Installing Oracle Mac OS Sierra

Download

  • instantclient-basic-macos.x64-12.2.0.1.0.zip
  • instantclient-sqlplus-macos.x64-12.2.0.1.0.zip
  • instantclient-sdk-macos.x64-12.2.0.1.0.zip

Create a directory /usr/local/lib/share/oracle