Вот небольшой список книг и ресурсов, которые настоятельно рекомендую для погружения в обширную тему здоровья.
In brief - use the resource_group
directive.
Example:
stages:
- build
jobA:
resource_group: jobA
stage: build
script:
- echo HelloA
jobB:
stage: build
script:
- echo HelloB
There are some useful patterns for Resource Group.
resource_group: $CI_ENVIRONMENT_NAME … Limit per environment
resource_group: $CI_JOB_NAME … Limit per job
resource_group: $CI_COMMIT_REF_NAME:$CI_JOB_NAME … Limit per job per branch
resource_group: $CI_COMMIT_REF_NAME:$CI_ENVIRONMENT_NAME … Limit per environment per branch (e.g. review apps)
Just read this article from magit author about integration. https://emacsair.me/2018/12/19/forge-0.1/
Since now you can enjoy making PRs and MRs right from your lovely editor!
Simplicity is an underappreciated property.
In order to dynamically edit content people tend to introduce a lot of complexity by using powerful CMS systems, databases, search engines etc. Moreover, you’ll need to spend significant efforts on maintenance, high availability, for all this stuff.
What if you can just use Markdown and provide a short training course to people? What if you can use Hugo and Github Actions pipelines or similar for publishing?
Literally everything becomes more simple, thus more robust. What power can you gain by using simple text based format like this? Countless amount of tools for editing, processing and automation. Think about this.
I’m always happy to gain a new knowledge, so this time I was putting efforts into Pharo programming course and voila, enjoyed it challenges and got a Certificate of accomplishment.
I found really interesting how the time is specified in Go language stdlib.
From https://golang.org/pkg/time/
To define your own format, write down what the reference time would look like formatted your way; see the values of constants like ANSIC, StampMicro or Kitchen for examples. The model is to demonstrate what the reference time looks like so that the Format and Parse methods can apply the same transformation to a general time value.
Namely, you write an example of time date, not just “dd-MM-yyyy” but real date and time using numbers as values.
Here is go example:
01/02 03:04:05PM '06 -0700
Mon Jan 2 15:04:05 MST 2006
if we want to print output similar to dd-MM-yyyy we’d specify just
02 Jan 2006
Quite smart and unusual.