Skip to content

Instantly share code, notes, and snippets.

View RupGautam's full-sized avatar

Rup Gautam RupGautam

View GitHub Profile
@RupGautam
RupGautam / index.html
Created April 16, 2017 20:15
Resume Landing Page
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.1/css/materialize.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<p style="color: #006407">MacBook-Pro.local$ </p>
<h1> Rup Gautam <span class="cursor">|</span></h1>
package Assignment4;
/**
* Created by RupGautam on 4/1/17.
*/
import java.util.ArrayList;
/**
* Copyright ${COPYRIGHT}.
*/
/**
* Assignment 4 Q2
*
*/
/**
* Student Name: Rup Gautam
* Student No: 3091289
*/
package com.rupgautam.practice;/**
* Created by RupGautam on 3/24/17.
*/
/**
* Student Name: Rup Gautam
* Student No: 3091289
*/
public class Driver {
import java.util.Scanner;
public class evaluateExpression {
// http://www.careercup.com/question?id=4911380140392448
public static void main(String[] args) {
// An equation with +, -, /, *
String anotherEquation;
System.out.print("Please enter math Expression: ");
Scanner kb = new Scanner(System.in);
PL-XXv-cvA_iBVK2QzAV-R7NMA1ZkaiR2y - Introduction to Database Systems - Joseph Hellerstein
PL-XXv-cvA_iD8wQm8U0gG_Z1uHjImKXFy - Discrete Mathematics and Probability Theory - Umesh Vazirani
PL-XXv-cvA_iBDyz-ba4yDskqMDY6A1w_c - Operating Systems and System Programming - John Kubiatowicz
PL-XXv-cvA_iBM29DgZsGaQihJp8lLQn3J - The Structure and Interpretation of Computer Programs - John S. Denero
PL-XXv-cvA_iCfQHHS7rxlfHFsU4aQW1IF - Software Engineering - Armando Fox
PL-XXv-cvA_iCl2-D-FS5mk0jFF6cYSJs_ - Machine Structures - Vladimir Stojanovic & Krste Asanovic
PL-XXv-cvA_iA4YSaTMfF_K_wvrKAY2H8u - Introduction to Artificial Intelligence - Pieter Abbeel, Dan Klein
PL-XXv-cvA_iDD4nnsfVIqPFORTgZi9xRp - Data Structures - Joshua A. Hug
PL-XXv-cvA_iDq3FCoYLeUL-X-NUlT405n - Introduction to Embedded Systems - Edward A. Lee, Alberto Sangiovanni-vincentelli
/**
* Created by RupGautam on 2/22/17.
*/
import java.util.Random;
import java.util.Scanner;
/**
* Copyright ${COPYRIGHT}.
*/
//Write a program to encrypt the line entered by the user. Encryption is performed
// by replacing all occurrences of the letter ‘i’ by ‘e', all occurrences of the letter ‘e’
// by the letter ‘a’, and all occurrences of the letter ‘a’ by the letter ‘i’. For example,
// if the user enters the line: The ear is big. Then the output from the program is: Tha
// air es beg. Both upper case and lower case of aforementioned letters must be
// encrypted.
import java.util.Scanner;
/**
* Created by RupGautam on 2/21/17.
*/
import java.util.Scanner;
public class PhoneNumber {
// 2047773333, (204)777-3333, or 204-777-333
@RupGautam
RupGautam / log.txt
Created February 12, 2017 04:04
gitsome trending error
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/feedparser.py", line 399, in __getattr__
return self.__getitem__(key)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/feedparser.py", line 348, in __getitem__
return dict.__getitem__(self, 'updated_parsed')
KeyError: 'updated_parsed'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):