When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| # | |
| # You will want to pick a real password here! | |
| # | |
| CREATE USER 'jirauser'@'localhost' IDENTIFIED BY 'some_pass'; | |
| CREATE DATABASE jira CHARACTER SET utf8 COLLATE utf8_bin; | |
| GRANT ALL PRIVILEGES ON jira.* to 'jirauser'@'localhost'; | |
| FLUSH PRIVILEGES; | |
| # In case you forgot to change the password above... | |
| # SET PASSWORD for 'jirauser'@'localhost' = PASSWORD('someother_pass'); |
| package se.marteinn.ui; | |
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.widget.ScrollView; | |
| /** | |
| * Triggers a event when scrolling reaches bottom. |
| import android.content.Context; | |
| import android.preference.SwitchPreference; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.Switch; | |
| /** | |
| * Custom preference for handling a switch with a clickable preference area as well |
| #!/bin/bash | |
| # tested with OpenSSL 1.0.1e-fips on Centos 6 | |
| # Note hardcoded Keycloak URL and credentials. | |
| # Keycloak public key is in ATS-ci.key.pem with -----BEGIN PUBLIC KEY----- (etc) | |
| assert() { if [[ $1 != $2 ]]; then echo "assert" $3; exit; fi } | |
| url=http://192.168.10.221:8088/auth/realms/ATS-ci/protocol/openid-connect/token | |
| resp=$(curl -X POST $url \ |
| language: java | |
| dist: trusty | |
| jdk: oraclejdk8 | |
| before_cache: | |
| # Do not cache a few Gradle files/directories (see https://docs.travis-ci.com/user/languages/java/#Caching) | |
| - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | |
| - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | |
| cache: |
| terraform { | |
| required_providers { | |
| aws = { | |
| source = "hashicorp/aws" | |
| version = "~> 4.0" | |
| } | |
| } | |
| } | |
| provider "aws" { |
| import os | |
| import logging | |
| LOGLEVEL = os.environ.get('LOGLEVEL', 'INFO').upper() | |
| logging.basicConfig(level=LOGLEVEL, format="%(asctime)s %(message)s") |
| FROM debian:stable-slim | |
| RUN apt-get update && \ | |
| apt-get install -y ca-certificates curl && \ | |
| rm -rf /var/lib/apt/lists/* | |
| ENV SAML2AWS_VERSION=2.16.0 | |
| ENV SAML2AWS_DOWNLOAD_URL=https://github.com/Versent/saml2aws/releases/download/v${SAML2AWS_VERSION}/saml2aws_${SAML2AWS_VERSION}_linux_amd64.tar.gz | |
| RUN curl -L "$SAML2AWS_DOWNLOAD_URL" -o saml2aws.tar.gz && \ |
| // Android 4.1+ | |
| dependencies { | |
| implementation 'com.squareup.okhttp3:okhttp:3.12.13' | |
| implementation 'org.conscrypt:conscrypt-android:2.5.2' | |
| } | |
| // Android 5.0+ | |
| dependencies { | |
| implementation 'com.squareup.okhttp3:okhttp:4.10.0' | |
| implementation 'org.conscrypt:conscrypt-android:2.5.2' |