- go to vscode, view git history
- pick a commit, add release tag (version)
- push tag to remote
- Create a New Github Release, use created tag, let github generate release notes
- go to vscode, view git history
| -- PURGE SOFTDELETE : USERS | |
| BEGIN; -- Start the transaction | |
| DELETE FROM "Users" WHERE "DeletedDate" is not null; | |
| SELECT COUNT("Id") FROM "Users" WHERE "DeletedDate" is not null; | |
| ROLLBACK; -- Roolback the transaction |
https://learnxinyminutes.com/docs/gdscript/ GDScript is a dynamically and statically typed scripting language for the free and open source game engine Godot. Its syntax is vaguely similar to Python’s. Its main advantages are ease of use and tight integration with the engine. It’s a perfect fit for game development.
https://miniscript.org/MiniMicro/index.html#about Specifications 960 x 640 full-color (32-bit) display pixel, sprite, and tile graphics 68 x 26 text display
| # Settings apply across all Linux distros running on WSL 2 | |
| [wsl2] | |
| # Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB | |
| memory=2GB | |
| # Sets the VM to use two virtual processors | |
| processors=2 |
| using ImageMagick; | |
| using (MagickImage image = new MagickImage(@"C:\Users\j\Desktop\raw.jpg")) | |
| { | |
| image.Format = image.Format; // Get or Set the format of the image. | |
| image.Resize(100, 100); // fit the image into the requested width and height. | |
| image.Quality = 40; // This is the Compression level. | |
| image.Write("resized.jpg"); | |
| } |
| [filter "lfs"] | |
| clean = git-lfs clean -- %f | |
| smudge = git-lfs smudge -- %f | |
| process = git-lfs filter-process | |
| required = true | |
| [user] | |
| name = jicking | |
| email = 7297029+jicking@users.noreply.github.com | |
| [core] | |
| autocrlf = input |
| /* eslint-disable testing-library/prefer-screen-queries */ | |
| import { fireEvent, render } from "@testing-library/react"; | |
| import { AuthPanel } from "./AuthPanel"; | |
| import React from "react"; | |
| // Mock the useAuth hook | |
| const useAuthMockReturnValue = { isAuthenticated: false, toogleAuthHanlder: jest.fn() }; | |
| const useAuthMock = jest.fn().mockReturnValue(useAuthMockReturnValue); | |
| // jest.mock is hoisted above import when used at top level and hoisted to the the |
| import { useReducer } from 'react'; | |
| interface State { | |
| firstName: string; | |
| lastName: string; | |
| password: string; | |
| repeatPassword: string; | |
| email: string; | |
| } |