Skip to content

Instantly share code, notes, and snippets.

View shreyakqss's full-sized avatar

Shreyak Chakaborty shreyakqss

View GitHub Profile
@shreyakqss
shreyakqss / pyproject.toml
Created January 15, 2026 14:00
pyproject toml for RL and deep learning on GCP V100 instance with N-series CPU
[project]
name = "rl-pytorch-env"
version = "0.1.0"
requires-python = ">=3.10,<3.11"
dependencies = [
# Core ML
"torch",
"torchvision",
"torchaudio",
@shreyakqss
shreyakqss / simple_dex.sol
Created May 12, 2022 08:01
Simple DEX smart contract for swapping ETH and an ERC20 token
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./TrainingToken.sol";
contract DEX {
TrainingToken token;
address public tokenAddress;
event TokensBought(uint256 amount,uint256 etherAmount,address _buyer);