It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of countries
It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of countries
Hey there, apparently people are still using this Gist from 2013! It's out of date! Consult the Github docs.
const retryIntervalInSeconds = 10; | |
const maxTestDurationInMinutes = 1; | |
let int = setInterval(() => | |
// Kaa unatumia env variables: pm.sendRequest(pm.variables.get('url') + 'weka/resource/hapa', (err, res) => | |
pm.sendRequest('http://site.com/weka/resource/hapa', (err, res) => | |
res.code === 200 ? (console.log(res), clearInterval(int)) : console.log(res.code) | |
), retryIntervalInSeconds * 1000); | |
setTimeout(() => clearInterval(int), maxTestDurationInMinutes * 60 * 1000); |
Install PHP7.4 | |
1. sudo yum -y install wget | |
1.1 sudo yum install epel-release-latest-7.noarch.rpm | |
2. sudo yum install epel-release | |
3. sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm | |
4. sudo yum --enablerepo=remi-php74 install php | |
5. sudo yum --enablerepo=remi-php74 install php-curl php-mysql php-cli php-gd php-ldap php-zip php-fileinfo php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt | |
6. sudo yum update |
import ldap from "ldapjs"; | |
const query = 'name-to-search'; // ? query contains name to search | |
const client = ldap.createClient({ url: ["ldap://172.29.200.99:389"] }); | |
client.bind(`Your-windows-username`, "Your-windows-password", (error: any) => { | |
if (error) | |
console.log(error) | |
else |