One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/usr/bin/env bash | |
set -euo pipefail | |
CACHE_DIR="${XDG_CACHE_HOME:-$HOME/Library/Caches}/wrapper-1password" | |
CACHE_FILE="$CACHE_DIR/session-token.yaml" | |
OP_LOCATION="$(command -v op)" | |
mkdir -p "$CACHE_DIR" |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
#!/usr/bin/env python | |
import json | |
import logging | |
import subprocess | |
import sys | |
import textwrap | |
from typing import Literal, Sequence, TypedDict, Union | |
from urllib.error import HTTPError | |
from urllib.request import Request, urlopen |
FROM golang:1.9 | |
WORKDIR /go/src/github.com/purplebooth/example | |
COPY . . | |
RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go | |
FROM scratch | |
COPY --from=0 /go/src/github.com/purplebooth/example/main /main | |
CMD ["/main"] |
<?php | |
declare(strict_types=1); | |
namespace PurpleBooth\Bundle\ExampleBundle\Controller\Api; | |
use PurpleBooth\Bundle\ExampleBundle\Entity\Example; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\HttpFoundation\Request; |
#!/usr/bin/env bash | |
set -xeuo pipefail | |
# Set the source repository | |
SOURCE_REPO=org-name/source-repo | |
# Set the target repository | |
TARGET_REPO=org-name/dest-repo |
You've just created a virtual vending machine that will dispense widgets of programming goodness when a user puts money into the machine. The machine should dispense the proper change. You now need the programming logic to determine which coins to dispense.
Write a program that will correctly determine the least number of coins to be given to the user such that the sum of the coins' value would equal the correct amount of change.