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:1-alpine as builder | |
# ENV NGINX_VERSION 1.16.0 # defined in the base image | |
ENV NGX_BROTLI_VERSION 0.1.2 | |
ENV BROTLI_VERSION 1.0.7 | |
RUN set -x \ | |
&& mkdir -p /usr/src \ | |
# dowload and extract source files | |
&& wget -qO- https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz | tar xzf - -C /usr/src \ |
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 {Directive, ElementRef, Renderer2, forwardRef, Input} from '@angular/core'; | |
import {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms'; | |
export const CHECKBOX_VALUE_OVERRIDE_ACCESSOR: any = { | |
provide: NG_VALUE_ACCESSOR, | |
useExisting: forwardRef(() => AdvancedCheckboxControlValueAccessor), | |
multi: true, | |
}; | |
/** |
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
# Normalize line endings by default | |
* text=auto | |
# Don't normalize executable scripts | |
*.bat text eol=crlf | |
*.sh text eol=lf | |
# Don't try to automatically merge lock files | |
yarn.lock -diff | |
package-lock.json -diff |
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
""" | |
Module implementing an enhanced string column type for SQLAlchemy | |
with a support for regular expression operators in Postgres and SQLite. | |
""" | |
import re | |
from sqlalchemy import String as _String, Text as _Text, Unicode as _Unicode, UnicodeText as _UnicodeText, event, exc | |
from sqlalchemy.engine import Engine | |
from sqlalchemy.ext.compiler import compiles | |
from sqlalchemy.sql.expression import BinaryExpression, func, literal |