This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Script by Parker Thomas (@Castlecorp) | |
# /$$$$$$$ /$$$$$/$$$$$$$$ | |
# | $$__ $$|__ $|__ $$__/ | |
# | $$ \ $$ | $$ | $$ | |
# | $$$$$$$/ | $$ | $$ | |
# | $$____/$$ | $$ | $$ | |
# | $$ | $$ | $$ | $$ | |
# | $$ | $$$$$$/ | $$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Location { | |
public int h; | |
public int w; | |
public Location(int h, int w) { | |
this.h = h; | |
this.w = w; | |
} | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include ('../../chat/lib/data/users.php'); | |
include('../../chat/lib/custom.php'); | |
/** | |
* Class registration | |
* handles the user registration | |
*/ | |
class Registration |