This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { BadRequestError, MagicError, NotFoundError } from '@magic/api/trpc'; | |
| const client_id = 'c1ec3e33-5959-4157-9c51-d54f7d0f7c02'; | |
| const client_secret = 'c1ec3e33-5959-4157-9c51-d54f7d0f7c02'; | |
| const getCode = async () => { | |
| const redirect_uri = 'http://localhost:3001/leads'; | |
| const baseURL = `https://api.rd.services/auth/dialog?client_id=${client_id}&redirect_uri=${redirect_uri}`; | |
| try { |
This will guide you through setting up a replica set in a docker environment using.
- Docker Compose
- MongoDB Replica Sets
- Mongoose
- Mongoose Transactions
Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function readURL(input) { | |
| if (input.files && input.files[0]) { | |
| var reader = new FileReader(); | |
| reader.onload = function(e) { | |
| $('#blah').attr('src', e.target.result); | |
| } | |
| reader.readAsDataURL(input.files[0]); // convert to base64 string | |
| } |