This file contains 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
//install the plugin dependencies | |
npm i vite-plugin-svgr | |
//on vite.config.js, add the import and the plugin reference | |
import { defineConfig } from "vite"; | |
import react from "@vitejs/plugin-react"; | |
import svgr from "vite-plugin-svgr"; | |
// https://vitejs.dev/config/ | |
export default defineConfig({ |
This file contains 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> | |
<!-- character codification --> | |
<meta charset="UTF-8" /> | |
<!-- section to link the icon --> | |
<!-- supported by new browsers / svg files render in a better resolution on web [32x32]--> | |
<link rel="icon" type="image/svg+xml" href="/path_to_logo/logo.svg" /> | |
This file contains 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
procedure TfrmYourForm.FormClose(Sender: TObject; var Action: TCloseAction); | |
var | |
SearchRec : TSearchRec; | |
dcuDirectory: string; | |
begin | |
try | |
dcuDirectory := ExtractFilePath(Application.ExeName); | |
FindFirst(dcuDirectory + '*.dcu', faAnyFile, SearchRec); | |
repeat | |
DeleteFile(dcuDirectory + SearchRec.name); |
This file contains 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
CREATE PROCEDURE [dbo].[AUTHENTICATE] | |
@USER_NAME NVARCHAR(60), | |
@PASSWORD NVARCHAR(60), | |
@USER_ID INT | |
AS | |
BEGIN | |
DECLARE | |
@URL NVARCHAR(65) = 'https://{api_url}/login', | |
@OBJECT AS INT, | |
@JSON NVARCHAR(150), |