See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # Save this in ~/.screenrc | |
| # Use bash | |
| shell /bin/bash | |
| autodetach on | |
| # Big scrollback | |
| defscrollback 5000 |
| $ docker run k8s.gcr.io/autoscaling/cluster-autoscaler:v1.18.3 /cluster-autoscaler -h | |
| Usage of /cluster-autoscaler: | |
| pflag: help requested | |
| --add-dir-header If true, adds the file directory to the header | |
| --address string The address to expose prometheus metrics. (default ":8085") | |
| --alsologtostderr log to standard error as well as files | |
| --aws-use-static-instance-list Should CA fetch instance types in runtime or use a static list. AWS only | |
| --balance-similar-node-groups Detect similar node groups and balance the number of nodes between them | |
| --cloud-config string The path to the cloud provider configuration file. Empty string for no configuration file. | |
| --cloud-provider string |
| FROM golang:1.12-alpine AS gobuild | |
| RUN apk update && apk add --no-cache gcc g++ make git | |
| COPY ./ /build | |
| WORKDIR /build | |
| RUN GOOS=linux GOAR=amd64 go build -o binary | |
| FROM jrottenberg/ffmpeg AS base-build | |
| ENV PYENV_ROOT=/root/.pyenv | |
| ENV PATH=$PYENV_ROOT/bin:$PATH | |
| ENV PATH=$PYENV_ROOT/shims:$PATH |
| #!/bin/bash | |
| ## small hack to print $PATH var in readable mode | |
| echo $PATH | awk '{split($0,a,":"); for (i in a) print a[i]}' |
| import Vue from "vue" | |
| import VueRouter from "vue-router" | |
| const router = new VueRouter({ | |
| routes, | |
| }) | |
| function getRoutesList(routers, pre) { | |
| return routers.reduce((array, route) => { | |
| const path = `${pre}${route.path}`; |
| class Morse | |
| def posibilities(signals) | |
| signals.include?('?') ? check_wildcard(signals) : morses["#{signals}"] | |
| end | |
| def check_wildcard(signals) | |
| length = signals.split('').length | |
| values = [] | |
| if length.eql?(1) | |
| values = ["E", "T"] |
| # before run this command you have to configure a directory where the remote will be mounted and also have to configured a remote using rclone | |
| ~$ rclone mount --allow-non-empty --allow-other --daemon remote:remote_directory /path/to/local/target |