Skip to content

Instantly share code, notes, and snippets.

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

sagar jethi sagarjethi

🏠
Working from home
View GitHub Profile
@sagarjethi
sagarjethi / README.txt
Created June 16, 2021 19:08
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.6.12+commit.27d51765.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
@sagarjethi
sagarjethi / README.txt
Created June 16, 2021 19:07
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.6.12+commit.27d51765.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
@sagarjethi
sagarjethi / .gitignore
Created April 13, 2020 07:11
ionic .gitignore. building an app for ios,android a good .gitignore file for ionic
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore
*~
*.sw[mnpcod]
.tmp
*.tmp
*.tmp.*
*.sublime-project
*.sublime-workspace
@sagarjethi
sagarjethi / media-queries-css-cheat-sheet.css
Created January 28, 2020 06:23
CSS Media Queries for Desktop, Tablet, Mobile. media queries for multiple screen sizes
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}
{
"swagger": "2.0",
"info": {
"description": "",
"version": "1.0.0",
"title": "Qureos api",
},
"host": "13.233.254.67:3000",
"basePath": "/api",
@sagarjethi
sagarjethi / delete commits from a branch in git
Last active July 27, 2022 15:49
Delete commits from a branch in Git
#### Delete the last commit
For example your last commit
git push origin +aa61ab32^:master
Now you want to delete this commit then an Easy way to do this following
Steps
First reset the branch to the parent of the current commit
@sagarjethi
sagarjethi / laravel-nginx.conf
Last active June 22, 2018 06:28
Laravel nginx conf file. Config default.conf in nginx for laravel 5.x
server {
#if single domain then uncomment following line
# listen 80 default_server;
server_name example.com www.example.com; #add your domain name here
access_log /var/www/laravel-example.com/logs/access.log; # change path as per your application
error_log /var/www/laravel-example/logs/error.log;
root /var/www/example.com/public; #laravel application full path
Public reserved account = 900M tokens
We have created ICO contract and sent 10M token to ICO contract.
ICO contract = 10M
From ICO contract 2M token are sold till now.
0x6BfefB1D11fFC09041CEE721bd1e3EA6Ac103011
0x2BD0Cee35c06628022B663137781B1399CA65FbA