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 java.net.URI; | |
| import java.util.Map; | |
| import javax.net.ssl.HostnameVerifier; | |
| import javax.net.ssl.SSLContext; | |
| import javax.ws.rs.client.Client; | |
| import javax.ws.rs.client.Invocation; | |
| import javax.ws.rs.client.WebTarget; | |
| import javax.ws.rs.core.Configuration; |
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 java.io.ByteArrayInputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import com.amazonaws.auth.AWSStaticCredentialsProvider; | |
| import com.amazonaws.auth.BasicAWSCredentials; | |
| import com.amazonaws.client.builder.AwsClientBuilder; | |
| import com.amazonaws.services.s3.AmazonS3; | |
| import com.amazonaws.services.s3.AmazonS3ClientBuilder; | |
| import com.amazonaws.services.s3.model.CannedAccessControlList; |
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 java.awt.*; | |
| import java.awt.image.BufferedImage; | |
| public class ImageScaler { | |
| public BufferedImage resizeImage(BufferedImage originalImage, Dimension maxDimension) { | |
| Dimension imageDimensions = new Dimension(originalImage.getWidth(), originalImage.getHeight()); | |
| Dimension scaledDimensions = getScaledDimension(imageDimensions, maxDimension); | |
| BufferedImage resizedImage = new BufferedImage(scaledDimensions.width, scaledDimensions.height, |
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
| buildscript { | |
| ext { | |
| kotlin_version = '1.2.71' | |
| junit_version = '5.3.1' | |
| } | |
| dependencies { | |
| classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
| } | |
| } |
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" standalone="yes"?><!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" | |
| "report.dtd"> | |
| <report name="pubg-api-wrapper"> | |
| <sessioninfo id="Kevins-MacBook-Pro.local-aeb34bc9" start="1534702636504" dump="1534702652857"/> | |
| <sessioninfo id="Kevins-MacBook-Pro.local-88d710fc" start="1534704720654" dump="1534704745021"/> | |
| <package name="de/kevcodez/pubg/model/status"> | |
| <class name="de/kevcodez/pubg/model/status/Status"> | |
| <method name="getReleasedAt" desc="()Ljava/time/Instant;" line="12"> | |
| <counter type="INSTRUCTION" missed="7" covered="0"/> | |
| <counter type="BRANCH" missed="2" covered="0"/> |
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 { | |
| Issuer, | |
| generators, | |
| Client, | |
| TokenSet, | |
| CallbackParamsType, | |
| } from "openid-client"; | |
| const http = require('http'); | |
| const issuer = await Issuer.discover('https://cognito-idp.eu-central-1.amazonaws.com/eu-central-1_VqitD3cvk/.well-known/openid-configuration') |
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
| name: docs | |
| # define the trigger | |
| on: [push, pull_request] | |
| jobs: | |
| docs: | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| # We used "docs" as directory name for our documentation, we will be referencing this later |
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 default theme({ | |
| // ... | |
| router: { | |
| base: '/<repo-name>/' | |
| } | |
| }) |
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
| { | |
| ... | |
| "logo": { | |
| "light": "/<repo-name>/logo-light.svg", | |
| "dark": "/<repo-name>/logo-dark.svg" | |
| }, | |
| ... | |
| } |
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 { join } from "path"; | |
| export default function () { | |
| const { nuxt } = this | |
| // Make sure components is enabled | |
| if (!nuxt.options.components) { | |
| throw new Error('please set `components: true` inside `nuxt.config` and ensure using `nuxt >= 2.13.0`') | |
| } |
OlderNewer