Skip to content

Instantly share code, notes, and snippets.

View rajacsp's full-sized avatar

Raja CSP rajacsp

View GitHub Profile
package org.rj;
import java.sql.*;
public class Oracle12CEETest {
private final static String DB_URL = "jdbc:oracle:thin:@//127.0.0.1:1521/orcl";
private final static String USER = "system";
private final static String PASS = "oracle";
Postgres-Docker Installation:
docker pull postgres
mkdir -p $HOME/docker/volumes/postgres
docker run --name pgdocker -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 -v $HOME/docker/volumes/postgres:/var/lib/postgresql/data postgres
docker exec -it pgdocker bash
@rajacsp
rajacsp / virtualbox-vagrant-nuclear-option.sh
Created March 23, 2019 01:27 — forked from tjbenton/virtualbox-vagrant-nuclear-option.sh
Completely uninstall VirtualBox and Vagrant and reinstall through brew
# update brew because `brew update` is broken after updating to El Capitan
cd `brew --prefix`
git fetch origin
git reset --hard origin/master
sudo shutdown -r now # restart the computer
# open terminal and run the following
brew update
brew cleanup
@rajacsp
rajacsp / my-alias
Created March 14, 2019 00:38 — forked from rajasgs/my-alias
alias blah="/usr/bin/blah"
alias lh="ls -hal"
alias hiry="history"
alias clearme="history -c"
alias cls="clear"