This file contains hidden or 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
const canvas = document.querySelector('canvas'); | |
const context = canvas.getContext('2d'); | |
const projectiles = []; | |
canvas.width = window.innerWidth; | |
canvas.height = window.innerHeight; | |
const x = canvas.width / 2; | |
const y = canvas.height / 2; | |
class Player { | |
constructor(x, y, radius, color) { |
This file contains hidden or 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
package com.hkr; | |
import java.util.ArrayDeque; | |
import java.util.Deque; | |
import java.util.Iterator; | |
import static java.lang.System.out; | |
public class ActivationList { | |
private static final Deque<MethodRequest> dispatchQueue = new ArrayDeque<>(5); |
This file contains hidden or 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
using System; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Linq; | |
using System.Net; | |
using System.Text.RegularExpressions; | |
using System.Threading.Tasks; | |
namespace DownloadZips | |
{ |
This file contains hidden or 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 MySqlManager { | |
private final static String user = "`" + App.config.DatabaseName + "`.`user`"; | |
private final static String account = "`" + App.config.DatabaseName + "`.`account`"; | |
static { | |
try{ | |
Class.forName("com.mysql.cj.jdbc.Driver").getDeclaredConstructor().newInstance(); | |
} | |
catch(Exception ex){ |