Skip to content

Instantly share code, notes, and snippets.

View steve-ross's full-sized avatar
👋

Steve Ross steve-ross

👋
View GitHub Profile
@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,
@steve-ross
steve-ross / brew-list-output.txt
Created November 21, 2019 18:51
homebrew packages
➜ brew list
adns fribidi hub libomp oniguruma rename
augeas fzf ical-buddy libplist openexr ruby-build
autoconf gdbm icu4c libpng openjpeg shared-mime-info
autojump gettext ideviceinstaller libspiro openssl sphinx-doc
automake giflib ilmbase libtasn1 [email protected] sqlite
awscli git imagemagick libtiff p11-kit terminal-notifier
bfg git-flow ios-deploy libtool p7zip thefuck
cairo git-lfs jpeg libuninameslist pango themekit
certbot glib jq libunistring pcre unbound
@steve-ross
steve-ross / starship-iterm.toml
Last active September 7, 2021 16:47
Starship Config
# place in ~/.config/starship-iterm.toml
# Don't print a new line at the start of the prompt
add_newline = false
[directory]
style = ""
disabled = true
[character]
disabled = true
@steve-ross
steve-ross / .eslintrc
Created January 17, 2018 20:14
eslint meteor react
{
"env": {
"es6": true,
"node": true,
"jquery": true
},
"parser": "babel-eslint",
"extends": [