Skip to content

Instantly share code, notes, and snippets.

View vwedesam's full-sized avatar

Eshemiedomi Samuel Oghenevwede vwedesam

View GitHub Profile
@vwedesam
vwedesam / variousCountryListFormats.js
Created June 1, 2022 00:52 — forked from incredimike/variousCountryListFormats.js
List of Countries in various Javascript data structures: Alphabetical country lists & Country data objects.
// Lists of countries with ISO 3166 codes, presented in various formats.
// Last Updated: July 30, 2020
// If you're using PHP, I suggest checking out:
// https://github.com/thephpleague/iso3166
// or Laravel: https://github.com/squirephp/squire
//
// JS developers can check out:
// https://www.npmjs.com/package/iso3166-2-db
//
@vwedesam
vwedesam / howto-s3bucket.md
Created March 25, 2022 21:31 — forked from ogt/howto-s3bucket.md
HOWTO - Create an amazon s3 bucket with its own domain, access keys

Assume that we want to create a bucket called foo.mydomain.com, and you have already mydomain.com

1. Create the bucket.
  - go to AWS console, s3, select the s3 region that you want.
  - name the bucket foo.mydomain.com
  - save and then select -> click actions-> properties 
  -> in properties click permissions -> add permissions add VIEW for EVERYBODY (s3 files are unguessable urls)

2. Create the CNAME
@vwedesam
vwedesam / app.module.ts
Created October 20, 2021 18:00 — forked from paztek/app.module.ts
nestjs-http-service-example-1
import { Module } from '@nestjs/common';
import { HttpModule } from './http/http.module';
import { FooModule } from './foo/foo.module';
@Module({
imports: [
HttpModule,
FooModule, // <- we'll make use of the "augmented" HttpService in this module
],