Quit VIM!
:q + ENTER
Force Quit VIM!
:q! + ENTER
group: SUPPLIER PARTS - S, SP, P | |
description: This is a very simple database that is used by ChrisDate & HughDarwen throughout their books (e.g., AnIntroductionToDatabaseSystems & TheThirdManifesto) for examples. | |
P = { | |
pn, pname, color | |
1, 'PN1', 'Red' | |
2, 'PN2', 'Blue' | |
3, 'PN3', 'Yellow' | |
4, 'PN4', 'Green' |
DDL is short name of Data Definition Language, which deals with database schemas and descriptions, of how the data should reside in the database.
DCL is short name of Data Control Language which includes commands such as GRANT, and mostly concerned with rights, permissions and other controls of the database system.
DML is short name of Data Manipulation Language which deals with data manipulation, and includes most common SQL statements such INSERT, UPDATE, DELETE etc, and it is used to store, modify, delete and update data in database.
DQL is short name of Data Query Language which used for performing queries on the data within schema objects. The purpose of the DQL Command is to get some schema relation based on the query passed to it. SELECT statement is used to retrieve data from the database.
#!/bin/bash | |
# Define the list of URLs | |
urls=( | |
"https://.mkv" | |
"https://.mkv" | |
) | |
# Define the resumable downloader function | |
download_file() { |
#!/usr/bin/env bash | |
cpucores="2" | |
ram="2G" | |
disk="30G" | |
username="vm" | |
password="111111" | |
vm_name="VM1" | |
ver="22.04" | |
img="ubuntu-${ver}-server-cloudimg-amd64.img" |
#!/bin/bash -i | |
user_at_host="root@<host>" | |
sudo_pass="password!"; | |
sudo_pass_file="/tmp/sshpass" | |
interfaces_arr=($(ip route show default | sed -n 's/.* dev \([^\ ]*\) .*src.*/\1/p')) | |
for i in "${interfaces_arr[@]}"; do | |
# Activate debugging from here |
In Linux, groups are a collection of users. They are used as a means to manage and control access to resources such as files and directories. By assigning appropriate permissions to groups rather than individual users, system administrators can more efficiently manage access rights.
find /path/to/base/dir -type d | xargs chmod 755
find /path/to/base/dir -type f | xargs chmod 644
or changing files with specific extention:
find /path/to/base/dir -iname "*.php" | xargs chmod 644
# ------------------- | |
# SYMFONY CONF | |
# ------------------- | |
server { | |
listen 443 ssl http2; | |
listen 80; | |
server_name domain.com www.domain.com; | |
charset utf-8; | |
root "/var/www/domain/public_html"; | |
gzip off; |
import math | |
def cordic_ln(x): | |
if x <= 0: | |
raise ValueError("Input must be greater than 0") | |
lut = [ | |
2.718281828459045, | |
1.6487212707001282, | |
1.2840254166877414, |