Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View CastleCorp's full-sized avatar
🔐

Parker Thomas CastleCorp

🔐
View GitHub Profile
@CastleCorp
CastleCorp / DomainChecker.sh
Last active June 20, 2023 22:35
Check if one or all TLDs are available for your domain
#!/bin/bash
#
# Script by Parker Thomas (@Castlecorp)
# /$$$$$$$ /$$$$$/$$$$$$$$
# | $$__ $$|__ $|__ $$__/
# | $$ \ $$ | $$ | $$
# | $$$$$$$/ | $$ | $$
# | $$____/$$ | $$ | $$
# | $$ | $$ | $$ | $$
# | $$ | $$$$$$/ | $$
@CastleCorp
CastleCorp / getPrice.gs
Created January 11, 2022 19:09
Get the price of a crypto token from an API
/**
* @author Parker Thomas
* @date 1/11/2022
*
* @def getPrice(url, token)
* @param url: the API endpoint to hit
* @param token: the token name to retrieve the price
* Returns the price of the given token from the API
*
* For example, use this API endpoint: https://blockchain.info/ticker
public class Location {
public int h;
public int w;
public Location(int h, int w) {
this.h = h;
this.w = w;
}
@Override
@CastleCorp
CastleCorp / Registration.php
Created January 21, 2014 19:25
register.php, Registration.php, register.php, from http://www.php-login.net/ (minimal), and users.php from http://frug.github.io/AJAX-Chat/
<?php
include ('../../chat/lib/data/users.php');
include('../../chat/lib/custom.php');
/**
* Class registration
* handles the user registration
*/
class Registration