Skip to content

Instantly share code, notes, and snippets.

View cybersiddhu's full-sized avatar

Siddhartha Basu cybersiddhu

View GitHub Profile
@cybersiddhu
cybersiddhu / uclrambling.md
Created April 16, 2024 21:55
PSG vs Barca - a truncated rambling

Thinking about writing something on the Barça vs PSG second leg and I gotta say, it got pretty emotional watching this match. Barça proved me wrong, and I was initially skeptical about their lack of balance and consistency in performance.

As usual, Barça started cautiously, soaking up pressure from PSG who began aggressively, winning the ball and dominating possession. However, thing changed with nice move on the PSG's left by Yamal, a subtle and silky hesitation unbalanced Mendes and Lamal went past through an inside cut. A good cross followed, allowing Rafinha to score the opening goal – though it was somewhat

@cybersiddhu
cybersiddhu / ucl.md
Last active April 10, 2024 01:07
Man City - RM rambling

Summary

I wasn’t expecting this score line, thought a 1-1 draw or maybe 1-0 RM or maybe a little bit more caged affair. Didn’t go that way. Real played mostly on the break or transitions, using the pace of Vini or Rodrygo and to some extent Valverde or Camavinga. Man city got a great opening and then Real got two goals, i have to say they got lucky to some extent particularly for the first goal. Then city scored two golazos, Foden kind of expected as he is scoring banger quite a lot, but wasn’t expecting for Gvardiol. On the other side, Valverde is pretty much is known for that, i wasn’t really surprised. But i was surprised see him that open, Kovacic was laboring, didn’t cover him.

Thoughts

  1. Haaland was tightly marked by Rudiger, either he couldn’t go through or whenever he got, he was fouled. Also, Haaland was kind of playing for the team, he was opening up shooting lane by dragging the defender, that gives Foden a little bit more space and opening to make those shot. So, Haaland kind of taking

project-logo

EVENT-MESSENGER

Introducing the Future of Event Messaging! The Go-based Event Messenger' by DictyBase is designed to revolutionize communication between software modules within any app ecosystem, boasting advanced features and cutting-edge technology. Its customizable architecture simplifies integration with your projects while guaranteeing 100% compatibility with the latest versions of Golang. Don't just take our word for it; experience the power of event-messenger yourself and let your future projects rely on DictyBase for unmatched performance, efficiency, and extensive community support!Incorporating elements from each section of the repository (go.mod, go.sum), the proposed slogan highlights our project's ability to seamle

project-logo

EVENT-MESSENGER

This may include an example of what will appear in an HTTP response header. If it is a program that requires no external dependencies to work, indicate so; and if not, please mention the external dependencies.)```================================================================================Solution: Let's Connect.-Discover Event-driven Architecture with Your Own Project--------------------------------------------------------------------------------The slogan of this project (Let's Connect.) summarizes that it provides an event messenger for intercommunication within a Docker network, where you can trigger or subscribe to events in a highly scalable way.The message: Discover Event-driven Architecture with Your

@cybersiddhu
cybersiddhu / readme-ai.md
Last active March 7, 2024 14:23
Automated readme with mistral using readme-ai

project-logo

MODWARE-ANNOTATION

Efficient Annotation APIs for Go.Orchestrating Annotated Data.Collaborative, Scalable Annotations.Powerful Tools for Annotation.Building Annotation Ecosystems.Unified Platform for Annotation.Elevate Data with Smart Annotations.Manage Annotations at Scale.Streamline Annotated Content.Next-Gen Solutions for Annotation.Drive Data Insights Through Annotations.Simplifying Complex Annotations.Expertly Engineered for Annotation.

@cybersiddhu
cybersiddhu / starship.nix
Created October 5, 2022 18:08 — forked from s-a-c/starship.nix
Nix file to generate complete, mostly default, starship.toml, including equivalent of <format = "$all">
programs.starship = {
enable = true;
settings = {
# "$schema" = "https://starship.rs/config-schema.json";
add_newline = true;
command_timeout = 500;
continuation_prompt = "[∙](bright-black) ";
format = "[](0x9A348E)$username$hostname$localip$shlvl$singularity$kubernetes[](fg:0x9A348E bg:0xDA627D)$directory$vcsh[](fg:0xDA627D bg:0xFCA17D)$git_branch$git_commit$git_state$git_metrics$git_status$hg_branch[](fg:0x86BBD8 bg:0x06969A)$docker_context$package$buf[](fg:0xFCA17D bg:0x86BBD8)$c$cmake$cobol$container$daml$dart$deno$dotnet$elixir$elm$erlang$golang$haskell$helm$java$julia$kotlin$lua$nim$nodejs$ocaml$perl$php$pulumi$purescript$python$rlang$red$ruby$rust$scala$swift$terraform$vlang$vagrant$zig$nix_shell$conda$spack$memory_usage$aws$gcloud$openstack$azure$env_var$crystal$custom$sudo$cmd_duration$line_break$jobs$battery[](fg:0x06969A bg:0x33658A)$time$status$shell$character";
right_format = "";
scan_timeout = 30;
@cybersiddhu
cybersiddhu / rust-command-line-utilities.markdown
Created October 2, 2022 12:30 — forked from sts10/rust-command-line-utilities.markdown
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, exa, fd, hyperfine, miniserve, ripgrep, just, zoxide and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
  • bat: A replacement for cat that provides syntax highlighting and other features.
  • bottom: Yet another cross-platform graphical process/system monitor.
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

For vitejs

Install packages

yarn add -D vite-tsconfig-paths @tsconfig/recommended

tsconfig.json

@cybersiddhu
cybersiddhu / WikiContentDisplay.tsx
Last active May 3, 2022 17:00
Functional pipeline to return markdown content from wiki
import { useRouter } from "next/router"
import { useState, useEffect, useMemo } from "react"
import * as E from "fp-ts/Either"
import * as TE from "fp-ts/TaskEither"
import { pipe } from "fp-ts/lib/function"
import { cloneGithubWiki } from "../../hooks/useGithubWiki"
import { toOutput, WikiContentEither } from "../../components/WikiDisplay"
import FS from "@isomorphic-git/lightning-fs"
export default function Gene() {