See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| FROM php:7.4-cli-alpine | |
| # Install xdebug | |
| RUN apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS \ | |
| && pecl install xdebug \ | |
| && docker-php-ext-enable xdebug \ | |
| && apk del .phpize-deps | |
| WORKDIR /var/www/html |
| Docker 23 + Traefik v2.9.10 and v1.7 + Let's Encrypt + Github Registry V2 ghcr.io + Updated on 12 April 2023 | |
| Content: | |
| - Ubuntu 22.04 | |
| - Docker Engine 23.0.3 | |
| - Docker Compose 2.17.2 | |
| - Traefik v1.7.18 with dnsChallenge | |
| - Traefik v2.9.9 with httpChallenge | |
| -- | |
| - Github Registry V2 ghcr.io |
| FROM golang:1.12 as build | |
| WORKDIR $GOPATH/src/github.com/Irio/wohnung | |
| COPY scraper scraper | |
| COPY main.go . | |
| RUN go get -d -v ./... | |
| RUN go install | |
| FROM gcr.io/distroless/base |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
I bundled these up into groups and wrote some thoughts about why I ask them!
If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email [email protected]
https://blog.vcarl.com/interview-questions-onboarding-workplace/
| #!/bin/bash | |
| #Mon Feb 26 13:01:50 PST 2018 | |
| #Darwin 16.7.0 x86_64 | |
| #GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16) | |
| #Download and verify a file's sha256sum | |
| #Retry three times and then fail. | |
| #Should check the sha256sum of the downloaded file before attempting to download. | |
| #exit 0 on success else exit nonzero | |
| #Usage: |
| import Vue from 'vue'; | |
| import Foo from '../src/components/Foo.vue'; | |
| import expect from 'expect'; | |
| import sinon from 'sinon'; | |
| import { mount } from '@vue/test-utils'; | |
| // Can comment out the mocks property and use this. Both work. | |
| // Vue.prototype.$ebus = new Vue(); | |
| describe('Foo', () => { |
I've worked with AngularJS for many years now and still use it in production today. Even though you can't call it ideal, given its historically-formed architecture, nobody would argue that it became quite a milestone not only for evolution of JS frameworks, but for the whole web.
It's 2017 and every new product/project has to choose a framework for development. For a long time I was sure that new Angular 2/4 (just Angular below) will become the main trend for enterprise development for years to come. I wasn't even thinking of working with something else.
Today I refuse to use it in my next project myself.
| image: docker:latest | |
| # When using dind, it's wise to use the overlayfs driver for | |
| # improved performance. | |
| variables: | |
| DOCKER_DRIVER: overlay | |
| GCP_PROJECT_ID: CHANGE-TO-GCP-PROJECT-ID | |
| IMAGE_NAME: image_id | |
| services: |