Skip to content

Instantly share code, notes, and snippets.

View abhinav1592's full-sized avatar
🏠
Working from home

Abhinav Shrivastava abhinav1592

🏠
Working from home
View GitHub Profile
@abhinav1592
abhinav1592 / index.html
Created December 24, 2015 07:58
Derek_Banas_HTML_in_15_minutes_source_code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> <!-- Defines what type of content is gonna go into this HTML page-->
<meta http-eqiv="Conent-Type" context=text/html; charset = IOS-8859-1"/>
<style type="text/css">
h1{color:red}
</style>
<link rel="stylesheet" type="text/css" href="styles.css"/>
<meta name = "description" content="Welcome to Bobs hardware!"/>
@abhinav1592
abhinav1592 / gist:4382110
Last active March 20, 2021 07:46
A simple Notepad using Java. I have used swing and awt.
package notepad;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.Scanner;
import java.io.*;
public class Notepad extends JFrame implements ActionListener {
private TextArea textArea = new TextArea("", 0,0, TextArea.SCROLLBARS_VERTICAL_ONLY);
@abhinav1592
abhinav1592 / NEWCH.cpp
Created October 17, 2012 18:25
NEWCH-Codechef October Challenge
/*
Problem : NEWCH,Codechef's October Challenge 2012
Author : Abhinav Shrivastava
Compiler : Codeblocks 10.05
Concept : Solution to Recurrence relation using Matrix Exponentiation
*/
#include <iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>