Skip to content

Instantly share code, notes, and snippets.

View boseji's full-sized avatar
💭
Accelerating dreams into infinity.

Abhijit Bose boseji

💭
Accelerating dreams into infinity.
View GitHub Profile
@boseji
boseji / Learn-Zig.md
Last active March 15, 2025 12:16
Learning Path to Zig and some notes

Learning Path for Zig

As per a friends suggestions I ma starting a learning resource for Zig. This is 2025-03-14, yes I know and a Very Joyful Holi Festival to you as well.

Lets look at the resources we have first:

  • At First I got this one : How to learn Zig?
@boseji
boseji / arduino-nano-328p-Modbus-slave.ino
Last active March 2, 2025 09:25
Boseji's Simple Modbus RTU Slave and Bridge over USB-to-UART
/**
* Boseji's Simple Modbus Slave and Bridge over USB-to-UART
*
* ## Introduction
*
* Here is the Program outline:
*
* - The hardware serial (USB-to-UART) is configured
* at 19200 baud as the Modbus RTU slave.
*
@boseji
boseji / json-time-server.go
Created September 27, 2024 05:31
Boseji's JSON Time Server - Provides both GMT (Internet Time) and Local time in IST (Bharat Standard Time)
//
// ॐ भूर्भुवः स्वः
// तत्स॑वि॒तुर्वरे॑ण्यं॒
// भर्गो॑ दे॒वस्य॑ धीमहि।
// धियो॒ यो नः॑ प्रचो॒दया॑त्॥
//
//
// बोसजी के द्वारा रचित जेसोन समय सहायक तन्त्राक्ष्।
// ===================================
//
@boseji
boseji / golang.Dockerfile
Last active September 27, 2024 05:36
Boseji's Docker Build File for Golang Applications
#
# ॐ भूर्भुवः स्वः
# तत्स॑वि॒तुर्वरे॑ण्यं॒
# भर्गो॑ दे॒वस्य॑ धीमहि।
# धियो॒ यो नः॑ प्रचो॒दया॑त्॥
#
#
# बोसजी के द्वारा रचित गोलङ्ग् कि डोकर कार्यविधि।
# ===================================
#
@boseji
boseji / Python_MODBUS-IP_Server_and_Client.md
Last active September 15, 2024 06:54
Python MODBUS/IP Server and Client
@boseji
boseji / pbkdf2-gen.go
Created May 10, 2021 04:54
PBKDF2 Key Derivation
// Copyright 2021 Abhijit Bose. All rights reserved.
// Use of this source code is governed by a Apache 2.0 license
package main
import (
"bytes"
"crypto/rand"
"crypto/sha256"
"encoding/hex"
@boseji
boseji / bcrypt-gen.go
Created May 10, 2021 04:44
bcrypt for Passwords
// Copyright 2021 Abhijit Bose. All rights reserved.
// Use of this source code is governed by a Apache 2.0 license
package main
import (
"fmt"
"encoding/hex"
"golang.org/x/crypto/bcrypt"
)
@boseji
boseji / aes-gcm-decrypt.go
Created May 10, 2021 04:42
AES GCM Example
// Copyright 2021 Abhijit Bose. All rights reserved.
// Use of this source code is governed by a Apache 2.0 license
package main
import (
"crypto/aes"
"crypto/cipher"
"encoding/hex"
"fmt"
@boseji
boseji / workerpool1.go
Created May 10, 2021 04:38
Golang Simple Worker Pool Example
// Copyright 2020 Abhijit Bose. All rights reserved.
// Use of this source code is governed by a Apache 2.0 license
package main
import (
"log"
"sync"
"time"
)
@boseji
boseji / Firebase-snippets.md
Last active February 1, 2020 02:58
Firebase Quick use snippets - some commands and some code to get started quickly

Firebase Snippets

This documents provides a brief command sequences and code that can get you started with [Google Firebase][1].

Install Command Line Tools

Firebase uses command line tools to perform upload, test and deploy actions.