Skip to content

Instantly share code, notes, and snippets.

@jimbrig
jimbrig / reactable_edit.R
Created February 11, 2025 15:01 — forked from DeepanshKhurana/reactable_edit.R
Editable Reactable (with Modals)
library(shiny)
library(reactable)
library(dplyr)
ui <- fluidPage(
actionButton(inputId = "edit",
label = "Edit"),
reactableOutput("table")
)
{
"auth": {
"type" : "basic"
},
"requestId" : 15,
"method": {
"name": "getLeasePickList",
"version":"r1"
}
}
We can't make this file beautiful and searchable because it's too large.
report_date,property_id,property_name,bldg_unit,unit_type,resident_name,lease_status,lease_term_name,lease_start_date,lease_end_date,deposit_charged,deposit_held,market_rent,budgeted_rent,advertised_rate,scheduled_rent,actual_charges
2025-02-11,676055,Academy Lincoln,NA,D1,"Acheson, Amanda",Lease Approved,Annual (08/16/2025-07/31/2026),2025-08-16,2026-07-31,0,0,0,0,690,690,0
2025-02-11,676055,Academy Lincoln,NA,D1,"Ain, Mason",Lease Approved,Annual (08/16/2025-07/31/2026),2025-08-16,2026-07-31,715,0,0,0,690,715,0
2025-02-11,676055,Academy Lincoln,NA,D1,"Anderson, Brylie",Lease Approved,Annual (08/16/2025-07/31/2026),2025-08-16,2026-07-31,690,0,0,0,690,745,0
2025-02-11,676055,Academy Lincoln,NA,D1,"Andrews, Josiah",Lease Approved,Annual (08/16/2025-07/31/2026),2025-08-16,2026-07-31,0,0,0,0,730,705,0
2025-02-11,676055,Academy Lincoln,NA,D1,"Archbold, Dillon",Lease Approved,Annual (08/16/2025-07/31/2026),2025-08-16,2026-07-31,0,0,0,0,730,760,0
2025-02-11,676055,Academy Lincoln,NA,D1,"Armbrust, Avery",Lease Appro
@jimbrig
jimbrig / gmhcommunities.brandfetch.response.json
Created December 19, 2024 23:01
GMH Communities Brand Fetch Response
{
"id": "id1vzz_tJL",
"name": "GMH Communities",
"domain": "gmhcommunities.com",
"claimed": false,
"description": "We are GMH communities, a privately owned, real estate company specializing in the acquisiton, development, and management of exceptional living communities.",
"longDescription": "GMH Communities is a privately owned real estate company that specializes in acquiring, developing, and managing exceptional living communities across the United States. With over 35 years of experience, GMH Communities, owned by GMH Associates™, has established itself as a leader and innovator in the industry since 1985. Their comprehensive services cover every aspect of the development process, from preliminary concepts to delivery. The dedicated GMH team handles site selection and acquisition, due diligence, entitlements, design coordination, and construction, ensuring a seamless and efficient experience for their clients. GMH Communities has received numerous accolades for their work, includi
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jimbrig
jimbrig / shiny-reactive-R6-object.R
Created December 4, 2024 22:02 — forked from bborgesr/shiny-reactive-R6-object.R
Uses the reactiveTrigger() construct in an R6 object class in order to make it useful in reactive settings, like a Shiny app (MWE included)
library(shiny)
reactiveTrigger <- function() {
counter <- reactiveVal( 0)
list(
depend = function() {
counter()
invisible()
},
trigger = function() {
@jimbrig
jimbrig / README.md
Created November 25, 2024 15:45 — forked from disler/README.md
Four Level Framework for Prompt Engineering
@jimbrig
jimbrig / openapi.yml
Created November 7, 2024 23:35
NoClocksAuth OpenAPI
openapi: 3.1.0
info:
title: No Clocks Auth API
version: 1.0.0
description: >-
This API allows for user authentication, management of users, roles, permissions, and session handling.
termsOfService: https://noclocks.dev/terms
contact:
name: API Support
url: https://support.noclocks.dev
@jimbrig
jimbrig / PasswordHashingExample.ps1
Created November 7, 2024 23:28 — forked from zola-25/PasswordHashingExample.ps1
PowerShell example showing outputs generated for a simple SHA-256 hash. No salting or other security mechanisms included.
$inputString = "Password123"
$sha256 = [System.Security.Cryptography.SHA256]::Create()
$bytes = [System.Text.Encoding]::UTF8.GetBytes($inputString)
$hashBytes = $sha256.ComputeHash($bytes)
$base64String = [System.Convert]::ToBase64String($hashBytes)
$binaryString = [System.Text.StringBuilder]::new()
foreach ($byte in $hashBytes) {
@jimbrig
jimbrig / plumber_asynchronous.R
Created November 4, 2024 19:19 — forked from zola-25/plumber_asynchronous.R
Asynchronous REST Operations in R Plumber with futures
# plumber_asynchronous.R
require(future)
require(uuid)
plan(multiprocess)
defaultPackages <- c("plyr",
"dplyr",
"dbplyr",