Skip to content

Instantly share code, notes, and snippets.

Working on ArcShell!

Ethan Post ethanpost

Working on ArcShell!
Block or report user

Report or block ethanpost

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View apex utl_http cert error example
dbms_network_acl_admin.create_acl (
acl => 'http_access', -- or any other name
description => 'HTTP Access',
principal => 'ADMIN', -- the user name trying to access the network resource
is_grant => TRUE,
privilege => 'connect',
start_date => null,
end_date => null
ethanpost /
Created Jan 1, 2020
Example of using Flask-Mail with Gmail
# This code works for me :)
from flask import Flask
from flask_mail import Mail, Message
app = Flask(__name__)
ethanpost /
Last active Jan 17, 2019
A brief list of things I have accomplished in 2019.

Ethan Ray Post (2019 Accomplishments)

You can find my resume here.

Contact me at 931-230-3318 or Text or email first (phone bot avoidance strategy).


Free Stuff
Released an .awk script that generates charts from the command line using Google Charts.

ethanpost /
Last active Jul 8, 2019
Resume for Ethan Ray Post

Ethan Ray Post

Sr. Systems Admin/Automation Specialist

3514 Kennedy Ln. Centerville, TN 37033 (931) 230-3317

  • 20 years of experience working with technologies new and old in multiple roles.
View gist:8004370dcfa7a6a6516f5bed0c18db74
create or replace view whatslocked as (
select session_id,
, object_name
, decode(a.locked_mode,
0, 'None', /* Mon Lock equivalent */
1, 'Null', /* N */
2, 'Row-S (SS)', /* L */
3, 'Row-X (SX)', /* R */
4, 'Share', /* S */
ethanpost / gist:c2a622c9aad1017e9eab766b278a2b3f
Created Aug 8, 2018
My implementation of a 'file_is_binary' function.
View gist:c2a622c9aad1017e9eab766b278a2b3f
# Some lines may be dependent on my framework and need to be removed or modified. Easy enough to do.
function file_is_binary {
# Return true if file is binary, false if not.
# >>> file_is_binary "file"
typeset file
file_raise_file_not_found "${file}" && ${returnTrue}
[[ ! -s "${file}" ]] && ${returnFalse}
if boot_does_program_exist "perl"; then
ethanpost / gist:1845ff526bdd6ca3dbc81fd8f97dd71b
Created Aug 8, 2018
Bash function returns files only from a directory. Can return full path. Does not return files in sub-directories. Uses find so it can handle a large number of files.
View gist:1845ff526bdd6ca3dbc81fd8f97dd71b
function file_list_files {
# Return the full path to the files in a directory. Does not include subdirectories.
# >>> file_list_files [-l] "directory"
# -l: Return full path (long listing).
typeset directory full_path file
if [[ "${1}" == "-l" ]]; then
shift && full_path=1
View markdown_plsql_doc_example
GO PLSQL Package Documentation
You can’t perform that action at this time.