Skip to content

Instantly share code, notes, and snippets.

View steve-ross's full-sized avatar
👋

Steve Ross steve-ross

👋
  • Georgia Southern University
  • Savannah, GA
  • 07:15 (UTC -04:00)
View GitHub Profile
@steve-ross
steve-ross / OCI8_Multiple_Loading_Issue.md
Created June 11, 2025 17:30
testing gist with jose

OCI8 Multiple Loading Issue - Diagnosis and Solutions

Problem Description

The PHP warning "Module 'oci8' already loaded in Unknown on line 0" occurs when the OCI8 extension (Oracle database connector) is being loaded multiple times during PHP execution.

Root Cause Analysis

The OCI8 extension is being loaded twice in the system configuration:

@steve-ross
steve-ross / ssh config
Last active May 12, 2025 16:25
local config ssross
#edit or create in ~/.ssh/config
CanonicalizeHostname yes
# e.g. eagle142.cc.georgiasouthern.edu - will be searched for in the CanonicalDomains list
CanonicalDomains cc.georgiasouthern.edu georgiasouthern.edu
#Banner "Dev" Server
Host devbanner b390c
User csdsr03
HostName eagle104
@steve-ross
steve-ross / starship.toml
Last active May 8, 2025 18:20
Steve's starship config
# Starship configuration file
# Customized with a Gruvbox Dark theme and powerline-style segments
# For more information, visit: https://starship.rs/config
"$schema" = 'https://starship.rs/config-schema.json'
format = """
[](color_orange)\
$os\
$username\
@steve-ross
steve-ross / Fira Code Iterm Profile.json
Created September 7, 2021 16:47
iterm config "Fira Code"
{
"Thin Strokes" : 4,
"Working Directory" : "\/Users\/steveross",
"Prompt Before Closing 2" : false,
"Selected Text Color" : {
"Green Component" : 0.24950546026229858,
"Red Component" : 0.24626246094703674,
"Blue Component" : 0.25668647885322571
},
"Rows" : 25,
@steve-ross
steve-ross / starship.toml
Created September 7, 2021 16:46
My starship config
[aws]
disabled = true
[package]
display_private = true
[env_var]
variable = "NPM_PACKAGE_NAME"
symbol = "🎁"
@steve-ross
steve-ross / keybase.md
Created March 19, 2021 22:15
keybase.md

Keybase proof

I hereby claim:

  • I am steve-ross on github.
  • I am steveross (https://keybase.io/steveross) on keybase.
  • I have a public key ASDCdO9SsKSFUIw15yUj3Ec_QQkkRmtaZgeHcIwlquSKuwo

To claim this, I am signing this object:

@steve-ross
steve-ross / patch-bigcommerce-checkout.js
Last active April 6, 2022 13:54
Script for patching/changing the BigCommerce Checkout page
var toPatch = [
{ sel: '[name="billingSameAsShipping"]' , click: true },
{ sel: '[name="redeemableCode"]' , prop: 'placeholder', val: 'Enter Promo Code' },
{ sel: '.ReactModalPortal [name="redeemableCode"]' , prop: 'placeholder', val: 'Enter Promo Code' },
];
var matchedSubscriptionItems = [];
function patchIt(patches) {
var afterElementExists = function(selector, cb) {
function findit() {
@steve-ross
steve-ross / DAA-badge.html
Last active September 3, 2020 13:25
Badge Example for Diversity Action Alliance
<style>
.DAA-badge-link.exclude-tagline::after {
display: none !important;
}
.DAA-badge-link.exclude-tagline .DAA-badge {
margin: auto !important;
padding: 0 !important;
position: relative !important;
@steve-ross
steve-ross / readdir.js
Created February 3, 2020 16:53
read dir node script invoke: node readdir PATHTODIR
const path = require('path');
const fs = require('fs');
//joining path of directory
const directoryPath = path.join(process.argv[2]);
//passsing directoryPath and callback function
fs.readdir(directoryPath, function (err, files) {
//handling error
if (err) {
return console.log('Unable to scan directory: ' + err);
}
@steve-ross
steve-ross / Fira Code.json
Created November 21, 2019 18:54
iterm profile
{
"Ansi 5 Color" : {
"Green Component" : 0.31030611240647216,
"Red Component" : 0.73992505656108598,
"Blue Component" : 0.35376425577116455
},
"Working Directory" : "\/Users\/steveross",
"Prompt Before Closing 2" : false,
"Selected Text Color" : {
"Green Component" : 0.24950546026229858,