Skip to content

Instantly share code, notes, and snippets.

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

Bhavneet Singh developerpaaji

🏠
Working from home
  • Delhi, India
View GitHub Profile
@developerpaaji
developerpaaji / golang_job_queue.md
Created May 15, 2023 14:59 — forked from harlow/golang_job_queue.md
Job queues in Golang
@jofftiquez
jofftiquez / github-workflow-guide.md
Last active December 16, 2023 08:28
CI/CD - Github Workflow + Firebase Hosting Guide

Template

Below is a template of GitHub's Workflow Action config file. Workflow is GitHub's CI/CD tool, like CircleCI.

Directory relative to the root of your application - .github/workflows/main.yml.

name: Deploy

on: 
@timwhit
timwhit / AddressController.ts
Last active July 31, 2022 14:42
TypeScript + Node.js Enterprise Patterns
import * as express from 'express';
import {injectable, inject} from 'inversify';
import TYPES from '../types';
import {AddressService} from '../service/AddressService';
import {Address} from '../model/Address';
import {RegistrableController} from './RegisterableController';
@injectable()
export class AddressController implements RegistrableController {
private addressService: AddressService;
@harlow
harlow / golang_job_queue.md
Last active April 24, 2024 10:21
Job queues in Golang
@theburningmonk
theburningmonk / singleton.dart
Last active September 2, 2022 01:40
Using Dart's factory constructor feature to implement the singleton pattern
class MyClass {
static final MyClass _singleton = new MyClass._internal();
factory MyClass() {
return _singleton;
}
MyClass._internal() {
... // initialization logic here
}