Skip to content

Instantly share code, notes, and snippets.

View vkeenan's full-sized avatar
💭
Looking for Salesforce Devops Connections!

Vernon Keenan vkeenan

💭
Looking for Salesforce Devops Connections!
View GitHub Profile
swagger: "2.0"
info:
version: 0.1.0
title: "geo"
description: "Geographic Microservice"
termsOfService: "http://taxnexus.net/terms/"
contact:
email: "vern@taxnexus.net"
license:
name: "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc."
package geo
import (
"github.com/go-openapi/runtime/middleware"
"taxnexus.io/geo/restapi/operations/cors"
)
const headers = "Content-Type,X-API-Key"
const methods = "GET,POST,PUT,OPTIONS"
const origin = "*"
package geo
import (
"fmt"
"net/http"
"github.com/go-openapi/runtime/middleware"
"taxnexus.io/geo/models"
"taxnexus.io/geo/restapi/operations/coordinate"
)
@vkeenan
vkeenan / Makefile
Last active March 14, 2021 20:15
Salesforce DX CLI (sfdx-cli) sample Makefile
.PHONY: build dump push pull open
open:
sfdx force:org:open
push:
sfdx force:source:push
pull:
sfdx force:source:pull
Name Primary Function Repo Author/Vendor
CLI Scanner Plug-in Security Scanner https://github.com/forcedotcom/sfdx-scanner Salesforce
Data Move Utility Data Migration https://github.com/forcedotcom/SFDX-Data-Move-Utility Salesforce
dependencies-cli Dependency API (beta) https://github.com/forcedotcom/dependencies-cli Community
DX@Scale Solution Devops Utility https://github.com/Accenture/sfpowerkit Accenture
ETCopyData Data Migration https://github.com/eltoroit/ETCopyData Andres Perez
isvte-sfdx-plugin Security Scanner htt
@vkeenan
vkeenan / install-sfdx-script.sh
Last active May 26, 2024 18:34
How to Install SFDX-CLI on Ubuntu 20.04 with Autocomplete using NVM
# How to Install SFDX-CLI on Ubuntu 20.04 with Autocomplete using NVM
#
# By: Vernon Keenan, vern@vernonkeenan.com, https://salesforcedevops.net, https://github.com/vkeenan
#
# Install the following for a full SFDX-CLI installation:
#
# * Zsh shell
# * Oh My Zsh shell enhancement
# * NVM NodeJS verison manager
# * Lastest LTS versions of NodeJS and NVM
How To Power Up SFDX-CLI with VS Code Remote - SSH, Windows Edition
by Vernon Keenan
from SalesforceDevops.net
Youtube: https://youtu.be/vdwM2WOUBuk
Change these values for your environment:
devops = DNS hostname of remote SSH server
vern = Linux username on remote server
@vkeenan
vkeenan / push-action-deploy.yml
Last active April 5, 2022 19:54
GitHub Action: SFDX-CLI Deploy from Repository
name: SFDX-CLI Deploy from Repository
on: [push]
jobs:
SFDX-CLI-Deploy:
runs-on: ubuntu-latest
steps:
- run: echo "🐧 GitHub Action running on ${{ runner.os }}"
- run: echo "🔎 Retrieving ${{ github.ref }} from ${{ github.repository }}."
- uses: actions/checkout@v2
- run: npm install sfdx-cli -g
@vkeenan
vkeenan / how-to-actions.md
Last active June 6, 2024 10:57
How To Use SFDX-CLI with GitHub Actions

How To Use SFDX-CLI with GitHub Actions

Create JWT Auth Flow

Create Self-Signed Cert and Key

mkdir -p ~/.ssh/jwt
cd ~/.ssh/jwt
openssl genrsa -des3 -passout pass:SomePassword -out server.pass.key 2048