This guide explains the complete process of forcing users to reset their password on first login using MySQL's password expiration feature. It addresses the seemingly counterintuitive requirement that users must login with their expired password to change it.
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
| { | |
| "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json", | |
| "agents": { | |
| "sisyphus": { | |
| "model": "manifest/orchestrate", | |
| "fallback_models": [{ "model": "manifest/deep" }], | |
| "max_tokens": 250000, | |
| "prompt_append": "If a task requires inspecting images, screenshots, PDFs, diagrams, or other media, do not analyze it directly. Use the look_at tool or delegate to multimodal-looker. If a task involves UI, frontend, visual design, styling, screenshots, or visual QA, delegate to category visual-engineering." | |
| }, | |
| "hephaestus": { |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Peanut Patch Squirrel Exclusion — Three Methods</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=IM+Fell+English+SC&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> | |
| <style> |
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
| { | |
| "$schema": "https://json.schemastore.org/claude-code-settings.json", | |
| "env": { | |
| "ANTHROPIC_BASE_URL": "https://app.manifest.build", | |
| "ENABLE_TOOL_SEARCH": "auto:10", | |
| "ANTHROPIC_CUSTOM_MODEL_OPTION": "manifest/auto", | |
| "ANTHROPIC_CUSTOM_MODEL_OPTION_NAME": "Manifest Auto", | |
| "ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION": "Routed through app.manifest.build", | |
| "CLAUDE_CODE_MAX_OUTPUT_TOKENS": "32000", | |
| "MAX_THINKING_TOKENS": "10000" |
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
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| -- ============================================================================ | |
| -- Table type for the security matrix TVP | |
| -- Must drop SP first (it references the type), then drop/recreate the type. | |
| -- ============================================================================ | |
| IF EXISTS (SELECT 1 FROM sys.procedures WHERE name = 'usp_ConfigureSecurity' AND schema_id = SCHEMA_ID('dbo')) |
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
| /* | |
| -- get query id | |
| SELECT | |
| q.query_id, | |
| qt.query_sql_text | |
| FROM sys.query_store_query_text qt | |
| INNER JOIN sys.query_store_query q ON | |
| qt.query_text_id = q.query_text_id | |
| WHERE query_sql_text like N'%select top 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
| az role assignment list --assignee <USER_OBJECT_ID> --all --include-inherited --include-groups -o json | jq -r '["| Resource Group | Roles |", "|----------------|-------|"] + ([.[] | select(.scope | test("/resourceGroups/[^/]+$") or test("/subscriptions/[^/]+$") or test("/managementGroups/")) | {rg: (.resourceGroup // "Subscription-level"), role: .roleDefinitionName}] | group_by(.rg) | map({rg: .[0].rg, roles: (map(.role) | unique | sort | join(", "))}) | sort_by(.rg) | map("| \(.rg) | \(.roles) |")) | .[]' |
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
| EXECUTE sys.sp_help_change_feed; | |
| EXECUTE sys.sp_help_change_feed_table @source_schema = 'dbo', @source_name = 'users' | |
| EXECUTE sys.sp_help_change_feed_settings; | |
| EXECUTE sys.sp_help_change_feed_table_groups; | |
| --Destroy mirroring from database end: | |
| --EXECUTE sys.sp_change_feed_disable_db; |
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
| <# | |
| .SYNOPSIS | |
| Moves SQL Server database files to target drives with step-by-step DBA confirmation. | |
| .DESCRIPTION | |
| This script moves SQL Server database files from their current locations to specified target paths. | |
| It processes databases one at a time, prompting for DBA confirmation at each step. | |
| The script handles both physical file movement and SQL Server metadata updates. | |
| .PARAMETER ServerInstance |
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
| SELECT | |
| ROW_NUMBER() OVER (ORDER BY section_order, priority) AS row_num, | |
| section, metric, user_info, value, details, status, | |
| query_text, problem_indicator | |
| FROM ( | |
| -- SECTION 1: BLOCKING CHAINS AND LOCK ISSUES | |
| (SELECT | |
| 1 as section_order, 1 as priority, | |
| 'BLOCKING' as section, | |
| 'Lock Chain' as metric, |
NewerOlder