Skip to content

Instantly share code, notes, and snippets.

View Infinitay's full-sized avatar

infinity Infinitay

  • United States
  • 07:13 (UTC -04:00)
View GitHub Profile
@Infinitay
Infinitay / discord-name-check.js
Created June 13, 2023 10:02 — forked from g1ver/discord-name-check.js
Check discord names using the pomelo-attempt endpoint. This endpoint is only available if you have the option to pick a new name for the first time.
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;
@Infinitay
Infinitay / discordnames.js
Created June 13, 2023 10:02 — forked from g1ver/discordnames.js
discord name trying script
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;
@Infinitay
Infinitay / squid_proxy_tutorial.md
Created January 19, 2019 23:37 — forked from jackblk/squid_proxy_tutorial.md
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils
@Infinitay
Infinitay / pr.md
Created May 21, 2018 08:39 — forked from piscisaureus/pr.md
Checkout github pull requests locally

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: