Skip to content

Commit 5ada4ed

Browse files
committed
most recent changes including mostly formatting updates
1 parent f74a681 commit 5ada4ed

File tree

11 files changed

+92
-49
lines changed

11 files changed

+92
-49
lines changed

C_and_Cpp_Programming/intellisense-configuration.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ It generally looks like this in Linux:
4242
"limitSymbolsToIncludedHeaders": true,
4343
"intelliSenseMode": "linux-gcc-x86",
4444
"configurationProvider": "ms-vscode.cmake-tools",
45-
"databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db"
46-
}
45+
"databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db",
46+
"enableConfigurationSquiggles": "",
47+
"mergeConfigurations": "",
48+
},
4749
],
4850
"version": 4
4951
}

Databases/learning-sql.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ SQL commands are syntax that is designed for accessing, modifying, and extractin
2626
SQL is an interactive and interpretive language and it does not demand coding skills like other programming languages.
2727
It is known for its easy usability and the ability to carry out varied functions on vast amounts of structured data.
2828
SQL queries are used to request or retrieve data from a database, and SQL statements are valid instructions that
29-
relational database management systems understand
29+
relational database management systems understand

GitHub/configuring-github.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@ Inside the .github folder/directory create a folder called `workflows`.
1616

1717
GitHub workflows are also primarily written in YAML and have the file extension .yml or .yaml, the same as an action would be.
1818

19-
Also in this folder you
19+
## Configuring Issue Templates
20+
21+
## Configuring PR Templates
22+
23+
## Other Special GitHub stuff
24+

PHP/php-development.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ PHP gets lots of hate. It's old, been around a while. It's gotten way better o
44

55
I don't know a great deal about PHP development nor have I used a lot of PHP in my projects.
66

7+
<?php
8+
9+
?>

React_Development/react-development-notes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ There's some things I have learned via getting contributions to my React applica
1212

1313
React is typically used in conjunction or with other things called a stack or a tech stack.
1414

15-
A typical tech stack, whether full stack or not, consists of various components that work together to build an application. For a web application, a tech stack usually includes both frontend and backend technologies. Some common components of a tech stack are:
15+
A typical tech stack, whether `full stack` or not, consists of various components that work together to build an application. For a web application, a tech stack usually includes both frontend and backend technologies. Some common components of a tech stack are:
1616

1717
Frontend:
1818

VSCode/create-a-settings.json file.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Creating a settings.json file for VSCode
2+
3+
Ideally one should create

WebDevelopment/beginning-webdev.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ command line/shell/terminal/console to use your editor or use the GUI or user in
2121
feel strongly about the editor or IDE they use. You should use the one that gets the job done for you.
2222

2323
This should go without saying, but you should try a few out before you settle on one and do not rely on what
24-
someone told you their editor or IDE is. You might or might not like the first editor or IDE you choose.
24+
someone told you their editor or IDE is. You might or might not like the first editor or IDE you choose
2525

2626
## Projects and what to make
2727

WebDevelopment/css.md

+29-41
Original file line numberDiff line numberDiff line change
@@ -112,30 +112,26 @@ There are various types of selectors in CSS that are used to target HTML element
112112

113113
And in your HTML document:
114114

115-
```html
116-
<p class="highlight">This is a highlighted paragraph.</p>
117-
<div class="highlight">This is a highlighted div.</div>
118-
```
115+
```html
116+
<p class="highlight">This is a highlighted paragraph.</p>
117+
<div class="highlight">This is a highlighted div.</div>
118+
```
119119

120120
This will apply the specified styles to all elements with the "highlight" class. Class selectors allow you to apply unique style properties to groups of HTML elements to achieve your desired web page appearance
121121

