Skip to content

Instantly share code, notes, and snippets.

View aurghyadip's full-sized avatar
🎯
Focusing

Aurghyadip Kundu aurghyadip

🎯
Focusing
View GitHub Profile
@aurghyadip
aurghyadip / mono-install-ubuntu.sh
Created May 20, 2019 06:57
mono-install-ubuntu1804
#!/bin/bash
sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-complete
@aurghyadip
aurghyadip / cloudSettings
Created February 12, 2019 06:31
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-02-12T06:31:20.615Z","extensionVersion":"v3.2.4"}
%%
%% This is file `model2-names.bst',
%%
%% Copyright 2009 Elsevier Ltd
%%
%% This file is part of the 'Elsarticle Bundle'.
%% ---------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
@aurghyadip
aurghyadip / .gitignore
Created March 2, 2018 04:18
Custom gitignore for android projects
# Built application files
*.apk
*.ap_
# Files for the ART/Dalvik VM
*.dex
# Java class files
*.class
<form name="form1">
<input type="text" name="sdate">
<input type="submit" value="Submit" onclick="checkDate(form1.sdate)">
</form>
@aurghyadip
aurghyadip / helloworld.c
Created August 13, 2017 18:46
Hello World Program in C
#include<stdio.h>
int main()
{
printf("Hello World!");
}
@aurghyadip
aurghyadip / OMR_Latex.tex
Created July 2, 2017 05:39
Latex Template for OMR Sheet
\documentclass{exam}
\usepackage{tikz}
\usepackage{subfig}
\usepackage{amsmath}
\usepackage[margin=1.0in]{geometry}
\pagestyle{empty}
\title{\textbf{Mock Test OMR Sheet}}
\author{Author Name}
\date{}
\begin{document}
@aurghyadip
aurghyadip / Reciever.java
Last active April 12, 2017 04:56
Stop and Wait Protocol
import java.io.*;
import java.net.*;
public class Receiver{
ServerSocket reciever;
Socket connection=null;
ObjectOutputStream out;
ObjectInputStream in;
String packet,ack,data="";
int i=0,sequence=0;
Receiver(){}
@aurghyadip
aurghyadip / Sender.java
Last active April 12, 2017 04:55
Stop and Wait Protocol
import java.io.*;
import java.net.*;
public class Sender{
Socket sender;
ObjectOutputStream out;
ObjectInputStream in;
String packet,ack,str, msg;
int n,i=0,sequence=0;
Sender(){}
public void run(){
@aurghyadip
aurghyadip / AppClient.java
Created March 29, 2017 07:34
Java Program for Multithreaded GUI Based Chat Client
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
public class AppClient extends Frame implements ActionListener,Runnable
{
//Declarations
Button b;