from employees
filter start_date > @2021-01-01
------------------ | |
-- Rules | |
------------------ | |
select * | |
from rules | |
where rule_name in ( | |
'Early_Bird_7.7_3Jul_6Jul24' | |
); | |
---------------- | |
INSERT INTO public.rules ( |
aws --profile localstack s3 mb s3://wht-pdf-bucket aws --profile localstack sqs create-queue --queue-name whtPdfQueue aws --profile localstack sqs get-queue-attributes --queue-url http://sqs.ap-southeast-1.localhost.localstack.cloud:4566/000000000000/whtPdfQueue --attribute-names QueueArn aws --profile localstack lambda create-event-source-mapping --function-name wht-cert-generator-local-main --batch-size 10 --event-source-arn arn:aws:sqs:ap-southeast-1:000000000000:whtPdfQueue
aws --profile localstack sqs send-message --queue-url http://sqs.ap-southeast-1.localhost.localstack.cloud:4566/000000000000/whtPdfQueue --message-body "Hello, Gwen!"
Zeals | |
- STAR | |
- Prepare 3 questions | |
- q: Why do you want to work for X company? | |
s: | |
t: | |
a: | |
r: | |
- q: Why do you want to leave your current/last company? |
CREATE TABLE
transactions (
id BIGSERIAL NOT NULL,
datetime TIMESTAMPTZ NOT NULL,
amount numeric(6, 2) NOT NULL,
PRIMARY KEY(wallet, datetime)
);
SELECT
-> Graceful shutdown qore console
Qore console is doing everything related to deployment and long process tasks in the background. The problem is when qore console still doing something in the background then the pods service got a termination signal or SIGTERM, it should wait for processing till done. Currently, it will shut down immediately after getting SIGTERM
Add graceful shutdown to prevent immediate pod termination if any long process still occurs. List waiting process:
- Clone the environment before applying deploy
- Migration to a new environment
- To be added more if any long process that must include.
- get latest release log issue
test migrate qore apps
import { deployApps } from "../../src/app/infra/app_migrator";
describe("migrate", () => {
test("returns ok", async () => {
try {
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the\
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)