mysql

MySql Cheatsheet

Displaying Data -- Display available databases SHOW DATABASES; -- Display available tables in the current database SHOW TABLES; -- Display fields from a table / Describe table structure SHOW FIELDS FROM table / DESCRIBE table; -- Display the command used to create a specific table SHOW CREATE TABLE table; -- Display a list of active processes (queries) in the database SHOW PROCESSLIST; -- Terminate a running process with a specified number KILL process_number; Select Queries -- Select all columns from a specific table SELECT * FROM table; -- Select all columns from two tables (creates a Cartesian product) SELECT * FROM table1, table2; -- Select specific columns from two tables (creates a Cartesian product) SELECT column1, column2 FROM table1, table2; -- Select data from a table that meets a specified condition SELECT ....

July 22, 2023 · 8 min · 1658 words · Adam
bash

Bash Cheatsheet

What is Bash? Bash is a so-called Linux shell. It is nothing more than a program that allows us to communicate with the system. There are various shells for the Linux system, but Bash is by far the most popular. For countless users, it is a fundamental tool for their work. What can I do with the BASH shell? Everything! It would be easier to list what you cannot do....

July 21, 2023 · 8 min · 1567 words · Adam
iptables rules

Iptables

What is iptables? iptables is a tool used in Linux-based operating systems for configuring firewall rules. It allows filtering and forwarding of network packets based on various criteria such as IP addresses, ports, and protocols. It can be used for both protecting against network attacks and managing network traffic within the system. Useful rules iptables -A INPUT -p tcp --dport 80 -j ACCEPT: This command adds a rule to the filter table that accepts incoming TCP packets on port 80....

July 9, 2023 · 2 min · 237 words · Adam
this is an alt!

.htaccess file

What is the .htaccess file? The .htaccess file is nothing more than a configuration file used by the Apache server to define and modify website behaviors. It can contain rules for redirections, authentication, access blocking, and other instructions related to website management. The .htaccess file is located in the main website directory or in specific subdirectories and is used to make changes to the server configuration without accessing the main configuration file....

June 27, 2023 · 3 min · 562 words · Adam
this is an alt!

System Administration

Little about Cloud Cloud servers are revolutionizing the way the digital world operates today. They are changing how we store data, deliver internet services, and use applications. The advantage of cloud servers lies in their flexibility, scalability, and reliability. Flexibility One of the main advantages of cloud servers is their flexibility. Cloud service providers offer a wide range of services that can be customized to individual needs. It is easy to adjust computing power, memory, and disk space based on current requirements....

June 27, 2023 · 2 min · 350 words · Adam
this is an alt!

Web development

Fast as hell websites Web development plays a pivotal role in shaping the digital landscape we interact with every day. It involves the creation and maintenance of websites and web applications. With a diverse range of programming languages and frameworks, web developers bring ideas to life on the internet. Web developers utilize HTML, CSS, and JavaScript to design and structure web pages, ensuring a seamless user experience. They also integrate backend technologies like PHP, Python, or Ruby to handle server-side functionality and data processing....

June 27, 2023 · 1 min · 157 words · Adam
this is an alt!

Website optimization

Devilishly Fast Websites Website optimization is crucial for achieving online success. Here are a few key aspects to consider when optimizing a website. Loading Speed: Ensure your website loads quickly to provide a positive user experience. Compress files, optimize images, and choose fast hosting to reduce loading time. Responsiveness: Make sure your website is responsive and looks good on different devices. This allows users to easily access your site regardless of the device they use....

June 27, 2023 · 1 min · 186 words · Adam