Skip to content

Instantly share code, notes, and snippets.

View veeara282's full-sized avatar

Evelyn veeara282

  • Looking for work
  • New York, NY
View GitHub Profile
@veeara282
veeara282 / marriott marquee.html
Last active June 2, 2021 03:09
Marriott Marquee
<!DOCTYPE html>
<html lang="en">
<head>
<title>The Marriott Marquee &bull; New York</title>
<style>
.marquee {
color: rgb(161, 29, 43);
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size: 72pt;
font-weight: 600;
@veeara282
veeara282 / depthwise-benchmark.ipynb
Created March 14, 2021 01:31
Depthwise benchmark.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@veeara282
veeara282 / contract.md
Created March 14, 2020 19:42
COVID-19 special housing terms for spring 2020

I agree to comply with all terms and conditions of my Academic Year Housing Contract 2019-2020 (“Housing Contract”), I acknowledge that my Housing Contract is modified as follows:

The occupancy period of my Academic Year Housing Contract 2019-2020 (“Housing Contract”) was previously modified to end on March 29, 2020. I have requested that Cornell extend the occupancy period of my Housing Contract through May 17, 2020 at 2:00 pm.

The University may reassign me to a different room or building at any time and for any reason, including for purposes of quarantine or isolation of myself or others.

The University has the right to close the residence halls at any time during the occupancy period. If this occurs, I will comply with the University’s instructions and regulations for vacating my room.

I will notify the Housing Office if I vacate my room prior to May 17, 2020. If I do so, I will not be entitled to any rebates or credits of housing or dining fees.

@veeara282
veeara282 / Models.scala
Last active August 11, 2019 18:54
Data model for the Kindred web app (Violet Hacks 2019)
trait Model
trait User extends Model {
// Personally identifiable information
def name: String
def pronouns: String
def email: String
// Interests and skills
def causes: Set[Cause]
def skills: Set[Skill]
@veeara282
veeara282 / output.log
Created April 9, 2019 16:50
Citation bot output - April 9, 2019 at 16:41:00 UTC
Activated by Qzekrom. The bot will automatically make edit(s) if it can.
> Expanding 'Criticism of Islam'; will commit edits.
[16:41:00] Processing page 'Criticism of Islam' — edit—history
> Remedial work to prepare citations
~ Converted ISBN10 to ISBN13
~ Converted ISBN10 to ISBN13
~ Converted ISBN10 to ISBN13
@veeara282
veeara282 / BitSort.java
Created October 1, 2017 00:58
Sort a bit vector in O(n) time
import java.util.BitSet;
public class BitSort {
public BitSet sort(BitSet bits) {
// Count the number of ones: O(n)
int numOnes = bits.cardinality();
// Overwrite the array with the ones first followed by the zeros
bits.set(0, numOnes);
@veeara282
veeara282 / Gender.java
Last active June 8, 2017 11:16
Mockup of an inclusive version of Attract
enum Gender {MALE, FEMALE, GENDERLESS}
@veeara282
veeara282 / alt_subtract.c
Last active February 5, 2017 03:37
An alternative method for subtracting two 32-bit signed integers in a two's complement system.
/**
* Performs the subtraction p - q.
* This is an alternative method to simply computing p + (-q).
* TODO I'll prove why it works later.
*/
int alt_subtract(int p, int q) {
// First, take the ones' complement of the minuend
int p1 = ~p;
// Next, add the subtrahend
int sum = p1 + q;
@veeara282
veeara282 / snippet.py
Created January 7, 2017 20:10
this is a cool snippet
L = [x*x*x for x in range(10)]
for i in L:
print L