Skip to content

Instantly share code, notes, and snippets.

Adrian Png fuzziebrain

View GitHub Profile
@fuzziebrain
fuzziebrain / createBaseWallet.sh
Last active Apr 11, 2019
Load an Oracle Wallet with certificates contained in a bundle file.
View createBaseWallet.sh
#!/bin/bash
# PURPOSE:
# Load an Oracle Wallet with certificates contained in a bundle file
# e.g. https://pki.goog/roots.pem
#
# NOTES:
# * Run as oracle
# * Assumes ORAENV is set
@fuzziebrain
fuzziebrain / install.sh
Last active Apr 28, 2018
kscope18-truffle
View install.sh
#!/bin/bash
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
@fuzziebrain
fuzziebrain / sql.bat
Created Jan 8, 2018
Oracle SQLcl sql.bat fixed
View sql.bat
@echo off
REM ########################################################################
REM # (@)sql.bat
REM #
REM # Copyright 2014 by Oracle Corporation,
REM # 500 Oracle Parkway, Redwood Shores, California, 94065, U.S.A.
REM # All rights reserved.
REM #
REM # This software is the confidential and proprietary information
REM # of Oracle Corporation.
@fuzziebrain
fuzziebrain / cockpitws.service
Last active Jan 7, 2018
Systemd Script for Cockpit WS adapted from Matthew Micene's blog post <http://www.projectatomic.io/blog/2015/06/running-cockpit-as-a-service/>.
View cockpitws.service
[Unit]
Description=Cockpit Web Interface
Requires=docker.service
After=docker.service
[Service]
Restart=on-failure
RestartSec=10
ExecStart=/usr/bin/docker run --rm --privileged --pid host -v /:/host --name %p cockpit/ws /container/atomic-run --local-ssh
ExecStop=-/usr/bin/docker stop -t 2 %p
@fuzziebrain
fuzziebrain / vsc-ext-list.md
Last active Jan 8, 2018
Visual Studio Code Extensions List
View vsc-ext-list.md
Extension Name Category Remarks
Language PL/SQL Oracle Development Core support for PL/SQL and SQL for Oracle.
Intellisense for the Oracle Developer Oracle Development Intellisense support for Oracle Database and Oracle Application Express APIs.
odb-task Oracle Development Task runner for compiling PL/SQL. Note that Language PL/SQL also has a task that does the same.
Markdown PDF Miscellaneous Convers Markdown files to PDF.
Insert Date String Miscellaneous Formats and insert current dates and times using keyboard shortcuts.
[Path Intellisense](https://marketplace.visualstudio.com/items?itemName=ch
@fuzziebrain
fuzziebrain / rinkeby_address.txt
Last active Sep 24, 2017
Test Ethereum Wallet
View rinkeby_address.txt
0x850fF511968f259Ef7d82514a9B6db72A1A99cBF
You can’t perform that action at this time.