Make the section title more friendly

This commit is contained in:
Randy8080 committed 2021-08-27 15:04:10 +08:00
1 parent 28e0650bd5
commit f2cf36dfc7
37 files changed
+154 -154

No files matched your search

+7 -7
View File
@@ -145,7 +145,7 @@ See: [Functions](#functions-2)
Variables {.cols-3}
Awk Variables {.cols-3}
---------
@@ -261,7 +261,7 @@ awk -v varName="$PWD" '
Operators {.cols-3}
Awk Operators {.cols-3}
---------
### Operators
@@ -340,7 +340,7 @@ awk 'BEGIN {
Functions {.cols-3}
Awk Functions {.cols-3}
----------
### Common functions {.col-span-2}
| Function | Description |
@@ -394,7 +394,7 @@ awk '
Arrays {.cols-3}
Awk Arrays {.cols-3}
---------
@@ -469,7 +469,7 @@ awk 'BEGIN {
Conditions {.cols-3}
Awk Conditions {.cols-3}
----------
### if-else statement
@@ -531,7 +531,7 @@ awk -F: '{
```
Loops {.cols-3}
Awk Loops {.cols-3}
----------
### for...i
@@ -662,7 +662,7 @@ awk 'BEGIN {
Formatted Printing {.cols-3}
Awk Formatted Printing {.cols-3}
---------
### Usage
+8 -8
View File
@@ -135,7 +135,7 @@ See: [Command substitution](http://wiki.bash-hackers.org/syntax/expansion/cmdsub
Parameter expansions {.cols-3}
Bash Parameter expansions {.cols-3}
--------------------
@@ -251,7 +251,7 @@ echo "${ARR[@]^}" # => Hello World
Arrays {.cols-3}
Bash Arrays {.cols-3}
------
### Defining arrays
@@ -334,7 +334,7 @@ extract Fruits 2 # => Orangle
Dictionaries {.cols-3}
Bash Dictionaries {.cols-3}
------------
### Defining
@@ -379,7 +379,7 @@ done
Conditionals {.cols-3}
Bash Conditionals {.cols-3}
------------
### Integer conditions
@@ -508,7 +508,7 @@ fi
Loops {.cols-3}
Bash Loops {.cols-3}
-----
### Basic for loop
@@ -630,7 +630,7 @@ done
Functions {.cols-3}
Bash Functions {.cols-3}
---------
### Defining functions
@@ -683,7 +683,7 @@ fi
Options {.cols-2}
Bash Options {.cols-2}
-------
### Options
@@ -727,7 +727,7 @@ shopt -s globstar
```
History {.cols-2}
Bash History {.cols-2}
-------
### Commands
+2 -2
View File
@@ -117,7 +117,7 @@ d rwx r-x r-x
Examples {.cols-3}
Chmod Examples {.cols-3}
--------
@@ -207,7 +207,7 @@ $ chmod u=rwx,g=rx,o=r foo.sh
Practices {.cols-3}
Chmod Practices {.cols-3}
---------------
### SSH Permissions
+6 -6
View File
@@ -183,7 +183,7 @@ int main()
```
Namespaces allow global identifiers under a name
Arrays {.cols-3}
C++ Arrays {.cols-3}
------
### Declaration
@@ -261,7 +261,7 @@ for (int i = 0; i < 2; ++i) {
// Outputs: 1 2 3 4 5 6 6 5 4 3 2 1
```
Conditionals {.cols-3}
C++ Conditionals {.cols-3}
------------
@@ -408,7 +408,7 @@ switch (num) {
Loops {.cols-3}
C++ Loops {.cols-3}
------------
@@ -530,7 +530,7 @@ for (int i = 0, j = 2; i < 3; i++, j--){
Functions {.cols-3}
C++ Functions {.cols-3}
------------
@@ -573,7 +573,7 @@ int main() {
```
Classes & Objects {.cols-3}
C++ Classes & Objects {.cols-3}
-----------------
@@ -597,7 +597,7 @@ Classes & Objects {.cols-3}
```
Preprocessor {.cols-3}
C++ Preprocessor {.cols-3}
------------
### Preprocessor {.row-span-3}
+1 -1
View File
@@ -14,7 +14,7 @@ intro: |
---
Format {.cols-2}
Crontab Format {.cols-2}
------
### Format
+11 -11
View File
@@ -203,7 +203,7 @@ element {
See: [Dynamic content](#dynamic-content)
Selectors {.cols-3}
CSS Selectors {.cols-3}
-----------
@@ -350,7 +350,7 @@ See also: [Attribute selectors](https://developer.mozilla.org/en-US/docs/Web/CSS
Fonts {.cols-3}
CSS Fonts {.cols-3}
------
@@ -416,7 +416,7 @@ text-transform: lowercase;
Colors {.cols-3}
CSS Colors {.cols-3}
------------
@@ -480,7 +480,7 @@ color: currentcolor; /* keyword */
Backgrounds {.cols-3}
CSS Backgrounds {.cols-3}
----------
### Properties {.row-span-2}
@@ -520,7 +520,7 @@ background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(13,232,230,1) 35%, rg
The Box Model {.cols-3}
CSS The Box Model {.cols-3}
------------
@@ -590,7 +590,7 @@ See also: [Overflow](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow)
Animation {.cols-5}
CSS Animation {.cols-5}
---------
@@ -647,7 +647,7 @@ animation: bounce 300ms linear 2s infinite alternate-reverse forwards normal;
Flexbox {.cols-2}
CSS Flexbox {.cols-2}
-------
@@ -730,7 +730,7 @@ Flexbox {.cols-2}
}
Flexbox Tricks {.cols-3}
CSS Flexbox Tricks {.cols-3}
--------------
### Vertical center
@@ -832,7 +832,7 @@ Vertically-center all items.
Grid Layout {.cols-3}
CSS Grid Layout {.cols-3}
------------
@@ -997,7 +997,7 @@ The grid items are positioned to the right (end) of the row.
Dynamic Content {.cols-3}
CSS Dynamic Content {.cols-3}
------------
### Variable
@@ -1079,7 +1079,7 @@ html {
See also {.cols-1}
Also see {.cols-1}
---------
- [CSS selectors cheatsheet](https://frontend30.com/css-selectors-cheatsheet/) _(frontend30.com)_
+3 -3
View File
@@ -66,7 +66,7 @@ Parameter `<container>` can be container id or name
Containers {.cols-2}
Docker Containers {.cols-2}
----------
@@ -137,7 +137,7 @@ docker update --cpu-shares 512 -m 300M nginx-server
Images {.cols-2}
Docker Images {.cols-2}
------
### Manipulating
@@ -167,7 +167,7 @@ $ curl example.com/remote/Dockerfile | docker build -f - .
Networking {.cols-2}
Docker Networking {.cols-2}
----------
+1 -1
View File
@@ -368,7 +368,7 @@ Type `C-x` `ESC` `ESC` to edit and repeat the last command that used the minibuf
Search{.cols-3}
Emacs Search{.cols-3}
------
+1 -1
View File
@@ -16,7 +16,7 @@ intro: |
---
Syntax {.cols-3}
Emmet Syntax {.cols-3}
---------------
+1 -1
View File
@@ -9,7 +9,7 @@ categories:
intro: Some of the emoji codes are not super easy to remember, so here is a little cheat sheet.
---
Get Started {.cols-3}
Getting Started {.cols-3}
----------
### People
+1 -1
View File
@@ -218,7 +218,7 @@ $ find . -type f -empty -delete
```
Date and Time {.cols-3}
Find Date and Time {.cols-3}
-------------
+2 -2
View File
@@ -13,7 +13,7 @@ categories:
intro: This cheat sheet summarizes commonly used Git command line instructions for quick reference.
---
Getting Started {.cols-3}
Getting started {.cols-3}
---------------
### Create a Repository
@@ -297,7 +297,7 @@ A `.gitignore` file specifies intentionally untracked files that Git should igno
Tricks {.cols-3}
Git Tricks {.cols-3}
------
### Rename branch
+11 -11
View File
@@ -96,7 +96,7 @@ See: [Flow control](#flow-control)
Basic types {.cols-3}
Golang Basic types {.cols-3}
--------
### Strings
@@ -288,7 +288,7 @@ fmt.Println(s) // Outputs: 90
Strings {.cols-3}
Golang Strings {.cols-3}
--------
### Strings function
@@ -383,7 +383,7 @@ See also: [fmt](https://golang.org/pkg/fmt/)
Flow control {.cols-3}
Golang Flow control {.cols-3}
--------
### Conditional
@@ -485,7 +485,7 @@ for {
Structs & Maps {.cols-3}
Golang Structs & Maps {.cols-3}
--------
### Defining {.row-span-2}
@@ -559,7 +559,7 @@ Doing `v.X` is the same as doing `(*v).X`, when `v` is a pointer.
Functions {.cols-3}
Golang Functions {.cols-3}
--------
@@ -691,7 +691,7 @@ fmt.Println(val) // => 101
```
Packages {.cols-3}
Golang Packages {.cols-3}
--------
@@ -752,7 +752,7 @@ See: [Exported names](https://tour.golang.org/basics/3)
Concurrency {.cols-3}
Golang Concurrency {.cols-3}
--------
### Goroutines {.row-span-2}
@@ -865,7 +865,7 @@ See: [Buffered channels](https://tour.golang.org/concurrency/3)
Error control {.cols-3}
Golang Error control {.cols-3}
--------
### Deferring functions
@@ -911,7 +911,7 @@ See: [Defer, panic and recover](https://blog.golang.org/defer-panic-and-recover)
Methods {.cols-2}
Golang Methods {.cols-2}
--------
### Receivers
@@ -954,7 +954,7 @@ v.Scale(0.5)
See: [Pointer receivers](https://tour.golang.org/methods/4)
Interfaces {.cols-2}
Golang Interfaces {.cols-2}
--------
### A basic interface
@@ -1042,7 +1042,7 @@ Miscellaneous {.cols-3}
References {.cols-1}
Also see {.cols-1}
--------
- [Devhints](https://devhints.io/go) _(devhints.io)_
- [A tour of Go](https://tour.golang.org/welcome/1) _(tour.golang.org)_
+1 -1
View File
@@ -56,7 +56,7 @@ Wildcards are accepted in filename.
| `-n` | grep -n "go" demo.txt | Show the line numbers of the matches |
Basic regular expressions {.cols-3}
Grep regular expressions {.cols-3}
---------------
### Refer
+1 -1
View File
@@ -14,7 +14,7 @@ plugins:
- tooltip
---
Status code {.cols-3}
HTTP Status code {.cols-3}
-----------
+1 -1
View File
@@ -15,7 +15,7 @@ intro: |
Windows & Linux Keymap {.cols-3}
IDEA Windows & Linux Keymap {.cols-3}
--------
+5 -5
View File
@@ -153,7 +153,7 @@ int num = in.nextInt();
System.out.println(num);
```
Strings {.cols-3}
Java Strings {.cols-3}
-------
### Basic
@@ -283,7 +283,7 @@ Once created cannot be modified, any modification creates a new String
Arrays {.cols-3}
Java Arrays {.cols-3}
-------
@@ -362,7 +362,7 @@ Arrays.toString(chars);
Conditionals {.cols-3}
Java Conditionals {.cols-3}
-----------
@@ -459,7 +459,7 @@ System.out.println(max);
```
Loops {.cols-3}
Java Loops {.cols-3}
----
### For Loop
@@ -535,7 +535,7 @@ for (int i = 0; i < 5; i++) {
// Outputs: 0123
```
Collections Framework {.cols-3}
Java Collections Framework {.cols-3}
--------------------
### Java Collections {.col-span-2}
+12 -12
View File
@@ -145,7 +145,7 @@ numberOfColumns = 8;
Conditionals {.cols-3}
JavaScript Conditionals {.cols-3}
------------
@@ -245,7 +245,7 @@ switch (food) {
Functions {.cols-3}
JavaScript Functions {.cols-3}
------------
@@ -368,7 +368,7 @@ function add(num1, num2) {
Scope {.cols-3}
JavaScript Scope {.cols-3}
------------
@@ -416,7 +416,7 @@ printColor(); // => blue
Arrays {.cols-3}
JavaScript Arrays {.cols-3}
------------
@@ -483,7 +483,7 @@ names.push('Carl');
Loops {.cols-3}
JavaScript Loops {.cols-3}
------------
@@ -598,7 +598,7 @@ for (let key in mobile) {
Iterators {.cols-2}
JavaScript Iterators {.cols-2}
------------
@@ -683,7 +683,7 @@ const filteredArray = randomNumbers.filter(n => {
Objects {.cols-2}
JavaScript Objects {.cols-2}
------------
@@ -895,7 +895,7 @@ myCat.name = 'Yankee';
Classes {.cols-3}
JavaScript Classes {.cols-3}
------------
@@ -1003,7 +1003,7 @@ const mySong = new Song({
Modules {.cols-2}
JavaScript Modules {.cols-2}
------------
@@ -1061,7 +1061,7 @@ console.log(add(2, 3)); // 5
Promises {.cols-2}
JavaScript Promises {.cols-2}
------------
@@ -1216,7 +1216,7 @@ promise.then(res => {
Async-Await {.cols-2}
JavaScript Async-Await {.cols-2}
------------
@@ -1317,7 +1317,7 @@ msg(); // Message: Hello World! <-- after 2 seconds
Requests {.cols-3}
JavaScript Requests {.cols-3}
------------
### JSON
+7 -7
View File
@@ -68,7 +68,7 @@ $(function(){
Selectors {.cols-3}
jQuery Selectors {.cols-3}
----------
### Examples {.secondary}
@@ -166,7 +166,7 @@ $("selector1, selector2 ...selectorn")
Attributes {.cols-3}
jQuery Attributes {.cols-3}
------------
@@ -243,7 +243,7 @@ $('.choice').toggleClass('highlighted');
Manipulation {.cols-3}
jQuery Manipulation {.cols-3}
------------
### Examples {.secondary .row-span-3}
@@ -301,7 +301,7 @@ $('span').wrap('<p></p>');
{.style-none .cols-3}
Traversing {.cols-3}
jQuery Traversing {.cols-3}
------------
@@ -343,7 +343,7 @@ Traversing {.cols-3}
{.style-none .cols-3}
Events {.cols-3}
jQuery Events {.cols-3}
------------
@@ -475,7 +475,7 @@ $( "p" ).click(function( event ) {
Effects {.cols-3}
jQuery Effects {.cols-3}
------------
### Examples {.secondary .row-span-2}
@@ -535,7 +535,7 @@ $('#menu-button').on('click', () => {
Ajax {.cols-3}
jQuery Ajax {.cols-3}
------------
### Examples {.secondary .row-span-2}
+1 -1
View File
@@ -13,7 +13,7 @@ categories:
intro: This is a quick reference cheat sheet to the Markdown syntax.
---
Quick Reference {.cols-3}
Markdown Quick Reference {.cols-3}
---------------
### Headers (atx style)
+4 -4
View File
@@ -14,7 +14,7 @@ intro: |
[mitmproxy](https://mitmproxy.org/) is a free and open source interactive HTTPS proxy. This is a quick reference cheat sheet to the mitmproxy.
---
Getting stared {.cols-3}
Getting started {.cols-3}
---------------
### Usage {.col-span-2}
@@ -123,7 +123,7 @@ h ◀ ─── + ─── ▶ l ││ page
Filter {.cols-3}
Mitmproxy Filter {.cols-3}
---------------
### Filter
@@ -220,7 +220,7 @@ Replace entire GET string in a request (quotes required to make it work):
Scripts {.cols-2}
Mitmproxy Scripts {.cols-2}
-------
@@ -260,7 +260,7 @@ addons = [
```
Add an HTTP header to each response
See also
Also see
-------
- [mitmproxy addons](https://github.com/mitmproxy/mitmproxy/tree/master/examples/addons) _(github.com)_
- [mitmproxy docs](https://docs.mitmproxy.org/) _(mitmproxy.org)_
+3 -3
View File
@@ -86,7 +86,7 @@ mysql -u user -p db_name < db.sql
Examples {.cols-3}
MySQL Examples {.cols-3}
--------------
@@ -561,7 +561,7 @@ DROP INDEX idx_name;
```
Data Types {.cols-3}
MySQL Data Types {.cols-3}
---------
@@ -608,7 +608,7 @@ Data Types {.cols-3}
Functions & Operators {.cols-3}
MySQL Functions & Operators {.cols-3}
---------
+1 -1
View File
@@ -62,7 +62,7 @@ $ nc 192.168.1.9 8000
Examples {.cols-3}
Netcat Examples {.cols-3}
--------
### Banner grabbing
+7 -7
View File
@@ -36,7 +36,7 @@ Neo4j is a Graph Database consisting of nodes connected together by relationship
| **Properties** | Both nodes and relationships can have properties set against them. Properties are [name-value pairs](https://neo4j.com/docs/cypher-manual/4.3/syntax/values/#cypher-values). |
Syntax {.cols-3}
Neo4j Syntax {.cols-3}
------
### Read query structure
@@ -72,7 +72,7 @@ RETURN [ORDER BY] [SKIP] [LIMIT]
```
Reading Data
Neo4j Reading Data
------------
### MATCH
@@ -245,7 +245,7 @@ Returns the union of all query results, including duplicated rows.
Writing Data
Neo4j Writing Data
-------------
@@ -1192,7 +1192,7 @@ Returns the geodesic distance between two points in meters. It can be used for 3
Functions
Neo4j Functions
---------
### Temporal functions
@@ -1519,7 +1519,7 @@ Standard deviation for a sample of a population. For an entire population use st
Schema Operations
Neo4j Schema Operations
------
### INDEX
@@ -1755,7 +1755,7 @@ Drop the constraint with the name uniqueness if it exists, does nothing if it do
* Use `PROFILE` / `EXPLAIN` to analyze the performance of your queries. See [Query Tuning](https://neo4j.com/docs/cypher-manual/4.3/query-tuning) for more information on these and other topics, such as planner hints.
Multidatabase
Neo4j Multidatabase
-------------
### Database management
@@ -1825,7 +1825,7 @@ DROP DATABASE myDatabase IF EXISTS
Security
Neo4j Security
--------
### User management
+8 -8
View File
@@ -177,7 +177,7 @@ See: [Classes](#classes-2)
Types {.cols-3}
PHP Types {.cols-3}
---------------
@@ -268,7 +268,7 @@ foreach (bar() as $value) {
```
Strings {.cols-3}
PHP Strings {.cols-3}
---------------
@@ -329,7 +329,7 @@ See: [String Functions](https://www.php.net/manual/en/ref.strings.php)
Arrays {.cols-3}
PHP Arrays {.cols-3}
---------------
### Defining {.row-span-2}
@@ -471,7 +471,7 @@ function foo($first, string ...$other){}
Operators {.cols-4}
PHP Operators {.cols-4}
---------------
@@ -554,7 +554,7 @@ $num /= $float; // Divide and assign the quotient to $num
Conditionals {.cols-3}
PHP Conditionals {.cols-3}
---------------
### If elseif else
@@ -634,7 +634,7 @@ echo $result; # => young adult
```
Loops {.cols-3}
PHP Loops {.cols-3}
---------------
@@ -699,7 +699,7 @@ See: [Array iteration](#value-iteration)
Functions {.cols-3}
PHP Functions {.cols-3}
---------------
@@ -824,7 +824,7 @@ echo $fn2(5); # => 6
Classes {.cols-3}
PHP Classes {.cols-3}
---------------
+3 -3
View File
@@ -68,7 +68,7 @@ Run in PostgreSQL console
Working {.cols-3}
PostgreSQL Working {.cols-3}
-------
### Recon
@@ -334,7 +334,7 @@ DROP SCHEMA IF EXISTS <schema_name> CASCADE;
Commands {.cols-3}
PostgreSQL Commands {.cols-3}
-----------
### Tables
@@ -537,6 +537,6 @@ Import CSV file into table
```
See also: [Copy](https://www.postgresql.org/docs/current/sql-copy.html)
See Also
Also see
--------
- [Posgres-cheatsheet](https://gist.github.com/apolloclark/ea5466d5929e63043dcf#posgres-cheatsheet) _(gist.github.com)_
+9 -9
View File
@@ -150,7 +150,7 @@ message += "Part 2."
Data Types {.cols-3}
Python Data Types {.cols-3}
---------------
@@ -264,7 +264,7 @@ z = str(3.0) # z will be '3.0'
Strings {.cols-3}
Python Strings {.cols-3}
------------
### Array-like
@@ -435,7 +435,7 @@ True
```
Lists {.cols-3}
Python Lists {.cols-3}
------------
@@ -610,7 +610,7 @@ IndexError: list index out of range
['re', 're', 're']
```
Flow control {.cols-3}
Python Flow control {.cols-3}
------------
### Basic
@@ -647,7 +647,7 @@ else:
Loops {.cols-3}
Python Loops {.cols-3}
--------
### Basic
@@ -734,7 +734,7 @@ print(result)
Functions {.cols-3}
Python Functions {.cols-3}
--------
### Basic
@@ -804,7 +804,7 @@ add(5, 20) # => 25
Modules {.cols-3}
Python Modules {.cols-3}
--------
@@ -850,7 +850,7 @@ dir(math)
File Handling {.cols-3}
Python File Handling {.cols-3}
----------
@@ -933,7 +933,7 @@ os.rmdir("myfolder")
Classes & Inheritance {.cols-3}
Python Classes & Inheritance {.cols-3}
--------
+11 -11
View File
@@ -61,7 +61,7 @@ Redis supports 5 basic data types
String command{.cols-3}
Redis String command{.cols-3}
------------
@@ -526,7 +526,7 @@ Run algorithms (currently LCS) against strings
Set command {.cols-3}
Redis Set command {.cols-3}
------------
@@ -892,7 +892,7 @@ Add multiple sets and store the resulting set in a key
List command {.cols-3}
Redis List command {.cols-3}
------------
### Misc
@@ -1293,7 +1293,7 @@ Append an element to a list, only if the list exists
Hash command {.cols-3}
Redis Hash command {.cols-3}
------------
@@ -1552,7 +1552,7 @@ Get all the values in a hash
Sorted set command {.cols-3}
Redis Sorted set command {.cols-3}
------------
### BZPOPMIN
@@ -2256,7 +2256,7 @@ Add multiple sorted sets and store the resulting sorted set in a new key
Geo command{.cols-2}
Redis Geo command{.cols-2}
------------
@@ -2419,7 +2419,7 @@ Query a sorted set representing a geospatial index to fetch members inside an ar
Hyperloglog command{.cols-3}
Redis Hyperloglog command{.cols-3}
------------
@@ -2482,7 +2482,7 @@ Merge N different HyperLogLogs into a single one.
Server command{.cols-3}
Redis Server command{.cols-3}
------------
### COMMAND
@@ -2700,7 +2700,7 @@ redis> TIME
Return the current server time
Generic command{.cols-3}
Redis Generic command{.cols-3}
------------
### Misc
@@ -3022,7 +3022,7 @@ Delete a key asynchronously in another thread. Otherwise it is just as DEL, but
Connection command{.cols-3}
Redis Connection command{.cols-3}
------------
### Misc
@@ -3107,7 +3107,7 @@ Ping the server
Stream command{.cols-2}
Redis Stream command{.cols-2}
------------
### Misc
+1 -1
View File
@@ -13,7 +13,7 @@ intro: |
A quick reference for regular expressions (regex), including symbols, ranges, grouping, assertions and some sample patterns to get you started.
---
Get Started {.cols-3}
Getting Started {.cols-3}
--------
### Introduction
+7 -7
View File
@@ -11,7 +11,7 @@ intro: |
This is a quick reference cheat sheet that lists the most useful features of [SASS](https://sass-lang.com).
---
Basics {.cols-3}
Sass Basics {.cols-3}
--------
### Introduction
@@ -124,7 +124,7 @@ text: {
The `.sass` or `.sass` extension is optional.
Mixins {.cols-3}
Sass Mixins {.cols-3}
------
@@ -171,7 +171,7 @@ body {
```
Color functions {.cols-2}
Sass Color functions {.cols-2}
--------
### rgba
@@ -257,7 +257,7 @@ change-color($color, $blue: 250)
Supported: `$red`, `$green`, `$blue`, `$hue`, `$saturation`, `$lightness`, `$alpha`
Other functions {.cols-2}
Sass Other functions {.cols-2}
--------
### Strings
@@ -325,7 +325,7 @@ selector-replace(...)
selector-unify(...)
```
Feature checks {.cols-2}
Sass Feature checks {.cols-2}
--------
### Feature check
@@ -341,7 +341,7 @@ feature-exists(global-variable-shadowing)
* units-level-3
* at-error
Loops {.cols-3}
Sass Loops {.cols-3}
--------
### For loops
@@ -386,7 +386,7 @@ $i: 6;
}
```
Other features {.cols-3}
Sass Other features {.cols-3}
--------
### Conditionals {.row-span-2}
+1 -1
View File
@@ -327,7 +327,7 @@ Insert a blank line around line which matches "regex"
$ sed '/regex/{x;p;x;G;}'
```
See also {.cols-1}
Also see {.cols-1}
----------
- [sed cheatsheet](https://gist.github.com/ssstonebraker/6140154) _(gist.github.com)_
+1 -1
View File
@@ -226,7 +226,7 @@ $ ssh-keygen -R <ip/hostname>
See also
Also see
--------
- [OpenSSH Config File Examples](https://www.cyberciti.biz/faq/create-ssh-config-file-on-linux-unix/) _(cyberciti.biz)_
+1 -1
View File
@@ -159,7 +159,7 @@ $ tmux info
Command Mode {.cols-3}
Tmux Command Mode {.cols-3}
-----------
### Usage {.secondary}
+2 -2
View File
@@ -125,7 +125,7 @@ array3 = [
Strings {.cols-3}
TOML Strings {.cols-3}
-----
@@ -164,7 +164,7 @@ is preserved.
Tables {.cols-3}
TOML Tables {.cols-3}
-----
### Basic
```toml
+4 -4
View File
@@ -211,7 +211,7 @@ G gg H M L k j ▶ print("to")
{.shortcuts}
Operators {.cols-3}
Vim Operators {.cols-3}
---------
### Usage {.secondary}
@@ -279,7 +279,7 @@ Combine [operators](#available-operators) with [motions](#motions) to use them
Text objects {.cols-3}
Vim Text objects {.cols-3}
------------
### Usage {.secondary}
@@ -351,7 +351,7 @@ See `:help text-objects`
Multiple files {.cols-3}
Vim Multiple files {.cols-3}
-------------
@@ -420,7 +420,7 @@ Multiple files {.cols-3}
Search and Replace {.cols-3}
Vim Search and Replace {.cols-3}
------------------
### Search
+1 -1
View File
@@ -13,7 +13,7 @@ intro: |
This quick reference cheat sheet lists the default keyboard shortcuts for WebStorm running on Windows/Linux or Mac
---
Windows & Linux Keymap {.cols-3}
Webstorm Windows & Linux Keymap {.cols-3}
--------
+7 -7
View File
@@ -13,7 +13,7 @@ intro: |
This is an [XPath](https://en.wikipedia.org/wiki/XPath) selectors cheat sheet, which lists commonly used XPath positioning methods and CSS selectors
---
Selectors {.cols-6}
XPath Selectors {.cols-6}
--------
### Getting started {.col-span-2}
@@ -107,7 +107,7 @@ $x('//a[text()="XPath"]')[0].click()
Expressions {.cols-3}
XPath Expressions {.cols-3}
-----------
### Steps and axes {.secondary}
@@ -140,7 +140,7 @@ Expressions {.cols-3}
Predicates {.cols-3}
XPath Predicates {.cols-3}
----------
### Predicates
@@ -213,7 +213,7 @@ Order is significant, these two are different.
This returns `<section>` if it has an `<h1>` descendant with `id='hi'`.
Functions {.cols-2}
XPath Functions {.cols-2}
---------
### Node functions
@@ -265,7 +265,7 @@ number()
boolean()
```
Axes {.cols-2}
XPath Axes {.cols-2}
----
### Using axes
@@ -357,7 +357,7 @@ There are other axes you can use.
Use `|` to join two expressions.
More examples {.cols-2}
XPath More examples {.cols-2}
-------------
### Examples
@@ -401,7 +401,7 @@ Works like jQuery's `$().closest('.box')`.
Finds `<item>` and check its attributes
See also
Also see
--------
* [Devhints](https://devhints.io/xpath) _(devhints.io)_
* [Xpath test bed](http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm) _(whitebeam.org)_