Skip to content

Instantly share code, notes, and snippets.

View smc181002's full-sized avatar
:octocat:
busy, not busy😄

Meher Chaitanya smc181002

:octocat:
busy, not busy😄
View GitHub Profile

Nbench

git clone https://github.com/kreier/benchmark
cd benchmark/nbench/nbench-byte-2.2.3
chmod +x ./*
make
chmod +x ./nbench
@smc181002
smc181002 / GroupByListOfObjectsInDart.md
Last active March 18, 2023 13:08
groupby-list-of-objects

Grouping List of Objects

This dart pad is a sample code to group List of Objects based on an attribute of the list.

The error

Preparing...
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing community.db...
Refreshing multilib.db...
Error: multilib.db: GPGME error: No data

Minikube Installation

Install Docker

For Amazon Linux 2

  sudo yum install docker

Adding user to docker

@smc181002
smc181002 / ssh-windows-to-linux-setup.md
Last active November 9, 2021 05:50
use ssh key authentication from windows system to linux system

README

Creating key

ssh-keygen

copying key to linux server

@smc181002
smc181002 / using_localStoage_with_sveltekit_and_svelte_store.md
Last active November 22, 2021 17:15
Using localStoage with sveltekit and svelte store

About

I have been building sveltekit and I enocuntered this where sveltekit wont work if you use localstorage API directly because our sveltekit will be running in both client and server and server node.js will pose an error for undefined localStoage API

I have looked for this in stackoverflow and I was not able to find the exact answer anywhere. But then I encountered a stackoverflow question after a lot of searching and here is the solution