I hereby claim:
- I am amsourav on github.
- I am amsourav (https://keybase.io/amsourav) on keybase.
- I have a public key ASDtRk_th3uYVWSAG5lGK4gnlDbK88UZggGW-2bFv72GTwo
To claim this, I am signing this object:
import re | |
import argparse | |
import os | |
import pikepdf | |
def replace_text_in_content_stream(content, search_text, replacement_text): | |
""" | |
Replace text in PDF content stream while preserving formatting. | |
Args: |
function interpolateCodeSnippets(array) { | |
// Create a map for quick lookup by key | |
const snippetsMap = array.reduce((acc, item) => { | |
acc[item.key] = item.value; | |
return acc; | |
}, {}); | |
// Helper function to interpolate a single snippet | |
function interpolate(snippet) { | |
// Regular expression to find all slots |
// a code snippet living in a component | |
// source: https://stackoverflow.com/a/59843241/3600510 | |
const usePrevious = (value, initialValue) => { | |
const ref = useRef(initialValue); | |
useEffect(() => { | |
ref.current = value; | |
}); | |
return ref.current; | |
}; | |
const useEffectDebugger = (effectHook, dependencies, dependencyNames = []) => { |
I hereby claim:
To claim this, I am signing this object:
If you would like to persist data from your ECS containers, i.e. hosting databases like MySQL or MongoDB with Docker, you need to ensure that you can mount the data directory of the database in the container to volume that's not going to dissappear when your container or worse yet, the EC2 instance that hosts your containers, is restarted or scaled up or down for any reason.
Don't know how to create your own AWS ECS Cluster? Go here!
Sadly the EC2 provisioning process doesn't allow you to configure EFS during the initial config. After your create your cluster, follow the guide below.
If you're using an Alpine-based Node server like duluca/minimal-node-web-server follow this guide:
0xe43D1e3236bf3E31e5CE31284d8BCbE6Ad1a893B |
I hereby claim:
To claim this, I am signing this object:
{"swagger":"2.0","info":{"description":"This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.","version":"1.0.0","title":"Swagger Petstore","termsOfService":"http://swagger.io/terms/","contact":{"email":"apiteam@swagger.io"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"host":"petstore.swagger.io","basePath":"/v2","tags":[{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user","externalDocs":{"description":"Find out more about our store","url":"http://swagger.io"}}],"schemes":["http"],"paths":{"/pet":{"post":{"tags":["pet"],"summary":"Add a new pet to the store","descri |