Skip to content

Instantly share code, notes, and snippets.

View CauaneAndrade's full-sized avatar

Cauane CauaneAndrade

View GitHub Profile
@natanlao
natanlao / volume.md
Last active August 9, 2021 19:46
docker-compose: no declaration was found in the volumes section

If, when doing something like docker-compose up, you run into an error like this:

ERROR: Named volume "server/db:/usr/share/nginx/html/db:rw" is used in service "web" but no declaration was found in the volumes section.

You're missing a leading ./, so, for example:

volumes:
 - 'server/db:/usr/share/nginx/html/db'
@tylerjw
tylerjw / cachedgeo.py
Last active March 24, 2024 17:49
Library for caching requests to Nominatim in AWS DynamoDB
import boto3
from botocore.exceptions import ClientError
import decimal
from putItem import addr_to_query, query_to_addr
from geopy.geocoders import Nominatim
import json
import logging
logger = logging.getLogger(__name__)
@rxaviers
rxaviers / gist:7360908
Last active June 14, 2024 18:27
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: