This file contains hidden or 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
resource "random_password" "random_password_for_root_user" { | |
length = 32 | |
special = false | |
} | |
resource "aws_secretsmanager_secret" "secret_db_root_password" { | |
name = "${var.project}-db-root-password" | |
} | |
resource "aws_secretsmanager_secret_version" "db_branching_root_password_value" { |
This file contains hidden or 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
import { describe, expect, test } from "vitest"; | |
import { url as urlWithoutRoot } from "@/utils/url"; | |
const url = (path: string) => | |
urlWithoutRoot(path, "src/utils/url/__tests__/pages"); | |
describe("Check if url exist", () => { | |
test("Index at the root", () => { | |
expect(url("/")).toEqual("/"); | |
}); |
This file contains hidden or 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
#include <stdio.h> | |
#include <unistd.h> | |
#include <strings.h> | |
void my_put_char(char c) | |
{ | |
write(1, &c, 1); | |
} | |
void my_put_nbr_base(int nb, const char *base) |
This file contains hidden or 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
#ifndef CPP_OBSERVABLE_H | |
#define CPP_OBSERVABLE_H | |
#include <unordered_map> | |
#include <functional> | |
namespace Design { | |
typedef unsigned long long Subscriber; |
This file contains hidden or 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
concurrent = 1 | |
check_interval = 0 | |
[session_server] | |
session_timeout = 1800 | |
[[runners]] | |
name = "My custom Gitlab runner" | |
url = "https://gitlab.com" | |
token = "<runner_token>" |
This file contains hidden or 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
Put all files into .vscode | |
- Build: Ctrl+Shift+B | |
- Launch: Ctrl+F5 |