Skip to content

Instantly share code, notes, and snippets.

View beacrea's full-sized avatar

Coty Beasley beacrea

View GitHub Profile
@beacrea
beacrea / redact_vscode.py
Created October 11, 2024 20:45
Redactor Task for Visual Studio
import json
def load_config(config_file):
with open(config_file, 'r') as file:
return json.load(file)
def redact_pii(file_path, config_file='redaction_config.json'):
config = load_config(config_file)
with open(file_path, 'r', encoding='utf-8') as file:
@beacrea
beacrea / SketchSystems.spec
Last active November 20, 2023 19:02
Onboarding
Onboarding
Internet Speed
Choose speed -> VAS Options
VAS Options
Yes TV -> TV Drawer
Yes VoIP -> VoIP Drawer
Not interested
TV Drawer
Chose TV options
No TV
@beacrea
beacrea / activated.json
Last active April 6, 2023 17:51 — forked from josemarluedke/activated.json
Voip Requests
{
"action": "subscription.activated",
"activated_at": "2023-02-10T07:46:55-08:00",
"assigned_resources": [],
"service": {
"detail": {},
"id": "e1619919-7b87-4b96-adb4-77ba5d57d78c",
"type": "voip"
},
"subscription": {
@beacrea
beacrea / SketchSystems.spec
Last active April 14, 2020 01:45
Marketplace Home
Marketplace Home
Initial Actions
Filter or Search Engaged -> Service Filter
Provider Selected -> Provider Page
Service Filter
Cancel -> Marketplace Home
Select Service Type
Internet Service -> Service Results
IPTV Service -> Service Results
/* SERVER ONE */
const express = require('express')
const cors = require('cors')
const proxy = require('express-http-proxy')
const app = express()
// Table Options
// CORS and JSON Config
app.use(cors())
@beacrea
beacrea / SketchSystems.spec
Last active August 6, 2018 21:32
Portfolio Constructor Sidebar
Portfolio Constructor Sidebar
Build Sample Set*
Pricing Data Required
Download and Upload Data -> Optimization Details
Add filters -> Pricing Data Required
Modified sample set -> Pricing Data Required
Optimization Details
Modified sample set -> Pricing Data Required
Add optimizations -> Portfolio Can Be Generated
Portfolio Can Be Generated
@beacrea
beacrea / SketchSystems.spec
Last active September 15, 2022 21:14
Search Input
Search Input
Nothing selected -> No results
User selects input -> Text to type at least 3 characters
User begins typing -> Text to type at least 3 characters
User types 0-2 characters -> Text to type at least 3 characters
User types 3-8 characters
If matches -> Show partial matches
If no matches -> Show error
User types 9 characters
If match -> Show single match
@beacrea
beacrea / test.json
Created March 21, 2018 18:24
Json Test
[
{
"title": "1 Year Maturity (2019)",
"year": 2019,
"maturity": 1,
"val_benchmark": 2.37,
"val_atOffering": 1.37
},
{
"title": "2 Year Maturity (2020)",
@beacrea
beacrea / fiddle.html
Created March 11, 2018 02:38 — forked from anonymous/fiddle.html
Content Object to HTML (source: https://jsfiddle.net/beacrea/v8q5av86/)
<div id="container"></div>
@beacrea
beacrea / delete-channel-messages.js
Created March 5, 2018 20:35 — forked from firatkucuk/delete-slack-messages.js
Deletes slack public/private channel messages.
var https = require('https');
// CONFIGURATION #######################################################################################################
var token = 'SLACK TOKEN';
var channel = 'CHANNEL ID';
var privateChannel = false;
var delay = 300; // delay between delete operations in millisecond
// GLOBALS #############################################################################################################