CSS Properties: A Comprehensive Reference

Property/ValuesDescription and notes

background

any combination of the values for background-attachment, background-color,background-imagebackground-repeat, and/or background-position, or inherit

for changing the background color and image of elements

initial value depends on individual properties; not inherited; percentages allowed for background-position

background-attachment

either scrollfixed, or inherit

for determining if and how background images should scroll

initial value: scroll; not

Read More

Essential C Standard Library Functions

C-Strings

size_t strlen(const char *str);
int strcmp(const char *s, const char *t);
int strncmp(const char *s, const char *t, size_t n);
char *strchr(const char *s, int ch);
char *strstr(const char *haystack, const char *needle);
char *strcpy(char *dst, const char *src);
char *strncpy(char *dst, const char *src, size_t n);
char *strcat(char *dst, const char *src);
char *strncat(char *dst, const char *src, size_t n);
size_t strspn(const char *s, const char *accept);
size_t strcspn(const char *s,
Read More

Bootstrap Exam: Quick Reference Cheat Sheet

Here’s a concise cheat sheet summarizing all the topics we’ve discussed, specifically tailored for your Bootstrap exam. You can write this on paper to use as a quick reference. Each topic is broken down to its essentials:


Bootstrap Exam Cheat Sheet

1. Basic HTML Structure

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Title</title>
    <link rel="stylesheet"
Read More

Software Development Concepts: Top-Down, Cohesion, and More

Software Development Concepts

Top-Down ApproachBottom-Up Approach
1. Focuses on breaking problems into smaller parts.1. Solves smaller problems and integrates them into a complete solution.
2. Mainly used by structured programming languages like COBOL, Fortran, C.2. Mainly used by object-oriented programming languages like C++, C#, Python.
3. Each part is programmed separately, potentially containing redundancy.3. Redundancy is minimized by using data encapsulation and data hiding.
4. Communication among
Read More

C++ Data Structures: Implementation and Testing

Binary Tree Example

#include "example_trees.h"

#include <iostream>

using namespace std;

using namespace main_savitch_11;

int main() {

sips = example();

cout << s << endl;

// searching example

int target = 10;

cout << "search for " << target << " : " << s->Count(target) << endl;

int targets[] = {23, 45, 6, 17, 12, 10, 16, 19, 22, 18, 20, 25};

int targets_size = 12;

for (int i = 0; i < targets_size; ++i) {

cout << "search for " <

Read More

C File System Exploration: Data Structures and Directory Listing

C File System Exploration

This document details the implementation of a file system exploration tool in C. It includes data structures, permission handling, and directory listing functionalities.

Data Structures

The following constants and structures are defined:

  • MAX_PATH: Maximum path length (150).
  • MAX_NOMBRE: Maximum file name length (32).
  • MAX_FICHEROS: Maximum number of files (500).

The datosF structure stores file information:


struct datosF {
  char name[MAX_NOMBRE];
  long size;
  long inode;
  char 
Read More