Skip to content

Instantly share code, notes, and snippets.

View TGNYC's full-sized avatar

Tejas Gupta TGNYC

View GitHub Profile
@TGNYC
TGNYC / struct.swift
Created April 29, 2022 02:17
struct
struct DetailedArtistView: View {
// INSERT THINGS TO BE PASSED IN
@Binding var imageURLs: [String]
@Binding var detailedTitle: String
@Binding var topGenres: [String]
@Binding var followers: String
@Binding var linkToSpot: String
@Binding var popularity: String
// init() {
@TGNYC
TGNYC / main.py
Created August 14, 2019 20:43
Space Invaders for Python
#Space Invaders - Part 6
#Add multiple enemies
#Python 2.7 on Mac
import turtle
import os
import math
import random
#Set up the screen
wn = turtle.Screen()
@TGNYC
TGNYC / Date.java
Created January 18, 2019 19:19
Date Class
package dateclass;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.time.LocalDate;
import java.time.temporal.ChronoUnit;
/**
* @author Tejas Gupta
* (c) 2016
@TGNYC
TGNYC / Books.md
Last active February 20, 2019 21:03
The Books I Have Read
Title Author Date Completed
The Godfather Mario Puzo 04/15/16
11/22/63 Stephen King 04/26/16
The Assistant Bernard Malamud 05/28/16
The Kite Runner Khaled Hosseini 05/29/16
A Thousand Splendid Suns Khaled Hosseini 06/27/16
Flowers Alice Walker 06/30/16
Force and Freedom
@TGNYC
TGNYC / example.html
Created May 22, 2017 02:32 — forked from anonymous/example.html
HTML Examples
<!-- Example 1 -->
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>