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
{ | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"type": "object", | |
"required": [ | |
"displayName", | |
"email", | |
"givenName", | |
"familyName" | |
], | |
"properties": { |
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
let validWords = []; | |
const app = document.querySelector("game-app"); | |
const game = app.$game; | |
const prompt = (question) => false; | |
const correctLetters = []; | |
const correctPositions = []; | |
function checkWord() { |
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
.data | |
promptMessage: .asciiz "Enter num: " | |
resultMessage: .ascii "\nThe fibonacci is " | |
theNumber: .word 0 | |
theAnswer: .word 0 | |
.text | |
.globl main | |
main: | |
li $v0, 4 |
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
import java.math.BigInteger; | |
public class Fibonacci { | |
public static void main(String[] args) { | |
System.out.println("Recursive Fibonacci:"); | |
long time; | |
for (int i = 0; i <= 50; i++) { | |
time = System.currentTimeMillis(); | |
BigInteger slow = slow(i); |
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
\documentclass[a4paper,12pt]{article} | |
\usepackage{setspace} | |
\doublespacing | |
\usepackage[letterpaper,margin=0.75in]{geometry} | |
\usepackage{fancyhdr} | |
\pagestyle{fancy} | |
\fancyhf{} | |
\lhead{ECS 1100.003} | |
\chead{Community Service} |
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
\documentclass[a4paper,12pt]{article} | |
% \implies is proper, but I like the look of \to better | |
% you can comment out this line, and everything will change | |
\newcommand{\implies}{\to} | |
% for some reason its not working on iff. Changed manually | |
\newcommand{\leftrightarrow}{\leftrightarrow} | |
\usepackage{verbatim} | |
\usepackage{colortbl} |
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
import com.badlogic.gdx.scenes.scene2d.Actor; | |
import com.badlogic.gdx.scenes.scene2d.ui.Cell; | |
import com.badlogic.gdx.scenes.scene2d.ui.Table; | |
/** Like a table, but wraps widgets to new rows once the preferred width has been reached | |
* @author The Paper Pilot */ | |
public class FlowTable extends Table{ | |
@Override | |
public <T extends Actor> Cell<T> add (T actor) { | |
float oldWith = getWidth(); |
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
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collections; | |
public class Combinations { | |
public int combinations = 0; | |
public int amount; | |
public ArrayList<Integer> denominations; | |
public static void main(String[] args) { //Example Test |
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 static int factorial(int num) { | |
return num <= 1 ? 1 : num * factorial(num - 1); | |
} |