Skip to content

Instantly share code, notes, and snippets.

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

Paras Gupta parasg1999

🏠
Working from home
View GitHub Profile
// const readlineSync = require('readline-sync')
import { question } from 'readline-sync';
type Operator = '+' | '-' | '*' | '/';
const fNum: string = question('Enter first number: ');
const operator: string = question('Enter operator: '); // + , - , * , /
const sNum: string = question('Enter second number: ');
pragma solidity >=0.4.21 <0.7.0;
contract approvalContract{
mapping(uint => Transaction) public transactions;
mapping(uint => Campaign) public campaigns;
uint public transactionCount = 0;
uint public campaignCount = 0;
@parasg1999
parasg1999 / Instructions.md
Created July 7, 2019 06:37
Importing the LaTeX project on overleaf
  • Download the zip file
  • Create an account on overleaf.com
  • Click on the '''New Project''' Button on the left side
  • Import the zip file that was given to you
  • After opening, there will be an error shown. You can fix the error by clicking on '''Menu''' at the top-left corner.
  • Set the compiler as XeLaTeX
  • Edit the sections by double clicking the section which you want to change.