Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.
[Brief description ]
- [more description]
- [more description]
- [more description]
tests/ foldertest.describe blockstest.use({storageState: ...}) for setting auth state across all test in the suiteThis is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
| helm install <RELEASE_NAME> stable/external-dns \ | |
| --set provider=aws \ | |
| --set domainFilters[0]=<DOMAIN_FILTER>\ | |
| --set policy=sync \ | |
| --set registry=txt \ | |
| --set txtOwnerId=<HOSTED_ZONE_ID> \ | |
| --set interval=3m \ | |
| --set rbac.create=true \ | |
| --set rbac.serviceAccountName=external-dns \ | |
| --set rbac.serviceAccountAnnotations.eks\.amazonaws\.com/role-arn=<ROLE_ARN> |
| Title | Description
| FROM python:2.7.13-slim | |
| COPY . /app/ | |
| WORKDIR /app | |
| ENTRYPOINT ["python", "connectbug.py"] |
| # useful functions | |
| # ================ | |
| def total_return(prices): | |
| """Retuns the return between the first and last value of the DataFrame. | |
| Parameters | |
| ---------- | |
| prices : pandas.Series or pandas.DataFrame | |
| Returns | |
| ------- | |
| total_return : float or pandas.Series |
This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible implementations; During the discussion I’ll deep dive to scripts, shells, and shebangs. Finally, we’ll discuss solutions that will make Go scripts work.
While python and bash are popular scripting languages, C, C++ and Java are not used for scripts at all, and some languages are somewhere in between.
| # Copyright 2015 The TensorFlow Authors. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |