Skip to content

Instantly share code, notes, and snippets.

View darthnithin's full-sized avatar
👩‍💻
🧑🏾‍💻

Nithin darthnithin

👩‍💻
🧑🏾‍💻
View GitHub Profile
@darthnithin
darthnithin / index.html
Created September 27, 2017 22:51
THis is I-Fam
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>This is our project</title>
<script src="code.js" type="text/javascript" charset="utf-8"></script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>French I-fam project</h1>
@darthnithin
darthnithin / Collect Parler Metadata.ipynb
Created January 12, 2021 21:31 — forked from kylemcdonald/Collect Parler Metadata.ipynb
Collect video URLs and GPS data for Parler videos.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@darthnithin
darthnithin / .deps...npm...@openzeppelin...contracts...token...ERC20...ERC20.sol
Created February 9, 2022 06:49
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.11+commit.d7f03943.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
@darthnithin
darthnithin / atricoin_flat.sol
Created February 9, 2022 07:01
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.11+commit.d7f03943.js&optimize=false&runs=200&gist=
// File: @openzeppelin/[email protected]/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the

CSE 101 Introduction to Data Structures and Algorithms ADTs in C++

A class in C++ is the basic program construct for implementing an ADT. It allows the programmer to group member variables and methods into one entity. A struct in C++ is practically the same thing as a class. It can have both methods and fields as members, it can have explicit constructors and destructors, and can use inheritance. The main difference is that struct members are public by default, while class members are private by default.

By contrast, a struct in C is more like an array with named elements. There are no methods within the struct itself. For example:

Example: a struct in C

struct Blah{ // no typedef