Skip to content

Instantly share code, notes, and snippets.

"use strict";
/**
* Create a new CustomDate object.
* @param {Number} year 4-digit year
* @param {Number} month 1-indexed month (1 = January, etc.)
* @param {Number} day Day of the month (1-31)
*/
let CustomDate = function(year, month, day) {
// Set the defaults:
@oscarcs
oscarcs / HelloWorld.scala
Last active July 22, 2023 06:11
Scala & LWJGL Hello World
import org.lwjgl._
import org.lwjgl.glfw._
import org.lwjgl.opengl._
import org.lwjgl.glfw.Callbacks._
import org.lwjgl.glfw.GLFW._
import org.lwjgl.opengl.GL11._
import org.lwjgl.system.MemoryUtil._
object Main {