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
| package com.example.demo; | |
| import org.springframework.web.bind.annotation.RequestBody; | |
| import org.springframework.web.bind.annotation.RequestMapping; | |
| import java.lang.annotation.Annotation; | |
| import java.lang.reflect.Field; | |
| import java.lang.reflect.Method; | |
| import java.lang.reflect.ParameterizedType; | |
| import java.lang.reflect.Type; |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <databaseChangeLog | |
| xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | |
| http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.10.xsd"> | |
| <includeAll path="migrations" /> | |
| </databaseChangeLog> |
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
| var RawFunctionMap = map[string]func(inputbytes []byte) (outputbytes []byte){} | |
| func ProgramFnRegister[Input any, Output any](fn func(input Input) Output) { | |
| // e.g. "tt/pkg/student.FnCreateStudent" | |
| funcName := runtime.FuncForPC(reflect.ValueOf(fn).Pointer()).Name() | |
| rawFn := func(inputbytes []byte) []byte { | |
| var input Input | |
| if len(inputbytes) != 0 { | |
| check(json.Unmarshal(inputbytes, &input)) |
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
| export const Outer = styled.div` | |
| height: 100%; | |
| width: 100%; | |
| max-height: 100%; | |
| max-width: 100%; | |
| overflow: hidden; | |
| position: relative; | |
| `; | |
| export const Inner = styled.div` | |
| height: 100%; |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <configuration> | |
| <property name="LOGS" value="./logs" /> | |
| <appender name="Console" class="ch.qos.logback.core.ConsoleAppender"> | |
| <layout class="ch.qos.logback.classic.PatternLayout"> | |
| <Pattern> | |
| %boldMagenta(%date{yyyy-MM-dd HH:mm:ss a, America/Chicago} CST) %cyan(%-4level) %boldBlue(%logger{0}): %msg%n%throwable | |
| </Pattern> |
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
| sudo sysctl net.ipv4.ip_unprivileged_port_start=79 |
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
| version: '3.1' | |
| services: | |
| postgres-db: | |
| image: postgres | |
| restart: always | |
| environment: | |
| POSTGRES_PASSWORD: pass | |
| ports: | |
| - '5432:5432' |
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
| function uuidv4() { | |
| return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { | |
| var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); | |
| return v.toString(16); | |
| }); | |
| } | |
| type UUID = string; | |
| interface Meta { |
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
| html { margin-left: calc(100vw - 100%); } |