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
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
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)); |
[Short Project Description]
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
// 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} }) |
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
let htmlString = ` | |
<table> | |
<tbody> | |
<tr> | |
<td>TN-01</td> | |
<td>Chennai (Central): Ayanavaram</td> | |
<td>RTO</td> | |
<td>Chennai</td> | |
</tr> | |
<tr> |
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
import { useState } from "react"; | |
function App() { | |
const [tripDistance, setTripDistance] = useState(0) | |
const [fuelConsumption, setFuelConsumption] = useState(0) | |
const [costPerLitre, setCostPerLitre] = useState(102) | |
const [totalCost, setTotalCost] = useState(0) | |
const calculateCost = () => { | |
const total_fuel_burnt = tripDistance / fuelConsumption |
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
USER ID | GENDER | FOLLOWERS | FOLLOWING | |
---|---|---|---|---|
189941 | Male | 730 | 513 | |
24195 | Male | 1073 | 1644 | |
45082 | Male | 1961 | 1272 | |
179352 | Male | 2750 | 2595 | |
122942 | Male | 19 | 975 | |
16262 | Male | 430 | 8388 | |
166947 | Male | 321 | 52308 | |
199190 | Male | 577 | 402 | |
206755 | Female | 613 | 402 |
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
# For example: | |
# If your burpsuite jar is named: burpsuite_pro_v1.7.11.jar | |
# ..and located at: /opt/burpsuite/ | |
# | |
# export BURP_VER=1.7.11 | |
# export BURP_PATH=/opt/burpsuite/ | |
export BURP_VER=YOUR_VERSION | |
export BURP_PATH=YOUR_PATH |
NewerOlder