This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.
sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils
async function processNames() { | |
for (const name of namelist) { | |
try { | |
const res = await makeRequest(name); | |
if (res.ok) { | |
const data = await res.json(); | |
if (data.taken) { | |
console.log(`[-] ${name} was taken.`) | |
continue; |
namelist = [] // names here | |
async function processNames() { | |
for (const name of namelist) { | |
try { | |
const res = await makeRequest(name); | |
if (res.ok) { | |
console.log(`Username ${name} is available.`); | |
break; |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: