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
| FROM nginx:alpine | |
| # https://thepracticalsysadmin.com/templated-nginx-configuration-with-bash-and-docker/ | |
| ENV LISTEN_PORT=80 \ | |
| NGINX_ENV=production \ | |
| SERVER_NAME=_ \ | |
| RESOLVER=8.8.8.8 \ | |
| UPSTREAM_API=api:3000 \ | |
| UPSTREAM_API_PROTO=http \ | |
| WORKDIR=/www \ |
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
| class Event { | |
| name = null; | |
| callbacks = []; | |
| constructor(name) { | |
| this.name = name; | |
| } | |
| registerCallback = (callback) => { | |
| this.callbacks.push(callback); |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, minimum-scale=1"> | |
| <title>Accountkit</title> | |
| </head> | |
| <body> |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, minimum-scale=1"> | |
| <title>Accountkit</title> | |
| </head> | |
| <body> |
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
| body { background: #222; color: #e6e6e6; } | |
| a { color: #949494; } | |
| a:link, a:visited { | |
| /* color: #949494; */ | |
| color: #607D8B; | |
| } | |
| a:hover, a:active, a:focus { color: #c7c7c7; } |
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.kinesisdemo.kinesisdemo.service.kinesis.consumer; | |
| import com.kinesisdemo.kinesisdemo.service.kinesis.config.KinesisClient; | |
| import com.kinesisdemo.kinesisdemo.service.kinesis.config.KinesisConfig; | |
| import com.kinesisdemo.kinesisdemo.service.mysql.UserRepository; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.boot.CommandLineRunner; | |
| import org.springframework.stereotype.Component; | |
| import javax.annotation.PreDestroy; |
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.demorabbit.demo; | |
| import org.springframework.amqp.core.*; | |
| import org.springframework.amqp.rabbit.annotation.RabbitListenerConfigurer; | |
| import org.springframework.amqp.rabbit.connection.ConnectionFactory; | |
| import org.springframework.amqp.rabbit.core.RabbitTemplate; | |
| import org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistrar; | |
| import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter; | |
| import org.springframework.beans.factory.annotation.Qualifier; | |
| import org.springframework.context.annotation.Bean; |
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
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |