Skip to content

Instantly share code, notes, and snippets.

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

srinivas valekar valekar

🏠
Working from home
  • Tsunami Finance
  • Metaverse
View GitHub Profile
@valekar
valekar / 1_Storage.sol
Created August 4, 2020 20:40
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.5.13+commit.5b0b510c.js&optimize=false&gist=
pragma solidity >=0.4.22 <0.7.0;
/**
* @title Storage
* @dev Store & retreive value in a variable
*/
contract Storage {
uint256 number;
@valekar
valekar / docker-compose.yml
Created January 10, 2020 10:17
Docker Compose gist for MYSQL
version: "3.7"
services:
db:
image: mysql:5.7
restart: "unless-stopped"
ports:
- 3309:3306
# uncomment the volume mount to import .sql files
# during database initalization
# volumes:
@valekar
valekar / docker-compose.yml
Last active January 2, 2023 22:39
Docker compose Yaml for MongoDB
version: "3.3"
services:
mongodb:
container_name: mongodb
ports:
- "27017:27017"
image: mongo:latest
environment:
- MONGODB_USER="user"
- MONGODB_PASS="pass"
@valekar
valekar / build.gradle
Created December 8, 2019 19:35
Build Gradle : All the AndroidX versions different from the compile
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {