git for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' --sort=committerdate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prod="" | |
export AWS_PROFILE="claranet-root" | |
DEST_ACCOUNT_ID=${prod} | |
aws sts assume-role \ | |
--role-arn "arn:aws:iam::${DEST_ACCOUNT_ID}:role/admin" \ | |
--role-session-name awscli-session | |
export $(printf "AWS_ACCESS_KEY_ID=%s AWS_SECRET_ACCESS_KEY=%s AWS_SESSION_TOKEN=%s" \ |
Here’s a shorter list of 10 important GitHub Actions environment variables:
- GITHUB_WORKSPACE - The default working directory for steps and location of your repo.
- GITHUB_ACTOR - The name of the person or app that initiated the workflow.
- GITHUB_REPOSITORY - The owner and repository name.
- GITHUB_EVENT_NAME - The name of the event that triggered the workflow.
- GITHUB_SHA - The commit SHA that triggered the workflow.
- GITHUB_REF - The branch or tag ref that triggered the workflow.
- GITHUB_JOB - The ID of the current job.
- GITHUB_RUN_NUMBER - A unique number for each run of a workflow.
SSL analysis https://www.ssllabs.com/ssltest/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Querying Schema Privileges | |
sampledb=# dn+ | |
List of schemas | |
Name | Owner | Access privileges | Description | |
--------+----------+----------------------+------------------------ | |
public | postgres | postgres=UC/postgres+| standard public schema | |
| | =UC/postgres | | |
(1 row) | |
- the default-created schema named "public", described as "standard public schema", and owned by the role "postgres" | |
-- ownership, unless specified otherwise, is set to the role which creates the schema. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sintaxis | |
awk options program file | |
# Especificar el separador de archivos | |
-F fs | |
# file: programa awk | |
-f file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
namespace: staging | |
name: nginx | |
labels: | |
name: nginx | |
spec: | |
selector: | |
matchLabels: |
NewerOlder