This guide provides a comprehensive PowerShell script that allows you to backup, restore, analyze, and optimize your Windows Registry. Additionally, it integrates the OpenAI GPT-4 API to provide AI-powered analysis of your registry settings.
In the Generative AI Age your ability to generate prompts is your ability to generate results.
Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.
Replace {{user-input}}
with your own input to generate prompts.
Use mp_*.txt
as example user-input
s to see how to generate high quality prompts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options(shiny.maxRequestSize = 5 * 1024^2) # Limit uploads to 5 MB | |
library(shiny) | |
library(magick) | |
library(base64enc) | |
library(bslib) | |
# Helper function to sanitize file names | |
safeFileName <- function(filename) { | |
gsub("[^a-zA-Z0-9_.-]", "_", filename) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a sample R Shiny app chatbot that runs local models with an Ollama server. | |
# You also need Ollama installed and a ollama server running, plus at least one local model pulled. | |
# I hard-coded a few local models, | |
# If you use this, you'll want to hard code yours (including descriptions, or take those out) | |
# Coded with lots of LLM help + Posit's Shiny Assistant. | |
library(shiny) | |
library(shinychat) | |
library(bslib) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(elmer) | |
library(tidyverse) | |
library(DiagrammeR) | |
library(glue) | |
code <- "starwars %>% | |
group_by(species) %>% | |
summarise( | |
n = n(), | |
mass = mean(mass, na.rm = TRUE) |
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 26 columns, instead of 24 in line 3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
report_date,property_id,property_name,investment_partner,total_beds,model_beds,current_occupied,current_occupancy,current_total_new,current_total_renewals,current_total_leases,current_preleased_percent,prior_total_new,prior_total_renewals,prior_total_leases,prior_preleased_percent,yoy_variance_count,yoy_variance_percent,weekly_new,weekly_renewal,weekly_total,weekly_percent_gained,beds_left,vel_90,vel_95,vel_100 | |
2025-02-12,518041,The Academy at Frisco,AEW,640,4,634,0.990625,320,255,575,0.8984375,259,316,575,0.8984375,0,0,4,2,6,0.009375,65,2.0172413793103448,2.1293103448275863,2.2413793103448274 | |
2025-02-12,518042,The Academy on Charles,JHU,328,4,327,0.9969512195121951,90,72,162,0.49390243902439024,124,113,237,0.7225609756097561,-75,-0.22865853658536586,1,0,1,0.003048780487804878,166,5.151724137931034,5.437931034482759,5.724137931034483 | |
2025-02-12,518044,Shortbread Lofts,Principal,374,3,374,1,346,25,371,0.9919786096256684,333,25,358,0.9572192513368984,13,0.034759358288770054,2,0,2,0.0053475935828877,3,0.09310344 |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
report_date,property_id,property_name,bldg_unit,unit_type,unit_status,floorplan_name,sqft,resident_id,resident_name,resident_email,resident_phone,resident_gender,leasing_agent,lease_id,lease_status,lease_sub_status,lease_occupancy_type,lease_term_name,lease_term_month,space_option_preferred,space_option,move_in_date,lease_start_date,lease_end_date,lease_started_on_date,lease_partially_completed_on_date,lease_completed_on_date,lease_approved_on_date,charge_code,ledger_name,deposit_charged,deposit_held,market_rent,budgeted_rent,advertised_rate,scheduled_rent,actual_charges,scheduled_rent_total | |
2025-02-14,739076,1008 S. 4th,212-A,B1,Notice Rented,B1,316,18106780,"Walawender, Alex",[email protected],(708) 964-3857,Male,"McClain, Jessica",R13499618,Lease Approved,,Student,Annual (08/15/2025-07/30/2026),12,Per Bedroom,Per Bedroom,2025-08-15,2025-08-15,2026-07-30,2024-10-07,2024-10-08,2024-10-08,2024-10-09,Base Rent,Resident,1015,0,925,893,1015,1015,0,1015 | |
2025-02-14,739076,1008 S. 4th,212-B,B1,Notice Rente |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(reactable) | |
library(dplyr) | |
ui <- fluidPage( | |
actionButton(inputId = "edit", | |
label = "Edit"), | |
reactableOutput("table") | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auth": { | |
"type" : "basic" | |
}, | |
"requestId" : 15, | |
"method": { | |
"name": "getLeasePickList", | |
"version":"r1" | |
} | |
} |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder