Skip to content

Instantly share code, notes, and snippets.

View Infinitay's full-sized avatar

infinity Infinitay

  • United States
  • 17:38 (UTC -04:00)
View GitHub Profile
@Infinitay
Infinitay / trees.js
Last active July 14, 2023 01:37
osrs db (chisel) - Gets all trees and it's name, id, and actions
// https://chisel.weirdgloop.org/moid/object_name.html#/(.*)?tree$/
let map = new Map();
// Get all the rows from the table
let table = document.getElementById("table");
let rows = table.getElementsByTagName("tr");
// Specify the desired actions
let desiredActions = ["Chop", "Chop down", "Chop-down", "Cut", "Cut down", "Cut-down"];
@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;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Cumulative Sum</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
Stage Name Full Name Korean Name K. Stage Name Date of Birth Group Country Birthplace Other Group Gender
A.M Seong Hyunwoo 성현우 에이엠 1996-12-31 Limitless South Korea M
Ace Jang Wooyoung 장우영 에이스 1992-08-28 VAV South Korea M
Aeji Kwon Aeji 권애지 애지 1999-10-25 Hashtag South Korea Daegu F
AhIn Lee Ahin 이아인 아인 1999-09-27 MOMOLAND South Korea Wonju F
Ahra Go Ahra 고아라 아라 2001-02-21 Favorite South Korea Yeosu F
Ahyoung Cho Jayoung 조자영 아영 1991-05-26 Dal Shabet South Korea Seoul F
Ahyung Kang Ahyoung 강아형 아형 1996-08-27 P.O.P South Korea Pohang F
Ailee Lee Yejin 이예진 에일리 1989-05-30 South Korea Denver F
Aini Kim Heejung 김희정 아이니 1991-07-13 Pink Fantasy South Korea F
@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: