Skip to content

Instantly share code, notes, and snippets.

View aakash4dev's full-sized avatar

Aakash Singh Rajput aakash4dev

View GitHub Profile
@aakash4dev
aakash4dev / leveldb golang CRUD operations
Last active June 19, 2023 14:38
code to create, read, update, delete leveldb database on golang
package main
import (
"fmt"
"github.com/syndtr/goleveldb/leveldb"
)
func main() {
// connect leveldb: no URL required
db, err := leveldb.OpenFile("airdata/db", nil)
@aakash4dev
aakash4dev / .prettierrc.json
Created May 6, 2023 11:15
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.18+commit.87f61d96.js&optimize=false&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false