Skip to content

Instantly share code, notes, and snippets.

private static void PUSHI(String dataHex) {
String builder = "";
for (int i = 0; i < dataHex.length(); i++) {
switch (dataHex.substring(i, i + 1)) {
case "0":
builder += "0000";
break;
case "1":
builder += "0001";
break;
@icarus44-zer0
icarus44-zer0 / .dockerfile
Created June 6, 2022 18:04
python:3.8.5-slim-buster- multi-stage - non-root - virtualenv
FROM python:3.8.5-slim-buster as base
LABEL maintainer="Your Name <[email protected]>" \
version="1.0.0"
RUN apt-get update && apt-get install tzdata -y --no-install-recommends
ENV TZ="America/Los_Angeles"
ENV PIP_NO_CACHE_DIR=1
ENV PIP_DISABLE_PIP_VERSION_CHECK=1