Skip to content

Instantly share code, notes, and snippets.

View romitkarmakar's full-sized avatar
💭
HFT lover

Romit Karmakar romitkarmakar

💭
HFT lover
View GitHub Profile
@romitkarmakar
romitkarmakar / buildspec.yml
Created October 8, 2019 17:44 — forked from hzburki/buildspec.yml
buildspec.yml file for uploading static site to AWS S3 with CodeBuild
version: 0.2
phases:
install:
commands:
- npm i npm@latest -g
- pip install --upgrade pip
- pip install --upgrade awscli
pre_build:
commands:
FROM node:10-alpine
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app
COPY package*.json ./
USER node
@romitkarmakar
romitkarmakar / install.sh
Created October 28, 2020 12:45
Install Redis 6.0
wget http://download.redis.io/releases/redis-6.0.3.tar.gz
tar xzf redis-6.0.3.tar.gz
cd redis-6.0.3
make
src/redis-server
sudo apt update -y
sudo apt install redis-server
sudo git clone --recursive https://github.com/RediSearch/RediSearch.git
sudo apt-get install make gcc -y
cd RedisSearch
@romitkarmakar
romitkarmakar / README.txt
Created July 16, 2021 10:30
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.2+commit.661d1103.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@romitkarmakar
romitkarmakar / README.txt
Created July 16, 2021 19:18
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.2+commit.661d1103.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@romitkarmakar
romitkarmakar / README.txt
Created July 16, 2021 19:33
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.2+commit.661d1103.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@romitkarmakar
romitkarmakar / seo.md
Created November 22, 2023 12:10
SEO Resources
@romitkarmakar
romitkarmakar / clean-macos.sh
Last active August 5, 2024 10:53
MacOS Auto Clean Script
rm -rf /Library/Caches/*
rm -rf ~/Library/Developer/Xcode/DerivedData/
rm -rf ~/.npm/