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
@ethanpost
ethanpost / Ethan_Ray_Post_2019_Accomplishments.md
Last active Jan 17, 2019
A brief list of things I have accomplished in 2019.
View Ethan_Ray_Post_2019_Accomplishments.md

Ethan Ray Post (2019 Accomplishments)

You can find my resume here.

Contact me at 931-230-3318 or post.ethan@gmail.com. Text or email first (phone bot avoidance strategy).

January

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

@ethanpost
ethanpost / resume.md
Last active Jul 8, 2019
Resume for Ethan Ray Post
View resume.md

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,
oracle_username
, 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
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"
${arcRequireBoundVariables}
typeset file
file="${1:-}"
file_raise_file_not_found "${file}" && ${returnTrue}
[[ ! -s "${file}" ]] && ${returnFalse}
if boot_does_program_exist "perl"; then
@ethanpost
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
else
full_path=0
fi
View markdown_plsql_doc_example
GO PLSQL Package Documentation
=====
[TOC]
#**PROCEDURES AND FUNCTIONS**
#**PACKAGES**
##**GO**
You can’t perform that action at this time.