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
import org.testcontainers.containers.PostgreSQLContainer | |
plugins { | |
java | |
id("org.springframework.boot") version "3.1.2" | |
id("io.spring.dependency-management") version "1.1.2" | |
id("org.flywaydb.flyway") version "9.7.0" | |
id("nu.studer.jooq") version "8.2" | |
} |
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
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <netdb.h> | |
#include <sys/socket.h> | |
int init_connection(char *host, char *port); | |
int main(int argc, char *argv[]) { | |
char *address = argv[1]; |
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
class Result { | |
constructor(functions, state) { | |
this.state = state; | |
for (const func_name of Object.keys(functions)) { | |
let func = functions[func_name]; | |
this[func_name] = function(...args) { | |
this.state = func.apply(this, [this.state].concat(args)); | |
return this; | |
} |
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
#include <cstddef> | |
#include <cstdint> | |
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <vector> | |
#include <array> | |
#include <optional> |
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
#include <iostream> | |
const long FIZZ_NUM = 3; | |
const long BUZZ_NUM = 5; | |
constexpr const char *FIZZ = "FIZZ"; | |
constexpr const char *BUZZ = "BUZZ"; | |
constexpr const char *FIZZ_BUZZ = "FIZZBUZZ"; | |
namespace detail |
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
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace CS_Lab_1 | |
{ | |
class MusicList |