Activity
What is ActivityCopy ActivityIn Azure Data Factory and Synapse pipelines, you can use the Copy activity to copy data among stores located on-premises and in the cloud. After you copy the data, you can use otheer activities to further transform and analyze it. Append Variable ActivityUse the Append Variable activity to add a value to an existing array variable. Delete ActivityDelete files or folders from on-premises storage stores or cloud storage store. This activity is used to clean up or ac...
Docker Compose Install Postgres
Installing Postgres using Docker Compose1234567891011121314151617version: "3.9"services: postgres: image: postgres:13.22-trixie container_name: postgres_13 restart: always environment: POSTGRES_USER: root POSTGRES_PASSWORD: root POSTGRES_DB: mydb ports: - "5432:5432" volumes: - ./data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U root"]
Docker Compose Install Mysql
Installing Mysql using Docker Compose12345678910111213141516version: '3'services: mysql: image: mysql:8.0.18 container_name: mysql8 environment: - MYSQL_ROOT_PASSWORD=root# - TZ=Asia/Shanghai volumes: - ./log:/var/log/mysql - ./data:/var/lib/mysql - ./conf/conf.d:/etc/mysql/conf.d # - /etc/localtime:/etc/localtime:ro ports: - 3306:3306 restart: always
Docker Compose Install MongoDB
Installing MongoDB using Docker Compose1234567891011121314151617181920212223242526version: "3.8"services: mongodb: image: mongo container_name: mongodb ports: - 27017:27017 volumes: - ./database:/data/db environment: - MONGO_INITDB_ROOT_USERNAME=admin - MONGO_INITDB_ROOT_PASSWORD=adminpwd # mongo-express: # image: mongo-express # container_name: mongo-express # restart: always # ports: # - 8081:8081 # environment: # - ME_...
docker install supabase
InstructionIt is recommended to use Linux, as issues may occur when connecting to the pool on Windows systems. docker install supabase12345678910111213141516171819202122232425# Get the codegit clone --depth 1 https://github.com/supabase/supabase# Make your new supabase project directorymkdir supabase-project# Tree should look like this# .# ├── supabase# └── supabase-project# Copy the compose files over to your projectcp -rf supabase/docker/* supabase-project# Copy the fake env varscp supabase...
docker install DVWA
Installing DVWA using DockerInstall the Damn Vulnerable Web Application (via a Docker container) quite easily, as it will take care of all the dependencies required (e.g. mySQL). Open a terminal within your Ubuntu instance. Install DVWA with the following command: sudo docker run —restart always -p 80:80 vulnerables/web-dvwa DVWA should now be installed and running. To access it, open up Firefox and browse to your localhost address. In other words, in the URL toolbar (where you type in URLs)...
Linux Foundation
File and DirectoryIn Linux, everything is treated as a file, including directories, devices, and even processes. A file is a collection of data that is stored on a disk or other storage device. A directory is a special type of file that contains information about other files and directories. Directory StructureThe Linux directory structure is hierarchical, with the root directory (/) at the top. Below the root directory, there are several standard directories, including: /bin: Contains essen...
Leetcode - 51. N-Queens
DescriptionThe n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other. Given an integer n, return all distinct solutions to the n-queens puzzle. You may return the answer in any order. Each solution contains a distinct board configuration of the n-queens’ placement, where ‘Q’ and ‘.’ both indicate a queen and an empty space, respectively. 12345Example 1: is an open-source technology that allows for applications to be packaged into ‘containers’ which include any required libraries and other dependencies. This makes it very easy to deploy applications (especially for large enterprises who need to setup their workstations), and you can run more applications on the same amount of hardware (as containers use less resources than virtual machines hosting the applications), among other benef...









