Skip to content

Instantly share code, notes, and snippets.

View anburocky3's full-sized avatar
😎
Creating new stuffs.

Anbuselvan Annamalai anburocky3

😎
Creating new stuffs.
View GitHub Profile
@anburocky3
anburocky3 / Assignment2.md
Created August 22, 2024 13:40
MBA|UNOM|Financial Dept |1st sem|Assessment 2|SPBA102|Quantitative & Research Methods in Business
fetch("http://ideunom.ac.in/mcq/question.php?OXBaVGsvT29RYWNPK2p5NUJJZUFpZz09", {
  "headers": {
    "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
    "accept-language": "en-IN,en;q=0.9,kn;q=0.8,en-GB;q=0.7,ta;q=0.6",
    "upgrade-insecure-requests": "1"
  },
  "referrer": "http://ideunom.ac.in/mcq/questionpaper_pg.php?SjlTTkxLNDJ3bnF6TVdzWU9QQXdZUWhoR1Y0M0tVUkhyd2tNelNDeVFTRUIyVDlSU2wvZmJtS2ZLckx2RFBsZnovci90ZGdOcWl4dVBmRFcvbmNMNjZudW1Ud1ZLMVJGVzlOSUVBMWVlbkk9",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": null,
@anburocky3
anburocky3 / Assignment1.md
Created August 22, 2024 05:59
MBA|UNOM|HRM Dept|1st sem|Internal Assessment 1|SPBA102|Quantitative & Research Methods in Business
fetch("http://ideunom.ac.in/mcq/questionpaper_pg.php?SjlTTkxLNDJ3bnF6TVdzWU9QQXdZYUNBeExGK0M1UVUyY1pldExmR093bTA0cTNHUEpSVnNWbysvRzI2L2lid01LK1RGVDgyeUlzM3lWdlllRUJHWFUzL0JyQ2lhcXpHL3JiR2RqZVlwb0E9", {
  "headers": {
    "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
    "accept-language": "en-IN,en;q=0.9,kn;q=0.8,en-GB;q=0.7,ta;q=0.6",
    "upgrade-insecure-requests": "1"
  },
  "referrer": "http://ideunom.ac.in/mcq/question.php?OXBaVGsvT29RYWNPK2p5NUJJZUFpZz09",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": null,
@anburocky3
anburocky3 / Assignment2.md
Created August 22, 2024 04:45
MBA|UNOM|Financial Management |1st sem|Assessment 2|SPBA101|Management Principles & Business Ethics
fetch("http://ideunom.ac.in/mcq/questionpaper_pg.php?SjlTTkxLNDJ3bnF6TVdzWU9QQXdZUkpFSmhOSkNrVGdWTzlNMGNDMHhWRDNrZEExUHh2Sk1LQlBUU1NpbnRtNjVIN1RNWnQrTVVqWks3M1d3ZWplSUw2NStpY1hyeU1VQTlmOGZ1aTJaTlE9", {
  "headers": {
    "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
    "accept-language": "en-IN,en;q=0.9,kn;q=0.8,en-GB;q=0.7,ta;q=0.6",
    "upgrade-insecure-requests": "1"
  },
  "referrer": "http://ideunom.ac.in/mcq/question.php?OXBaVGsvT29RYWNPK2p5NUJJZUFpZz09",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": null,
@anburocky3
anburocky3 / App.tsx
Created May 11, 2024 11:58
Get Country > State > City using country-state-city package - ReactJS
import { Country, State, City } from 'country-state-city';
import { ICountry, IState, ICity } from 'country-state-city'
const App = () => {
const [country, setCountry] = useState(Country.getAllCountries())
const [countryState, setCountryState] = useState<IState[]>([])
const [city, setCity] = useState<ICity[]>([])
useEffect(() => {
setCountryState(State.getStatesOfCountry(data.country));
@anburocky3
anburocky3 / reserved_usernames.md
Created April 7, 2024 07:10
Reserved Usernames for apps.

Reserved username list

This is the list of reserved usernames (pre-defined list of special banned and reserved keywords in names, such as "root", "www", "admin"). When we create a public system where users can choose a login name or a sub-domain name, we use this list to define which user names can not be used. The login authentication software verifies if the username is in this black list in the register validation process. Some reserved keywords here are specific for our service (Postbit) and other are generic black listed and reserved names that we use for all other services with login and usernames. Some websites forbid any generic names, short names (forbidden number of characters like usersnames with 1 or 2 characters) or also create lists of super famous people and companies so those logins can be reserved for future use. We allow only valid characters in the username that for us are letters, numbers, underline "_" and minus "-" (if it is in the middle of the username). We don't allow dot "." becaus

@anburocky3
anburocky3 / README.md
Created December 21, 2023 10:57
Important commands for developers (Web)

Important commands in Development

  • change the directory (cd)
cd path

folder-1 > folder-2

For example: Navigate from: folder-1 to folder-2

@anburocky3
anburocky3 / Vite-Tailwind-Github-Integration.md
Last active April 24, 2024 02:44
Tailwind, Vite integration with Github-Pages deployment steps

TailwindCss-Vite

  1. Create project using the below commands.
npm create vite@latest my-project-name
> Vanilla
> JavaScript
@anburocky3
anburocky3 / README.md
Last active September 7, 2023 07:06
Project Publishing Readme format
@anburocky3
anburocky3 / index.js
Last active April 13, 2023 18:17
Convert data into json response from devtools
// 1. Store the object as global
// 2. It will generate the json as you wish. Copy and start hacking.
[...temp1].map((i, index) => { return { id: index+1, href: i.children[0].href, name: i.children[0].textContent} })
@anburocky3
anburocky3 / main.js
Created January 4, 2023 07:11
Grab RTO Codes from webpage.
let htmlString = `
<table>
<tbody>
<tr>
<td>TN-01</td>
<td>Chennai&nbsp;(Central):&nbsp;Ayanavaram</td>
<td>RTO</td>
<td>Chennai</td>
</tr>
<tr>