Skip to main content
Home
實踐-重要 DemoMatters

Main navigation

  • Home
  • Democracy
  • 保險業 新聞
  • 元元園地
  • 討論
  • 維基
User account menu
  • Log in

dyh_ChtGptRcrds

By Misc_Admin, 22 December, 2025

Clarifications: Track my conversation with ChatGPT.
Notes
20250917 DH: The best way to save, is using browser's -Cast, save, and share -Save page as

Page by topics
dyh_ChtGptDrplMrkDwnLnkFltr

  • About creating Drupal module/filter for Markdown Link Syntax


Page by date
ChtGpt20251222

  • sub admin theme - Claro-DmMttrs

ChtGpt20251220

  • Drupal look and feel
  • What to look for in selecting Drupal Theme
  • Admin theme
  • How css class work in Drupal
  • use class as selector vs edit class
  • selection of selector
  • sub-theme need define regions
  • re-assign block, views to region in sub-theme

ChtGpt20251217

  • Increase Drupal upload file size
    • PHP.ini
  • parse .mhtml by javascript
  • electron as browser
  • Drupal view rendering problem
  • Drupal css classes
  • Working with css in browser devtool
  • Drupal sub-theme creation
  • git save custom sub-theme

ChtGpt20251215

  • media, media library module
    • installation problem
    • sites/default/files folder permission
    • git repository/clone/pull permission/owndership
  • folder ownership
  • execution account
    • Apache
    • PHP-FPM
      • run under www-data - so is Drupal
  • bare/worktree repository got you
  • media operation
    • destination folder
    • classification: taxonomy

ChtGpt20251213

  • Drupal media vs image/file
  • .mhtml security/handling

ChtGpt20251209

  • How to tell Blazor serve mode from client mode
  • .razor file
    • @page "Pth"
      • Can be accessed via URL+Pth
      • can have multiple
      • can still be used as component
      • Blazor will collect all Pth and route accordingly
      • when debug, you can use this to locate code
  • randering
    • App.razor
      • the main .html page
      • have minimum
      • main element: <Routes ...>
    • MainLayout.razor
      • referenced in Routes.razor
      • Defines the <Routes...> layout
      • conatains @Body, the component selected via URL
    • per page/.razor layout
      • @layout can be used to use different layout

ChtGpt20251208

  • Drupal markdown image handling

ChtGpt20251207

  • Drupal cache
    • how cache work
    • various ways to disable cache
  • return of filter
    • new FilterProcessResult($new_text);
      • FilterProcessResult object init with return string
  • render array
    • describe HTML content that is to be rendered
      • view, block, ... etc
  • git error
    • .git own by me
    • the rest Drouple files belong to root
    • error when issues: git status
      fatal: detected dubious ownership in repository at '/var/www/misc1'
    • ChatGPT offered work-arounds
      • decide doing 'bare repo'
  • peer nature of git repo
  • Bare repo
    // when code already exist
    > mkdir Pth/BrRpNm.git
    > cd Pth/BrRpNm.git
    > git init
    > git config core.worktree /var/www/misc1 // related to source/worktree
    > git add .
    > git commit

    • .gitignore, .gitattributs kept in source/worktree
  • clone to PC
    > cd /_Cds/_ClPhp/_Drpls/DemoMatters // PC _Cds
    > git clone alwyzon@83.138.55.114:/home/alwyzon/_BareRepos/_Php/misc1.git // !! bare repo

ChtGpt20251204

  • .NET Core API with API key
    • how to handle it
      • I turned it off - need play more
        • Perceptual Survey API
        • in program.cs
          • //options.Filters.Add(new APIKeyAttribute()); 20251204 DH-
  • Agnular npm package install issues
    • Perceptual Survey Angular
    • peer @angular/cdk@"^10.0.0-rc.0" from @angular/flex-layout@10.0.0-beta.32
    • > npm install --legacy-peer-deps
    • Error: The target entry-point "@azure/msal-angular" has missing dependencies: - @azure/msal-browser
    • > npm install file-saver
      > npm install --save-dev @types/file-saver
  • Angular IIS, # issue

ChtGpt20251202

  • VS solution folder
    • can only host 'projects' or non-project files/items
  • Determine the right Node/npm version for an existing (Angular) project
    • also @angular cli as devOnly install
    • '> npx ng' to overcome ng-not-recognized
    • check .nvmrc
    • check package.json
      "engines": {
      "node": ">=16 <19",
      "npm": ">=6"
      }
    • use Angular -> node version table
      Angular Version Required Node Version
      Angular 17 Node 18.13+ or Node 20
      Angular 16 Node 16.14+ or Node 18
      Angular 15 Node 14.20+, 16.13+, 18
      Angular 14 Node 14.15+, 16.10+
      Angular 13 Node 12.20+, 14.15+, 16.10+
      Angular 12 Node 12.14+, 14.15+, 16
      Angular 11 Node 10.13+, 12.0+, 14.0+
      Angular 10 Node 10.13+, 12.0+, 14.0+
      Angular 9 Node 10.13+, 12.0+
      Angular 8 Node 10.9+

