Skip to content

Instantly share code, notes, and snippets.

View RupGautam's full-sized avatar

Rup Gautam RupGautam

View GitHub Profile
package Assignment4;
/**
* Created by RupGautam on 4/1/17.
*/
import java.util.ArrayList;
/**
* Copyright ${COPYRIGHT}.
*/
@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>
# Theme Version | 当前版本
Yelee: "3.5"
# >>> Basic Setup | 基础设置 <<<
# Header | 主菜单
## About Page: `hexo new page about`
## Tags Cloud Page: `hexo new page tags`
menu:
Home: /
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Blog | Rup Gautam
subtitle: Computer Science Student
description:
author: Rup Gautam
language: en
@RupGautam
RupGautam / Grid_Table_Markdown.md
Last active April 23, 2017 22:03
grid styled markdown table

Image of Yaktocat

fullscreen

Img

sidebar + content view

Img

@RupGautam
RupGautam / index.html
Created May 3, 2017 06:54
Flappy Bird build in complete JavaScript
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title> Flappy Bird Clone </title>
<script type="text/javascript" src="phaser.min.js"></script>
<script type="text/javascript" src="main.js"></script>
</head>
<body>
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@RupGautam
RupGautam / gist:1d99256acc74cc0d5e5081314fd7b4f8
Last active June 28, 2017 01:58
youtube id to video embed on wordpress post
// Get the video URL and put it in the $video variable
if (isset($_GET['v'])) $videoid = $_GET['v'];
// Check if there is in fact a video URL
if ($videoid) {
	echo '<div class="videoContainer">';
	// Echo the embed code via oEmbed
	echo wp_oembed_get( 'http://www.youtube.com/watch?v=' . $videoid ); 
	echo '</div>';
}
/**
* Created by RupGautam on 7/25/17.
*/
/**
* Counts vowels from given string
*/
import java.util.Scanner;
public class CountVowels {