alexdeathway

joined 2 years ago
[–] alexdeathway@programming.dev 6 points 2 weeks ago (1 children)

For me Tracks appears ruptured, any fix for that?

[–] alexdeathway@programming.dev 21 points 1 month ago (13 children)

surprisingly russia is at 5th.

[–] alexdeathway@programming.dev 4 points 1 month ago (1 children)

90's aesthetic?

[–] alexdeathway@programming.dev 4 points 1 month ago* (last edited 1 month ago) (2 children)

I wonder what is the otigin of that name?

[–] alexdeathway@programming.dev 3 points 1 month ago

Can you tell me more about your job, as fellow computer guy I would really appreciate first hand experience.

[–] alexdeathway@programming.dev 2 points 1 month ago* (last edited 1 month ago)

asked because I was thinking of more geography-based advice.

 

Not much familiar wirh metrics for evaluating progression in medical fields, so asking in general sense.

[–] alexdeathway@programming.dev 2 points 1 month ago (2 children)

Are you Indian?

[–] alexdeathway@programming.dev 5 points 1 month ago

combine 2nd and 4th.

[–] alexdeathway@programming.dev 3 points 1 month ago (1 children)

Should have named it libre map.

[–] alexdeathway@programming.dev 43 points 1 month ago* (last edited 1 month ago) (1 children)

Not sure if this is joke or not because that warning about xiaome service center in India is absolutely true.

[–] alexdeathway@programming.dev 11 points 1 month ago

That one alien used for sorting the letter under the table in Men In Black.

[–] alexdeathway@programming.dev 5 points 1 month ago

python code for reversing the linked list.

 

hope this question doesn't sound too vague.

 

hope this question doesn't sound too vague.

 

I am working on this django docker project template with this certbot setup, Dockerfile

FROM certbot/certbot:v1.27.0

COPY certify-init.sh /opt/
RUN chmod +x /opt/certify-init.sh

ENTRYPOINT ["/opt/certify-init.sh"]

entrypoint

#!/bin/sh

set -e

echo "Getting certificate..."

certbot certonly \
    --webroot \
    --webroot-path "/vol/www/" \
    -d "$DOMAIN" \
    --email $EMAIL \
    --rsa-key-size 4096 \
    --agree-tos \
    --noninteractive

if [ $? -ne 0 ]; then
    echo "Certbot encountered an error. Exiting."
    exit 1
fi

#for copying the certificate and configuration to the volume
if [ -f "/etc/letsencrypt/live/${DOMAIN}/fullchain.pem" ]; then
    echo "SSL cert exists, enabling HTTPS..."
    envsubst '${DOMAIN}' < /etc/nginx/nginx.prod.conf > /etc/nginx/conf.d/default.conf
    echo "Reloading Nginx configuration..."
    nginx -s reload
else
    echo "Certbot unable to get SSL cert,server HTTP only..."
fi


echo "Setting up auto-renewal..."
apk add --no-cache dcron
echo "0 12 * * * /usr/bin/certbot renew --quiet" | crontab -
crond -b

problem with this setup is,certbot exits after initial run of getting the certificate and when it's renew time it require manual intervention.

Now There are two choices

  1. set restart: unless-stopped in docker compose file so it keeps restarting the container and with cron job to renew the certificate when required.

  2. Set cron job in host machine to restart the container.

Are there any other/more option to tackle this situation.

 

understanding a big codebase you have never worked.

 

Limitation of using drag and drop Images in readme.md?

One I am aware of is the size limit that no image size should be >10 MB. Are there any other limitations when using this (for example: retention period, storage capacity, etc)? I want to link those images outside Github.

I am aware of uploading images to the repository and linking by

[image](./path/to/image/image.png)
 

Can't locally download 41 GB loaded image which is provided to replicate GitHub action locally but don't want to commit and check every time too, is there any third option?

view more: next ›