Skip to content
View elarcoiris's full-sized avatar

Block or report elarcoiris

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. AWS Secrets Manager and Dynamo DB - ... AWS Secrets Manager and Dynamo DB - Nest, Typescript
    1
    import { config, DynamoDB, SecretsManager } from 'aws-sdk';
    2
    import { Injectable } from '@nestjs/common';
    3
    import { logger } from './logger';
    4
    
                  
    5
    @Injectable()
  2. FE CI Workflow S3 Cloudfront FE CI Workflow S3 Cloudfront
    1
    name: Frontend
    2
    
                  
    3
    on:
    4
      push:
    5
        branches:
  3. SocketIO JS - Supports 10,000+ concu... SocketIO JS - Supports 10,000+ concurrent connections per average Express server instance
    1
    'use strict';
    2
    var connection = null;
    3
    var convId = '';
    4
    var ioSocket = '';
    5
    class SocketRoute {
  4. Distance calculation - Sequelize mod... Distance calculation - Sequelize model method
    1
    User.getDistance = async (me) => {
    2
      try {
    3
      // Distance algorithm with Earth curvature
    4
        const users = await User.findAll({
    5
          where: Sequelize.where(sequelize.literal(`6371 * acos(cos(radians(${me.latitude})) * cos(radians(latitude)) * cos(radians(${me.longitude}) - radians(longitude)) + sin(radians(${me.latitude})) * sin(radians(latitude)))`),