ChtGpt20251201

  • Arduino USB keyboard

ChtGpt20251119

  • Switch from Scalar to Swagger
  • turn on VS 2022 NuGet GUI
  • set starting URL in VS 2022
  • find real DB table from EF DbContext DbSet/Entity-name

ChtGpt20251114

  • PowerApp Compile, Deploy
    • ALM - application Lifecycle Management
  • pipeline error

ChtGpt20251113

  • Android firmware

ChtGpt20251029

  • Android multi-touch keyboard

ChtGpt20251021

  • Neural network back propagation

ChtGpt20251002

  • Japanese 50-sounds symbols

ChtGpt20250919

  • C:\_DH\_Prsnl\_ChtGpt\
  • NuGet package Carter

ChtGpt20250917A

  • C:\_DH\_Prsnl\_ChtGpt\
  • .Net record key word

    • a limited class with simplified syntax
      // FlNm.cs
      public record RcrdNm(Typ PrprtyNm, ... ) [: IRqstDrvdTyp<RtrnTyp> ]

      • IRqstDrvdTyp<RtrnTyp>
        • used with CQRS/MediatR
        • e.g. IQuery<IEnumerable<AgencyResponse>>
          • where IQuery<T> : IRequest<T> ??
  • CQRS (Command Query Responsibility Segregation) or Mediator pattern

    • public interface IQuery<TResponse> : IRequest<Result<TResponse>>
    • public interface IQueryHandler<TQuery, TResponse> : IRequestHandler<TQuery, Result<TResponse>>
    • public record GetDistrictListQuery(string DataYears) : IQuery<IEnumerable<AgencyResponse>>;
    • sender.Send(new GetDistrictListQuery(dataYears), token);
    • ISend.send(oRcrdWthInhrt)
    • look for handler class:

      • class GetDistrictListHandler : IQueryHandler<GetDistrictListQuery, IEnumerable<AgencyResponse>>
      • Based on the above - IQueryHandler, and record def,
        • look for RcrdNm, RtrnSpc
    • look for handler method

      • public async Task<Result<IEnumerable<AgencyResponse>>> Handle(GetDistrictListQuery request, CancellationToken token)
      • Based on the above -
        • look for Handler with RcrdNm as argument, and RtrnTyp as return

ChtGpt20250917

  • C:\_DH\_Prsnl\_ChtGpt\
  • Angular Standalone
  • nx monorepo
    • angular.json
  • angular store - state management
    • NgRx
  • writing DI with init. setting
  • .NET Core ILog
  • ChatGpt no video training data
  • AI - picture interpretation
  • Drupal cache
  • .Net Framework webform ViewState()
  • space - electron plasma
  • Quantum Physics - also quantization of light
  • nx - unknown command

dyh_ChtGpt20250903

  • 20250818?? to 20250903
  • Topics
    • Plant weight from air/water
    • Drupal
      • content type permission
      • module Devel
      • Backup code - using git
    • git via ssh
    • .gitignore for Drupal
    • c# with Tailwin
    • VS access Azure Key Vault
    • CORS explained
    • CommonJs module vs ES module
    • .json files in Angular project
    • VS code debugging - Angular, Python
    • Neural network with Python
    • Angular route
    • npm npx command

dyh_ChtGpt20250818

  • from 20250808 to 20250818
  • Topics
    • js for svg
    • popular name space in DOM - SVG, MathML
    • encryption - js libraries
    • how much ChatGPT knows about me
    • How ChatCPT can do so much
    • markdown linking syntax
    • drupal back-link
    • local js decryption
    • compressor for regrigirator
    • web.config mark public accessible folders
    • install module for Drupal 10
    • Drupal Markdown modules
      • Standard CommonMark
      • GitHub-Flavored Markdown (GFM).
    • Chinese
    • Details in OWIN Azure B2C
    • Azure B2C
      • Open ID flows
        • implicit flow, code flow
      • code directly to Azure B2C
      • implicit flow
    • how Drupal hook work
    • Drupal wiki
      • Markdown Link filter
    • how I developed/debug my markdown link filter
    • OBS chop off margin - not in here

dyh_ChtGpt20250808

  • till 20250808
  • Topics
    • ...
  • Log in or register to post comments

Wiki_VwBlck

RSS feed