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.
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
{"name":"Default","settings":"{\"settings\":\"{\\n // ------------------------------------------------\\n // Updates\\n // ------------------------------------------------\\n \\\"update.mode\\\": \\\"start\\\",\\n \\\"update.showReleaseNotes\\\": true,\\n // ------------------------------------------------\\n // Security\\n // ------------------------------------------------\\n \\\"security.workspace.trust.enabled\\\": false,\\n \\\"security.workspace.trust.banner\\\": \\\"never\\\",\\n \\\"security.workspace.trust.emptyWindow\\\": true,\\n \\\"security.workspace.trust.startupPrompt\\\": \\\"never\\\",\\n \\\"security.workspace.trust.untrustedFiles\\\": \\\"open\\\",\\n // ------------------------------------------------\\n // Telemetry\\n // ------------------------------------------------\\n \\\"telemetry.telemetryLevel\\\": \\\"off\\\",\\n \\\"redhat.telemetry.enabled\\\": false,\\n // ------------------------------------------------\\n // Proxy\\ |
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
# an example server: acquaint's MCP server for R sessions | |
r_process <- callr::r_bg( | |
function() acquaint::mcp_server(), | |
stdout = "|", | |
stdin = "|" | |
) | |
Sys.sleep(1) | |
log_cat_client <- function(x, append = TRUE) { |
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
YAHOO_CLIENT_ID="" | |
YAHOO_CLIENT_SECRET="" |
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
// --- Workbook Module --- | |
// Module containing named range definitions for the GMH Data Model Workbook. | |
/** | |
* Get Sheet Names of Current Workbook | |
*/ | |
Workbook.GetSheetNames = TRANSPOSE(SUBSTITUTE(GET.WORKBOOK(1), "[" & GET.WORKBOOK(16) & "]", "")); | |
/** | |
* Define SheetNames |
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
// --- SQL Module --- | |
// Module containing Lambdas for generating SQL DDL Statements. | |
/** | |
* Generates SQL ENUM statements from header and values | |
*/ | |
SQLEnum = LAMBDA(header_cell, values_range, | |
"CREATE TYPE ""survey""." & CHAR(34) & header_cell & CHAR(34) & " AS ENUM (" & CHAR(10) & | |
TEXTJOIN("," & CHAR(10), TRUE, " '" & FILTER(values_range, values_range <> "") & "'") & CHAR(10) & | |
");" |
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
// --- AddressTools Module --- | |
// Module containing Lambdas for working with Addresses. | |
/* | |
* Extract the Street from an Address | |
*/ | |
AddressStreet = LAMBDA(address, LEFT(address,FIND(",",address)-1)); | |
/* | |
* Extract the City from an Adderss |
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
/* | |
* Extract the Street from an Address | |
*/ | |
AddressStreet = LAMBDA(address, LEFT(address,FIND(",",address)-1)); | |
/* | |
* Extract the City from an Adderss | |
*/ | |
AddressCity = LAMBDA(address, TRIM(MID(address,FIND(",",address)+1,FIND(",",address,FIND(",",address)+1)-FIND(",",address)-1))); |
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
/** | |
* Generates SQL ENUM statements from header and values | |
*/ | |
SQLEnum = LAMBDA(header_cell, values_range, | |
"CREATE TYPE ""survey""." & CHAR(34) & header_cell & CHAR(34) & " AS ENUM (" & CHAR(10) & | |
TEXTJOIN("," & CHAR(10), TRUE, " '" & FILTER(values_range, values_range <> "") & "'") & CHAR(10) & | |
");" | |
); | |
/** |
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.
NewerOlder