Skip to content

Instantly share code, notes, and snippets.

View dwelch2344's full-sized avatar

David Welch dwelch2344

View GitHub Profile
@dwelch2344
dwelch2344 / cmd.sh
Last active January 5, 2025 07:11
Minikube + Strimzi fail
minikube start --driver docker --network socket_vmnet --cpus=4 --memory=8192 && \
minikube update-context && \
minikube addons enable ingress
terraform apply
# after load balancers are ready
minikube tunnel
@dwelch2344
dwelch2344 / test
Created October 2, 2024 21:57
GGG
hu

If you are looking for a no-code solution to perform background checks using Checkr without integrating with other services, here's a straightforward guide:

Checkr No-Code Setup and Usage

  1. Sign Up for Checkr:

    • Visit Checkr's website and sign up for an account.
    • Follow the prompts to complete your account setup, including any necessary business verification steps.
  2. Select Your Background Check Package:

  • Log in to your Checkr account and navigate to the "Background Checks" section.
(function() {
if (typeof globalThis === 'object') return;
try {
// This will define globalThis as a getter on the global object
Object.defineProperty(Object.prototype, '__magic__', {
get: function() {
return this;
},
configurable: true // This makes it possible to delete the property later.
});
@dwelch2344
dwelch2344 / vite.config.js
Created March 8, 2024 00:18
Obfuscate via vite
import { defineConfig } from 'vite';
import path from 'path';
import glob from 'glob';
import { esbuildCommonjs } from '@originjs/vite-plugin-commonjs';
// Function to generate a virtual entry file content
const generateVirtualEntry = (srcFiles, moduleFiles) => {
let content = '';
// Import specific modules first
content += moduleFiles.map(file => `import "${file}";`).join('\n');
# → npm audit --parseable | grep "Will install"
Will install eslint@8.57.0, which is a breaking change
Will install webpack-dev-server@5.0.2, which is a breaking change
Will install css-loader@6.10.0, which is a breaking change
Will install webpack-bundle-analyzer@4.10.1, which is a breaking change
Will install webpack-dev-server@5.0.2, which is a breaking change
Will install webpack-dev-server@5.0.2, which is a breaking change
Will install html-webpack-plugin@5.6.0, which is a breaking change
Will install webpack-dev-server@5.0.2, which is a breaking change
Will install url-loader@4.1.1, which is a breaking change

Summarize Okta's Identity offering(s)

Okta's identity solutions offer a comprehensive suite of tools designed to manage and secure user identities and access privileges within organizations. Their offerings can be broadly summarized as follows:

  1. Single Sign-On (SSO): Allows users to access multiple applications with a single set of credentials, improving user experience and reducing password fatigue.

  2. Multi-Factor Authentication (MFA): Adds an extra layer of security by requiring users to provide multiple forms of identification before accessing sensitive resources.

  3. Universal Directory: A flexible and scalable cloud-based directory for storing and managing user, group, and device profiles across an organization.

git add -A; \
git commit --amend --no-edit; \
git push -f; \
gh workflow run example-workflow.yml --ref example_branch; \
sleep 2; \
gh run list --json url --workflow=example-workflow.yml \
| jq -r '.[0].url' \
| xargs open
@dwelch2344
dwelch2344 / should this run on mac.txt
Last active October 1, 2023 20:11
Is NX 16 broken or is it just me?
→ mkdir -p /tmp/nx_darwin
cd /tmp/nx_darwin
npm i @nx/nx-darwin-arm64@16.8.0
chmod a+x node_modules/@nx/nx-darwin-arm64/nx.darwin-arm64.node
node_modules/@nx/nx-darwin-arm64/nx.darwin-arm64.node
added 1 package in 1s
zsh: exec format error: node_modules/@nx/nx-darwin-arm64/nx.darwin-arm64.node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const semver = require("semver");
const config_1 = require("../config");
const http_utils_1 = require("../http_utils");
const config_source_1 = require("./config_source");
class ChromeXml extends config_source_1.XmlConfigSource {
constructor() {
super('chrome', config_1.Config.cdnUrls()['chrome']);
this.maxVersion = config_1.Config.binaryVersions().maxChrome;