INSERT INTO new_registration
(
`Ownership_Category`,
`Is_Govt_Org`,
`Title_Category`,
`Nationality`,
`Owner_Name`,
`Owner_Pan_Card`,
`Upload_pan_card_Document`,
`Mobile_No`,
`Email_ID`,
`PinCode`,
`State`,
`District`,
`City`,
INSERT INTO new_registration
(
`Ownership_Category`,
`Is_Govt_Org`,
`Title_Category`,
`Nationality`,
`Owner_Name`,
`Owner_Pan_Card`,
`Upload_pan_card_Document`,
`Mobile_No`,
`Email_ID`,
`PinCode`,
`State`,
`District`,
`City`,
-- 1. Change the statement delimiter
DELIMITER $$
DROP PROCEDURE IF EXISTS insert_data_loop;
-- 2. Create the stored procedure
CREATE PROCEDURE insert_data_loop()
BEGIN
DECLARE i INT DEFAULT 1; -- Declare a variable for the loop counter
DECLARE max_value INT DEFAULT 50; -- Set the loop limit
-- Start the WHILE loop
WHILE i <= max_value DO
-- 3. The INSERT query inside the loop
SET i = i + 1;
INSERT INTO new_registration
(
`Ownership_Category`,
`Is_Govt_Org`,
`Title_Category`,
`Nationality`,
`Owner_Name`,
`Owner_Pan_Card`,
`Upload_pan_card_Document`,
`Mobile_No`,
`Email_ID`,
`PinCode`,
`State`,
`District`,
`City`,
`Address`,
`DOB`,
`Upload_DOB_Certificate`,
`GST_No`,
`Upload_GST_Certificate`)
VALUES
(
'Individual',
1,
'News Paper',
'Indian',
'Yash Kapoor','45YYH87Y','Documents/test1.jpg',
457851,'test@test.com',
110022,'Haryana',
'Sonepat','Sonepat','Jangpura, Delhi',
' 15/01/1945', 'Documents/test1.jpg' ,
'JHJDFHJDF8787DF',
'Documents/test1.jpg');
-- Increment the counter
END WHILE;
END $$
-- 4. Reset the delimiter
DELIMITER ;
-- 5. Call the procedure to run the insert loop
CALL insert_data_loop();
-- Optional: verify the results
SELECT * FROM new_registration;
Note:- You cannot use for loop without Creating stored procedure.
NOW()
CURRENT_DATE
CURRENT_TIMESTAMP
in Default/Expression Column
INSERT INTO `test`.`new_registration`
(
`Ownership_Category`,
`Is_Govt_Org`,
`Title_Category`,
`Nationality`,
`Owner_Name`,
`Owner_Pan_Card`,
`Upload_pan_card_Document`,
`Mobile_No`,
`Email_ID`,
`PinCode`,
`State`,
`District`,
`City`,
`Address`,
`DOB`,
`Upload_DOB_Certificate`,
`GST_No`,
`Upload_GST_Certificate`)
VALUES
(
'Individual',
1,
'News Paper',
'Indian',
'Yash Kapoor','45YYH87Y','Documents/test1.jpg',
457851,'test@test.com',
110022,'Haryana',
'Sonepat','Sonepat','Jangpura, Delhi',
' 15/01/1945', 'Documents/test1.jpg' ,
'JHJDFHJDF8787DF',
'Documents/test1.jpg');
Right Click on Table(New_Reg_Table)
>Click on Send to SQl Editor
> Click on Create Statement
> To install MY SQL, below link to install
https://dev.mysql.com/downloads/workbench/
Click on Go to download page
or click on below link
> Click on https://dev.mysql.com/downloads/windows/installer/8.0.html
<!DOCTYPE html>
<html>
<head>
<style>
div.ex1 {
direction: rtl;
unicode-bidi: bidi-override;
}
</style>
</head>
<body>
<h1>The unicode-bidi Property</h1>
<div>Some text. Default writing direction.</div>
<div class="ex1">Some text. Right-to-left direction.</div>
</body>
</html>
ref:- https://www.w3schools.com/cssref/tryit.php?filename=trycss_text_unicode-bidi
(function() {
let style = `<style>
.p-datatable .p-datatable-tbody>tr>td{
color: black;
}
</style>`;
document.head.insertAdjacentHTML("beforeend", style);
})();
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.loader {
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid blue;
border-bottom: 16px solid blue;
width: 120px;
height: 120px;
-webkit-animation: spin 1s linear infinite;
animation: spin 400ms linear infinite;
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<h2>How To Create A Loader</h2>
<div class="loader"></div>
</body>
</html>
-webkit-text-stroke: 0.2px;
text-shadow: #fff 0px 0.5px 0.5px;
HTML
<img src="https://ik.imagekit.io/ikmedia/css-image-effects/new-york_lbAbZZKZG.jpg" alt="new york" />
</br>
<p class="vibrating-text"> dfdf dfd ddfd df</p>
CSS
img {
width: 300px;
}
img:hover {
/* Start the shake animation and make the animation last for 0.5 seconds */
animation: vibrate 0.1s;
/* When the animation is finished, start again */
animation-iteration-count: infinite;
}
@keyframes vibrate {
0% { transform: rotate(0deg); }
10% { transform: rotate(-1deg); }
20% { transform: rotate(1deg); }
30% { transform: rotate(0deg); }
40% { transform: rotate(1deg); }
50% { transform: rotate(-1deg); }
60% { transform: rotate(0deg); }
70% { transform: rotate(-1deg); }
80% { transform: rotate(1deg); }
90% { transform: rotate(0deg); }
100% { transform: rotate(-1deg); }
}
OR
@keyframes vibratetext {
0% { transform: translate(0, 0); }
20% { transform: translate(-1px, 1px); }
40% { transform: translate(-1px, -1px); }
60% { transform: translate(1px, 1px); }
80% { transform: translate(1px, -1px); }
100% { transform: translate(0, 0); }
}
> Go to Inspect element (F12)
> In body tag
> Go to styles
> In element style paste -webkit-filter: grayscale(100%);
and if you use 10%, 20% color will be increase or decrease in Chrome website.
or you can use below extension for chrome to decrease or increase saturation or colors
https://chromewebstore.google.com/detail/web-color-filter/njnaggoebacjnbklkcccmbnpfmeagcmp
https://chromewebstore.google.com/detail/video-image-control-new-g/mdoelcifdkcimkdbfkjjnedabmjlkokc
or you can download video image control source code from below link and add extension to chrome.
#Note This first line is mandatory [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
# Start WinWord (if not already running)
Start-Process -FilePath "chrome.exe"
# Wait for WinWord to open and become active
Start-Sleep -Seconds 3
# Activate the WinWord window (adjust the title if necessary)
$wshell = New-Object -ComObject wscript.shell
#$wshell.AppActivate("Document1 - Word") # Or the actual document title
(New-Object -ComObject "wscript.shell").SendKeys('data:text/html, <title>Notepad</title><body contenteditable style="font-size:18px;line-height:1.6;font-family:sans-serif;">')
(New-Object -ComObject "wscript.shell").SendKeys("{ENTER}")
Start-Sleep -Seconds 1
(New-Object -ComObject "wscript.shell").SendKeys("{TAB}")
for ($k = 1; $k -le 10; $k++) {
for ($i = 1; $i -le 50; $i++) {
$j = [char](65 + $i)
(New-Object -ComObject "wscript.shell").SendKeys("$j")
}
[System.Windows.Forms.SendKeys]::SendWait("^{a}")
[System.Windows.Forms.SendKeys]::SendWait("^{c}")
[System.Windows.Forms.SendKeys]::SendWait("{RIGHT}")
[System.Windows.Forms.SendKeys]::SendWait("^{v}")
(New-Object -ComObject "wscript.shell").SendKeys("{Enter}")
}
For Sorting
> First Select the columns
> Click on Data Menu
> Click on Sort
> Select the Column (Sort By)
> Click on OK
==============================
For Unique Records
> First Select the column
> Click on Data
> Click on Advanced
> Check on Unique Records
> Click on OK
https://dac.indiapost.gov.in/mypincode/home
https://dmsouthwest.delhi.gov.in/std-pin-codes/
https://www.data.gov.in/datasets_webservices/datasets/6818292
https://www.pib.gov.in/PressReleasePage.aspx?PRID=2131707®=3&lang=2
Know Your DIGIPIN: https://dac.indiapost.gov.in/mydigipin/home
Know Your PIN Code: https://dac.indiapost.gov.in/mypincode/home
DIGIPIN GitHub Repository: https://github.com/CEPT-VZG/digipin
Georeferenced PIN Code data set: https://www.data.gov.in/catalog/all-india-pincode-boundary-geo-json
HTML
<body>
<canvas id="myCanvas" width="200" height="100" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.
</canvas>
<script src="script.js"></script>
</body>
#Note This first line is mandatory [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
# Start WinWord (if not already running)
Start-Process -FilePath "chrome.exe"
# Wait for WinWord to open and become active
Start-Sleep -Seconds 3
# Activate the WinWord window (adjust the title if necessary)
$wshell = New-Object -ComObject wscript.shell
#$wshell.AppActivate("Document1 - Word") # Or the actual document title
(New-Object -ComObject "wscript.shell").SendKeys('data:text/html, <title>Notepad</title><body contenteditable style="font-size:18px;line-height:1.6;font-family:sans-serif;">')
(New-Object -ComObject "wscript.shell").SendKeys("{ENTER}")
Start-Sleep -Seconds 1
(New-Object -ComObject "wscript.shell").SendKeys("{TAB}")
for ($k = 1; $k -le 50; $k++) {
for ($i = 1; $i -le 77; $i++) {
$j = [char](45 + $i)
(New-Object -ComObject "wscript.shell").SendKeys("$j")
}
(New-Object -ComObject "wscript.shell").SendKeys("{Enter}")
}
> In Excel , Click on Cell, If scroll Lock is OFF than You can left and right the Cell.
> IF scroll Lock is ON than you can scroll Down or up scroll bars.
#Note This first line is mandatory
[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
# Start WinWord (if not already running)
Start-Process -FilePath "notepad.exe"
# Wait for WinWord to open and become active
Start-Sleep -Seconds 3
Start-Process -FilePath "notepad.exe"
Start-Sleep -Seconds 3
# Activate the WinWord window (adjust the title if necessary)
[System.Windows.Forms.SendKeys]::SendWait("123")
Start-Sleep -Seconds 3
[System.Windows.Forms.SendKeys]::SendWait("^{a}")
Start-Sleep -Seconds 3
[System.Windows.Forms.SendKeys]::SendWait("^{C}")
Start-Sleep -Seconds 3
[System.Windows.Forms.SendKeys]::SendWait("%{TAB}")
Start-Sleep -Seconds 3
[System.Windows.Forms.SendKeys]::SendWait("^{v}")
Note: ctrl C and Ctrl v , c and v are in small letters.
https://www.npmjs.com/package/fireworks-js
> https://github.com/crashmax-dev/fireworks-js
https://stackblitz.com/edit/js-ubfdjg?file=style.css,package.json,index.js
https://codepen.io/mr__khushal/pen/yLobQEP
https://stackblitz.com/edit/js-ubfdjg?file=style.css,package.json,index.js
https://www.myprograming.com/how-to-add-crackers-animation-effect-to-my-html-page/
if (confirm("Press a button!")) {
txt = "You pressed OK!";
} else {
txt = "You pressed Cancel!";
}
> In excel, there are books.
> And In books there are sheets
------
> At the top, you have restore option.
> In View Menu, You have arrange all button. You can click on that button.
> You can also used split button
> Open Excel
> Click on Data Menu
> Select the columns in sequence, not using CNTL(Column 1,2,3,4) will be used for Multiple columns. (Columns 4,6,9) will not be used for Multiple Columns.
> Click on Filter
>
> In settings of Google Chrome
> Click on Accessibility
> Click on navigate pages with a text cursor
---------
Click on HIGHLIGHT ON FOCUS OBJECT
#Note This first line is mandatory [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
# Start WinWord (if not already running)
Start-Process -FilePath "notepad.exe"
# Wait for WinWord to open and become active
Start-Sleep -Seconds 3
# Activate the WinWord window (adjust the title if necessary)
$wshell = New-Object -ComObject wscript.shell
#$wshell.AppActivate("Document1 - Word") # Or the actual document title
Start-Sleep -Seconds 1
for ($k = 1; $k -le 25; $k++) {
for ($i = 1; $i -le 55; $i++) {
$j = [char](65 + $i)
(New-Object -ComObject "wscript.shell").SendKeys("$j")
}
(New-Object -ComObject "wscript.shell").SendKeys("{Enter}")
}