- Types of Load Testing
- Reverse Proxy
- Replay Attacks
- CSRF Tokens
- Worst case: All students submit their work in the last minute of the competition
This repository contains a JavaScript implementation of a Queue data structure inspired by Princeton's Intro to Programming. You are the developer and must write robust unit tests using Jest.
Bug: The
dequeue()
method does not throw an error when called on an empty queue. This violates expected behavior and must be caught through testing.
The documentation about this device on Tuya's developer docs is old, but their device control API can be used to see all about the category.
ebb820c3cd7beefe10lhkg
FROM node:22 as build | |
WORKDIR /app | |
COPY package.json /app/package.json | |
COPY package-lock.json /app/package-lock.json | |
RUN npm install | |
COPY . /app |
package edu.siena; | |
import java.util.List; | |
public class CartProcessor { | |
public static double calculateTotal(List<Double> prices) { | |
double total = 0.0; | |
for (int i = 0; i <= prices.size(); i++) { | |
total += prices.get(i); | |
} |
Already installed on Github Codespaces
On your local machine, you can install Nodejs and NPM using the package manager of your choice.
Example on MacOS, you can use Homebrew: brew install node
On Windows, you can download the installer from the Nodejs website.
On Windows, you can also use the Windows Subsystem for Linux (WSL) to install Nodejs and NPM using the Linux instructions above.
public class ConditionalLoopExample { | |
public static void main(String[] args) { | |
int x = 0; | |
while (x < 5) { | |
if (x % 2 == 0) { | |
System.out.println(x + " is even"); | |
} else { | |
System.out.println(x + " is odd"); | |
} | |
x++; |
# WebSocket proxying | |
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
server_name examplecat.com; | |
location / { | |
# Backend nodejs server | |
#for uploading |
import requests | |
from math import * | |
from JES import * | |
# Ahyaan Malik - Animation Project - CSIS 110 - 12/4/2024 | |
# Create an animation using exactly 1 for loop | |
# BONUS - I decided to make a music video out of this, with cool effects and many, MANY moving objects | |
# BONUS - MANY if statements were used, keep scrolling if you like that, stop scrolling if you don't | |
# BONUS - Many measures were taken to ensure correct syncing of the song, guessing won't cut it! | |
# BONUS - Created 3 extra functions, a copyInto function that removes the white off jpgs, a function to increase the r g b values of any pic by any amount, and a way to detect a certain color and change that color, for rainbow text. | |
# The blob was also created to bounce up and down as it goes, he'll be back soon |
# Ahyaan Malik - Submitted 11/10/24 | |
# Resubmitted 11/11/24 due to extra time - Added two new sounds for less awkwardness, improved rick roll by adding a new bass then blended that bass | |
# Sound Collage - Creates an audio collage with various effects | |
# Professor Chaudhari | |
# There are 2 original segments, a modification for each of those 2 segments (2 for the 2nd one), 1 segment that isn't modified, and the rick roll created. | |
# Each segment, original or modified, is placed in an empty sound file with just the right amount of samples | |
# Each segment is separated by 0.5 seconds |