-
Email subject:
[{{ priority }}-{{ state }}] {{#replace "/query.*minutes on/" annotations.title.[0]}}-{{else}}{{entitiesData.names}}{{/replace}}
NOTE: When using Trivy, it will download a Vulnerability DB, Java Index DB, and Checks Bundle during every run. This quickly triggers rate-limiting errors. The script below will pre-cache the DB's every 24 hours, to ensure that excessive MegaLinter scans do not trigger rate-limiting.
#!/usr/bin/env bash
Pay attention to these importants facts regarding Sonar inclusions/exclusions:
sonar.sources
and sonar.exclusions
config properties to match your requirements.TLDR:
lscolors
generator tool: [http://geoff.greer.fm/lscolors/]
The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR
. This string is a concatenation of pairs of the format fb
, where f
is the foreground color and b
is the background color.
The color designators are as follows:
This approach uses the Upstream Sync GitHub Action to keep a
remote/origin
in sync with theremote/upstream
repo.
mkdir <repo_name> && cd <repo_name>
git init
git remote add --tags -t upstream [email protected]:/.git
$if(%albumartist%,%albumartist%,$if(%_multiartist%,Various Artists,$if2(%albumartist%,%artist%)))/ | |
$if($gt($lenmulti(%artists%),2),$join(%artists%, & )--,) | |
$if(%album%,%album%,$trim($rreplace($replace($replace($replace($replace(%title%,",'), _ , - ),:,-),/,-),\([\\?\\!_]*\),))) | |
$if(%releasetype%, [%releasetype%],)/ | |
$if(%date%, \($if(%media%,%media%-,)%date%\),)/ | |
$if(%tracknumber%,$if($gt(%totaldiscs%,1),$num(%discnumber%,2),$if(%discnumber%,$num(%discnumber%,2),))$num(%tracknumber%,2)--,%artist%--) | |
$trim($rreplace($replace($replace($replace($replace(%title%,",'), _ , - ),:,-),/,-),\([\\?\\!_]*\),)) | |
$if(%tracknumber%,$if(%_multiartist%,--%artist%,$if(%albumartist%,$if($ne(%albumartist%,%artist%),--%artist%,),)),) |
--- Server-side
If you want to run your apps directly on EC2 Instances, you should package them as Amazon Machine Images (AMIs) using a tool such as Packer. Although we recommend Docker for all stateless apps (see below), we recommend directly using AMIs and EC2 Instances for all stateful apps, such as any data store (MySQL, MongoDB, Kafka), and app that writes to its local disk (e.g., WordPress, Jenkins).
The best way to deploy an AMI is typically to run it as an Auto Scaling Group. This will allow you to spin up multiple EC2 Instances that run your AMI, scale the number of Instances up and down in response to load, and automatically replace failed Instances.
I hereby claim:
To claim this, I am signing this object:
The various settings I use in VS Code. Useful, not only for new setups, but also sharing with others.
These preferences are organized in the order you might configure VS Code from scratch.
keybindings.json
)settings.json
)projects.code-workspace
)