apt / dpkg cheatsheet
apt / apt-get The apt and apt-get is a package management system for Debian. It supports you to install packages…
apt / apt-get The apt and apt-get is a package management system for Debian. It supports you to install packages…
apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: ${APPLICATION_NAME} namespace: ${K8S_NAMESPACE} spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: backend-app minReplicas: 2 maxReplicas:…
git submodule add ${repository} ${path}/${name_of_submodule} git submodule deinit -f ${added_submodule} git rm -rf ${added_submodule} rm -rf .git/modules/${added_submodule}
Multiple files Single File
After version Python3.7, you can set Break Point on your script. There is the breakpoint as primitive python function on…
Create a new user Do NOT use “useradd” Adding a user to the sudo group
sudo gitlab-runner verify –delete
import io import json @route.post("/processing") async def processing(file: UploadFIle = File(...)): fbyte = io.BytesIO(await file.read()) mydict = json.load(fbyte)
import config import asyncio import aiohttp import uuid import logging logging.basicConfig(level=logging.INFO) logger = logging.getLogger() async def request(session, **kwargs): logger.info(f"proc_id :…
$ sudo npm install -g firebase-tools $ firebase login $ firebase projects:list $ firebase firestore:delete --all-collections --project ${PROJCET_ID}