122122
- ID selectors: Select a single element based on its ID attribute (e.g., #header for an element with id "header").
123123

124124
A CSS ID selector is used to select a specific HTML element based on the value of its id attribute, which must be unique within a page. To use an ID selector in CSS, you write a hash (#) followed by the ID of the element, and then define the style properties you want to apply to the element in curly brackets. Here's an example of how to use an ID selector:
125125

126-
```css
127-
#idname {
128-
/* Define properties here */
129-
}
130-
```
126+
#idname {
127+
Define properties here
128+
}
131129

132130
The IDs are used to identify a single element, and they have a higher specificity than classes, making them useful for applying specific styles to individual elements. In contrast, a class selector is used to select elements with a specific class attribute, and it can be applied to multiple elements. Here's an example of a class selector:
133131

134-
```css
135-
.class-name {
136-
/* Define properties here */
137-
}
138-
```
132+
.class-name {
133+
/* Define properties here */
134+
}
139135

140136
In general, it's a best practice to use IDs for unique elements and classes for multiple elements, and to avoid using IDs for styling purposes in order to keep the styling separate from the content
141137

@@ -155,27 +151,23 @@ Attribute selectors provide a powerful way to target and style elements based on
155151

156152
CSS rules should not be empty and your editor or IDE might even warn you about that:
157153

158-
```css
159-
body {
160-
/* Not a great idea to leave this part empty */
161-
};
162-
```
154+
body {
155+
/* Not a great idea to leave this part empty */
156+
};
163157

164158
## CSS Variables
165159

166160
CSS variables, also known as custom properties, are entities defined by CSS authors that represent specific values to be reused throughout a document. They are set using the @property at-rule or by custom property syntax (e.g., --primary-color: blue;). Custom properties are accessed using the CSS var() function (e.g., color: var(--primary-color);). They allow a value to be defined in one place and then referenced in multiple other places, making it easier to work with and improving readability and semantics. CSS variables can have global or local scope, and they can be changed with JavaScript and based on media queries. They are useful for managing websites with numerous similar values, reducing the friction associated with refactoring or updating code
167161

168162
To declare a CSS variable, you use the following syntax:
169163

170-
```css
171-
:root {
172-
--primary-color: blue;
173-
}
164+
:root {
165+
--primary-color: blue;
166+
}
174167

175-
.element {
176-
color: var(--primary-color);
177-
}
178-
```
168+
.element {
169+
color: var(--primary-color);
170+
}
179171

180172
In this example, --primary-color is the variable name, and blue is the value. The variable is then accessed using the var() function, as shown in the color property of the .element selector
181173

@@ -185,13 +177,11 @@ CSS variables provide a more efficient way to write and manage CSS code, making
185177

186178
The universal selector in CSS is denoted by an asterisk (*) and is used to select all elements on an HTML page. It matches elements of any type and can be used to apply styles globally. Here's a brief overview of how to use the universal selector:
187179

188-
```css
189-
* {
190-
margin: 0;
191-
padding: 0;
192-
/*Add more global styles here*/
193-
}
194-
```
180+
* {
181+
margin: 0;
182+
padding: 0;
183+
/*Add more global styles here*/
184+
}
195185

196186
The universal selector selects all elements and can also be used to select all elements inside another element. It is a powerful tool for applying styles globally, but it's important to use it judiciously as it can affect the performance of the page if overused.
197187

@@ -217,13 +207,11 @@ These @ rules provide additional functionality and flexibility to CSS, allowing
217207

218208
To use the :root pseudo-class in CSS, you can define global CSS variables and apply styles to the root element of the document. Here's a brief overview of how to use it:
219209

220-
```css
221-
:root {
222-
--main-color: hotpink;
223-
--pane-padding: 5px 42px;
224-
/* Add more global variables and styles here */
225-
}
226-
```
210+
:root {
211+
--main-color: hotpink;
212+
--pane-padding: 5px 42px;
213+
/* Add more global variables and styles here */
214+
}
227215

228216
The :root pseudo-class matches the root element of a document, which is typically the `<html>` element in HTML. It is similar to the html selector but has higher specificity, making it useful for declaring global CSS variables that can be accessed throughout the document
229217

about-yaml.md

+38-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,46 @@ YAML is a human-readable data serialization language that is commonly used for c
1313
- It is used mainly in the DevOps domain, where it is widely used with well-known tools such as Kubernetes, Ansible, Terraform, and many others
1414
- YAML is also used by the Ansible automation tool to create automation processes, in the form of Ansible Playbooks
1515
- YAML is a powerful language that can be used for a variety of purposes. If you're interested in learning more about YAML and its applications, there are many resources available online, including tutorials, documentation, and blog post
16-
17-
- YAML has features that come from Perl, C, XML, HTML, and other programming languages4
16+
- YAML has features that come from Perl, C, XML, HTML, and other programming languages
1817
- YAML also contains scalars, which are arbitrary data (encoded in Unicode) that can be used as values such as strings, integers, dates, numbers
1918
- YAML files are structured using indentation and whitespace, and are often used for configuration files and in applications where data is being stored or transmitted
2019
- YAML files are made up of key/value pairs, which are commonly called a “hash” or a “dictionary”
2120
- Sequences in YAML are represented by using the hyphen (-) and space, and are ordered and can be embedded inside a map using indentation4
2221
- YAML also supports comments, which begin with the (#) character and must be separated from other tokens by whitespaces
22+
23+
Here are the basic syntax rules and elements for YAML
24+
25+
So, YAML is a human-readable data serialization language that is often used for configuration files, and it supports various data types, such as strings, numbers, and boolean values. The basic syntax of YAML involves key-value pairs in the format key: value and using spaces to indicate nesting.
26+
27+
- Key-value pairs: YAML uses key-value pairs to store data in a hierarchical structure. The key is the first line of a newline, and the value follows it, also on a newline.
28+
29+
- Spaces and indentation: Spaces are used to indicate nesting in YAML. Indentation is not used for indentation in YAML files.
30+
Comments: Comments in YAML begin with the # character and must be separated from other tokens by whitespaces.
31+
32+
- Lists and arrays: List members are denoted by a leading hyphen - and enclosed in square brackets. Associative arrays are represented using : in the format of key-value pairs and enclosed in curly braces {}.
33+
34+
- Scalar types: YAML supports various scalar types, such as strings, numbers, and boolean values. Scalar values can span multiple lines, and YAML processes the first value as ending with a carriage return and linefeed.
35+
36+
- Folding: Folded text converts newlines to spaces and removes leading whitespace.
37+
38+
- Tags: Tags can be used to explicitly specify a type for a value. For example, !!str indicates a string value, !!int indicates an integer value, and !!bool indicates a boolean value.
39+
40+
- Anchors and aliases: YAML allows the use of anchors and aliases to reuse values in the document. Anchors can be used to define a value once and then reference it elsewhere in the document using its anchor name.
41+
42+
YAML is a human-readable data serialization language that is often used for writing configuration files, and it is recommended over JSON in many cases due to its better readability and user-friendliness. Some good use cases for YAML include:
43+
44+
- Configuration files: YAML is commonly used to create configuration files for applications and services, as it is easier to read and understand than JSON.
45+
46+
- Cross-language data sharing: YAML is language-independent, meaning it can be used across various programming languages, making it suitable for data sharing between different languages.
47+
48+
- Log files: YAML can be used to store log files, as it can easily represent complex data structures and is human-readable.
49+
50+
- Debugging complex data structures: YAML is useful for debugging and managing complex data structures, as it provides a clear and concise way to represent and understand the data.
51+
52+
- Interprocess messaging: YAML can be used for interprocess messaging, as it can represent complex data structures and is easy to read.
53+
54+
- Object persistence: YAML can be used for object persistence, as it can store and manage data in a flexible and human-readable format.
55+
56+
- Automation processes: YAML is used by Ansible® to create automation processes, in the form of Ansible Playbooks, which are easy to read and understand.
57+
58+
YAML is often preferred over other data serialization languages like JSON or XML due to its focus on data rather than documents, and its flexibility and accessibility.

dotnet/about_csharp.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# About C# programming
2+

regex.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Regex 101
2+
3+
I don't know a lot about regex.
4+

0 commit comments

Comments
 (0)