diff --git a/source/_posts/aspect-ratio.md b/source/_posts/aspect-ratio.md index 19eb919..10c3e02 100644 --- a/source/_posts/aspect-ratio.md +++ b/source/_posts/aspect-ratio.md @@ -57,7 +57,7 @@ Getting started {.cols-2} -Lists of Aspect Ratios {.cols-3} +Lists of Aspect Ratios ------------------- diff --git a/source/_posts/awk.md b/source/_posts/awk.md index 520bf49..dfe6ca2 100644 --- a/source/_posts/awk.md +++ b/source/_posts/awk.md @@ -13,7 +13,7 @@ intro: | This is a one page quick reference cheat sheet to the [GNU awk](https://www.gnu.org/software/gawk/manual/gawk.html), which covers commonly used awk expressions and commands. --- -Getting started {.cols-3} +Getting started --------------- ### Have a try @@ -146,7 +146,7 @@ See: [Functions](#awk-functions) -Awk Variables {.cols-3} +Awk Variables --------- @@ -262,7 +262,7 @@ awk -v varName="$PWD" ' -Awk Operators {.cols-3} +Awk Operators --------- ### Operators @@ -341,7 +341,7 @@ awk 'BEGIN { -Awk Functions {.cols-3} +Awk Functions ---------- ### Common functions {.col-span-2} | Function | Description | @@ -395,7 +395,7 @@ awk ' -Awk Arrays {.cols-3} +Awk Arrays --------- @@ -470,7 +470,7 @@ awk 'BEGIN { -Awk Conditions {.cols-3} +Awk Conditions ---------- ### if-else statement @@ -532,7 +532,7 @@ awk -F: '{ ``` -Awk Loops {.cols-3} +Awk Loops ---------- ### for...i @@ -663,7 +663,7 @@ awk 'BEGIN { -Awk Formatted Printing {.cols-3} +Awk Formatted Printing --------- ### Usage @@ -727,7 +727,7 @@ daemon /sbin -Miscellaneous {.cols-3} +Miscellaneous ------------- ### Regex Metacharacters diff --git a/source/_posts/bash.md b/source/_posts/bash.md index 77c4fed..509c683 100644 --- a/source/_posts/bash.md +++ b/source/_posts/bash.md @@ -14,7 +14,7 @@ categories: intro: This is a quick reference cheat sheet to getting started with linux bash shell scripting. --- -Getting started {.cols-3} +Getting started --------------- ### hello.sh @@ -136,7 +136,7 @@ See: [Command substitution](http://wiki.bash-hackers.org/syntax/expansion/cmdsub -Bash Parameter expansions {.cols-3} +Bash Parameter expansions -------------------- @@ -252,7 +252,7 @@ echo "${ARR[@]^}" # => Hello World -Bash Arrays {.cols-3} +Bash Arrays ------ ### Defining arrays @@ -339,7 +339,7 @@ extract Fruits 2 # => Orangle -Bash Dictionaries {.cols-3} +Bash Dictionaries ------------ ### Defining @@ -384,7 +384,7 @@ done -Bash Conditionals {.cols-3} +Bash Conditionals ------------ ### Integer conditions @@ -513,7 +513,7 @@ fi -Bash Loops {.cols-3} +Bash Loops ----- ### Basic for loop @@ -635,7 +635,7 @@ done -Bash Functions {.cols-3} +Bash Functions --------- ### Defining functions @@ -778,7 +778,7 @@ Bash History {.cols-2} `!!` can be replaced with any valid expansion i.e. `!cat`, `!-2`, `!42`, etc. -Miscellaneous {.cols-3} +Miscellaneous ------------- ### Numeric calculations diff --git a/source/_posts/chmod.md b/source/_posts/chmod.md index 5138014..dc63ec3 100644 --- a/source/_posts/chmod.md +++ b/source/_posts/chmod.md @@ -12,7 +12,7 @@ intro: | --- -Getting started {.cols-3} +Getting started -------- @@ -117,7 +117,7 @@ d rwx r-x r-x -Chmod Examples {.cols-3} +Chmod Examples -------- @@ -207,7 +207,7 @@ $ chmod u=rwx,g=rx,o=r foo.sh -Chmod Practices {.cols-3} +Chmod Practices --------------- ### SSH Permissions diff --git a/source/_posts/cpp.md b/source/_posts/cpp.md index a6066ce..b53e982 100644 --- a/source/_posts/cpp.md +++ b/source/_posts/cpp.md @@ -11,7 +11,7 @@ intro: | --- -Getting started {.cols-3} +Getting started -------- ### hello.cpp @@ -176,7 +176,7 @@ int main() Namespaces allow global identifiers under a name -C++ Arrays {.cols-3} +C++ Arrays ------ ### Declaration @@ -260,7 +260,7 @@ for (int i = 0; i < 2; ++i) { // Outputs: 1 2 3 4 5 6 6 5 4 3 2 1 ``` -C++ Conditionals {.cols-3} +C++ Conditionals ------------ ### If Clause @@ -406,7 +406,7 @@ switch (num) { } ``` -C++ Loops {.cols-3} +C++ Loops ------------ ### While @@ -525,7 +525,7 @@ for (int i = 0, j = 2; i < 3; i++, j--){ // Outputs: i=0,j=2;i=1,j=1;i=2,j=0; ``` -C++ Functions {.cols-3} +C++ Functions ------------ ### Arguments & Returns @@ -570,7 +570,7 @@ int main() { } ``` -C++ Classes & Objects {.cols-3} +C++ Classes & Objects ----------------- ### If statement @@ -597,7 +597,7 @@ C++ Classes & Objects {.cols-3} ``` -C++ Preprocessor {.cols-3} +C++ Preprocessor ------------ ### Preprocessor {.row-span-3} @@ -686,7 +686,7 @@ char * a = STR(object); #=> char * a = "object"; #=> console.log("file.txt", 3, "hey") ``` -Miscellaneous {.cols-3} +Miscellaneous ------------- ### Escape Sequences diff --git a/source/_posts/cs.md b/source/_posts/cs.md index e28f758..2f96c1a 100644 --- a/source/_posts/cs.md +++ b/source/_posts/cs.md @@ -13,7 +13,7 @@ intro: | --- -Getting started {.cols-3} +Getting started -------- ### Hello.cs @@ -150,7 +150,7 @@ foreach(int num in numbers) { -C# Strings {.cols-3} +C# Strings ---------------- ### String concatenation @@ -203,7 +203,7 @@ lengthOfString.Contains("How"); // => true -Misc {.cols-3} +Misc ----------- ### General .NET Terms {.col-span-2} diff --git a/source/_posts/css.md b/source/_posts/css.md index 083a8fc..4a84194 100644 --- a/source/_posts/css.md +++ b/source/_posts/css.md @@ -15,7 +15,7 @@ intro: | -Getting started {.cols-3} +Getting started ------------ ### Introduction {.row-span-3} @@ -206,7 +206,7 @@ element { See: [Dynamic content](#css-dynamic-content) -CSS Selectors {.cols-3} +CSS Selectors ----------- @@ -354,7 +354,7 @@ See also: [Attribute selectors](https://developer.mozilla.org/en-US/docs/Web/CSS -CSS Fonts {.cols-3} +CSS Fonts ------ @@ -420,7 +420,7 @@ text-transform: lowercase; -CSS Colors {.cols-3} +CSS Colors ------------ @@ -484,7 +484,7 @@ color: currentcolor; /* keyword */ -CSS Backgrounds {.cols-3} +CSS Backgrounds ---------- ### Properties {.row-span-2} @@ -524,7 +524,7 @@ background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(13,232,230,1) 35%, rg -CSS The Box Model {.cols-3} +CSS The Box Model ------------ @@ -734,7 +734,7 @@ CSS Flexbox {.cols-2} } -CSS Flexbox Tricks {.cols-3} +CSS Flexbox Tricks -------------- ### Vertical center @@ -836,7 +836,7 @@ Vertically-center all items. -CSS Grid Layout {.cols-3} +CSS Grid Layout ------------ @@ -1001,7 +1001,7 @@ The grid items are positioned to the right (end) of the row. -CSS Dynamic Content {.cols-3} +CSS Dynamic Content ------------ ### Variable @@ -1069,7 +1069,7 @@ li::before { ``` -Css 3 tricks {.cols-3} +Css 3 tricks ------------ ### Scrollbar smooth diff --git a/source/_posts/dart.md b/source/_posts/dart.md index 5275f49..b8e705a 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -191,7 +191,7 @@ switch(myPet){ -Control Flows : Loops {.cols-3} +Control Flows : Loops ------------ @@ -319,7 +319,7 @@ list.forEach( //Prints: 0: apples 1: bananas 2: oranges ``` -Classes and Objects {.cols-3} +Classes and Objects ---------- ### Class @@ -444,7 +444,7 @@ class SmartPhone extends Phone { } ``` -Exceptions {.cols-3} +Exceptions ------------ ### Throw diff --git a/source/_posts/emacs.md b/source/_posts/emacs.md index 01a7436..860a094 100644 --- a/source/_posts/emacs.md +++ b/source/_posts/emacs.md @@ -448,7 +448,7 @@ Use `C-s` or `C-r` again to repeat the search in either direction. If Emacs is s -Misc {.cols-3} +Misc ---- diff --git a/source/_posts/emmet.md b/source/_posts/emmet.md index 23f33ec..9bfd038 100644 --- a/source/_posts/emmet.md +++ b/source/_posts/emmet.md @@ -16,7 +16,7 @@ intro: | --- -Emmet Syntax {.cols-3} +Emmet Syntax --------------- diff --git a/source/_posts/emoji.md b/source/_posts/emoji.md index 45176df..f5dd836 100644 --- a/source/_posts/emoji.md +++ b/source/_posts/emoji.md @@ -9,7 +9,7 @@ categories: intro: Some of the emoji codes are not super easy to remember, so here is a little cheat sheet. --- -Getting Started {.cols-3} +Getting Started ---------- ### People diff --git a/source/_posts/find.md b/source/_posts/find.md index db6e387..2a3f875 100644 --- a/source/_posts/find.md +++ b/source/_posts/find.md @@ -13,7 +13,7 @@ intro: | --- -Getting started {.cols-3} +Getting started --------------- ### Usage @@ -218,7 +218,7 @@ $ find . -type f -empty -delete ``` -Find Date and Time {.cols-3} +Find Date and Time ------------- diff --git a/source/_posts/git.md b/source/_posts/git.md index e1e57cf..f3917ad 100644 --- a/source/_posts/git.md +++ b/source/_posts/git.md @@ -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 --------------- ### Create a Repository @@ -303,7 +303,7 @@ A `.gitignore` file specifies intentionally untracked files that Git should igno -Git Tricks {.cols-3} +Git Tricks ------ ### Rename branch diff --git a/source/_posts/golang.md b/source/_posts/golang.md index 7bb83e7..63cba16 100644 --- a/source/_posts/golang.md +++ b/source/_posts/golang.md @@ -12,7 +12,7 @@ intro: | --- -Getting started {.cols-3} +Getting started -------- @@ -96,7 +96,7 @@ See: [Flow control](#golang-flow-control) -Golang Basic types {.cols-3} +Golang Basic types -------- ### Strings @@ -288,7 +288,7 @@ fmt.Println(s) // Outputs: 90 -Golang Strings {.cols-3} +Golang Strings -------- ### Strings function @@ -383,7 +383,7 @@ See also: [fmt](https://golang.org/pkg/fmt/) -Golang Flow control {.cols-3} +Golang Flow control -------- ### Conditional @@ -485,7 +485,7 @@ for { -Golang Structs & Maps {.cols-3} +Golang Structs & Maps -------- ### Defining {.row-span-2} @@ -559,7 +559,7 @@ Doing `v.X` is the same as doing `(*v).X`, when `v` is a pointer. -Golang Functions {.cols-3} +Golang Functions -------- @@ -691,7 +691,7 @@ fmt.Println(val) // => 101 ``` -Golang Packages {.cols-3} +Golang Packages -------- @@ -757,7 +757,7 @@ See: [Exported names](https://tour.golang.org/basics/3) -Golang Concurrency {.cols-3} +Golang Concurrency -------- ### Goroutines {.row-span-2} @@ -870,7 +870,7 @@ See: [Buffered channels](https://tour.golang.org/concurrency/3) -Golang Error control {.cols-3} +Golang Error control -------- ### Deferring functions @@ -1004,7 +1004,7 @@ func main() { } ``` -Miscellaneous {.cols-3} +Miscellaneous ------------- ### Keywords diff --git a/source/_posts/graphql.md b/source/_posts/graphql.md index bbb6a0f..8e7972b 100644 --- a/source/_posts/graphql.md +++ b/source/_posts/graphql.md @@ -13,7 +13,7 @@ intro: | --- -Getting started {.cols-3} +Getting started -------- ### Overview diff --git a/source/_posts/grep.md b/source/_posts/grep.md index 080848c..004e202 100644 --- a/source/_posts/grep.md +++ b/source/_posts/grep.md @@ -56,7 +56,7 @@ Wildcards are accepted in filename. | `-n` | grep -n "go" demo.txt | Show the line numbers of the matches | -Grep regular expressions {.cols-3} +Grep regular expressions --------------- ### Refer diff --git a/source/_posts/html.md b/source/_posts/html.md index 149420a..9c47714 100644 --- a/source/_posts/html.md +++ b/source/_posts/html.md @@ -12,7 +12,7 @@ intro: | --- -Getting started {.cols-3} +Getting started ------------ ### hello.html {.col-span-2 .row-span-2} @@ -211,7 +211,7 @@ See: [The Inline Frame element](https://developer.mozilla.org/en-US/docs/Web/HTM -HTML5 Tags {.cols-3} +HTML5 Tags ------------- ### Document @@ -356,7 +356,7 @@ HTML5 Tags {.cols-3}

I Love QuickRef.ME

-HTML Tables {.cols-3} +HTML Tables -------------- ### Table Example {.row-span-2} @@ -424,7 +424,7 @@ See: [th\#Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ -HTML Lists {.cols-3} +HTML Lists -------------- @@ -466,7 +466,7 @@ See: [The Description List element](https://developer.mozilla.org/en-US/docs/Web -HTML Forms {.cols-3} +HTML Forms ----------- diff --git a/source/_posts/http-status-code.md b/source/_posts/http-status-code.md index 70ebc8e..a7c68d3 100644 --- a/source/_posts/http-status-code.md +++ b/source/_posts/http-status-code.md @@ -14,7 +14,7 @@ plugins: - tooltip --- -HTTP Status code {.cols-3} +HTTP Status code ----------- diff --git a/source/_posts/idea.md b/source/_posts/idea.md index 05b717d..90a808c 100644 --- a/source/_posts/idea.md +++ b/source/_posts/idea.md @@ -15,7 +15,7 @@ intro: | -IDEA Windows & Linux Keymap {.cols-3} +IDEA Windows & Linux Keymap -------- diff --git a/source/_posts/iso-639-1.md b/source/_posts/iso-639-1.md index 242ed50..9c55106 100644 --- a/source/_posts/iso-639-1.md +++ b/source/_posts/iso-639-1.md @@ -50,7 +50,7 @@ Getting Started {.cols-2} - [JPEG](https://tableconvert.com/html-to-jpeg?data=https://quickref.me/iso-639-1#TableGenerator) {.cols-4 .marker-none} -List of ISO 639-1 codes +List of ISO 639-1 codes {.cols-1} ----------- ### Full codes diff --git a/source/_posts/java.md b/source/_posts/java.md index c85be0b..dee8980 100644 --- a/source/_posts/java.md +++ b/source/_posts/java.md @@ -15,7 +15,7 @@ plugins: --- -Getting started {.cols-3} +Getting started -------- ### Hello.java {.row-span-2} @@ -153,7 +153,7 @@ int num = in.nextInt(); System.out.println(num); ``` -Java Strings {.cols-3} +Java Strings ------- ### Basic @@ -283,7 +283,7 @@ Once created cannot be modified, any modification creates a new String -Java Arrays {.cols-3} +Java Arrays ------- @@ -362,7 +362,7 @@ Arrays.toString(chars); -Java Conditionals {.cols-3} +Java Conditionals ----------- @@ -459,7 +459,7 @@ System.out.println(max); ``` -Java Loops {.cols-3} +Java Loops ---- ### For Loop @@ -535,7 +535,7 @@ for (int i = 0; i < 5; i++) { // Outputs: 0123 ``` -Java Collections Framework {.cols-3} +Java Collections Framework -------------------- ### Java Collections {.col-span-2} @@ -657,7 +657,7 @@ System.out.println(a.peek()); System.out.println(a.pop()); ``` -Misc {.cols-3} +Misc ---- diff --git a/source/_posts/javascript.md b/source/_posts/javascript.md index 7be4e36..454ad9d 100644 --- a/source/_posts/javascript.md +++ b/source/_posts/javascript.md @@ -15,7 +15,7 @@ intro: | -Getting started {.cols-3} +Getting started ------------ ### Introduction @@ -150,7 +150,7 @@ numberOfColumns = 8; -JavaScript Conditionals {.cols-3} +JavaScript Conditionals ------------ @@ -271,7 +271,7 @@ null === undefined // false The `==` just check the value, `===` check both the value and the type. -JavaScript Functions {.cols-3} +JavaScript Functions ------------ @@ -395,7 +395,7 @@ function add(num1, num2) { -JavaScript Scope {.cols-3} +JavaScript Scope ------------ @@ -480,7 +480,7 @@ The variable has its own copy using `let`, and the variable has shared copy usin -JavaScript Arrays {.cols-3} +JavaScript Arrays ------------ @@ -588,7 +588,7 @@ numbers.concat(newFirstNumber) if you want to avoid mutating your original array, you can use concat. -JavaScript Loops {.cols-3} +JavaScript Loops ------------ @@ -1016,7 +1016,7 @@ myCat.name = 'Yankee'; -JavaScript Classes {.cols-3} +JavaScript Classes ------------ @@ -1470,7 +1470,7 @@ msg(); // Message: Hello World! <-- after 2 seconds -JavaScript Requests {.cols-3} +JavaScript Requests ------------ ### JSON diff --git a/source/_posts/jquery.md b/source/_posts/jquery.md index 08d146c..65593fb 100644 --- a/source/_posts/jquery.md +++ b/source/_posts/jquery.md @@ -17,7 +17,7 @@ plugins: --- -Getting started {.cols-3} +Getting started ------------ @@ -69,7 +69,7 @@ $(function(){ -jQuery Selectors {.cols-3} +jQuery Selectors ---------- ### Examples {.secondary} @@ -167,7 +167,7 @@ $("selector1, selector2 ...selectorn") -jQuery Attributes {.cols-3} +jQuery Attributes ------------ @@ -244,7 +244,7 @@ $('.choice').toggleClass('highlighted'); -jQuery Manipulation {.cols-3} +jQuery Manipulation ------------ ### Examples {.secondary .row-span-3} @@ -302,7 +302,7 @@ $('span').wrap('

'); {.marker-none .cols-3} -jQuery Traversing {.cols-3} +jQuery Traversing ------------ @@ -344,7 +344,7 @@ jQuery Traversing {.cols-3} {.marker-none .cols-3} -jQuery Events {.cols-3} +jQuery Events ------------ @@ -476,7 +476,7 @@ $( "p" ).click(function( event ) { -jQuery Effects {.cols-3} +jQuery Effects ------------ ### Examples {.secondary .row-span-2} @@ -536,7 +536,7 @@ $('#menu-button').on('click', () => { -jQuery Ajax {.cols-3} +jQuery Ajax ------------ ### Examples {.secondary .row-span-2} @@ -586,7 +586,7 @@ $.ajax({ -Miscellaneous {.cols-3} +Miscellaneous ------------ diff --git a/source/_posts/json.md b/source/_posts/json.md index d4f0f4d..cd8272c 100644 --- a/source/_posts/json.md +++ b/source/_posts/json.md @@ -12,7 +12,7 @@ intro: | This is a quick reference cheat sheet for understanding and writing JSON format configuration files. --- -Getting started {.cols-3} +Getting started --------------- @@ -210,7 +210,7 @@ Begins with `[` and ends with `]` -Access JSON in JavaScript {.cols-3} +Access JSON in JavaScript ------------------------- ### Access Object diff --git a/source/_posts/laravel.md b/source/_posts/laravel.md index 9a0858d..8b3eb64 100644 --- a/source/_posts/laravel.md +++ b/source/_posts/laravel.md @@ -15,7 +15,7 @@ intro: | --- -Getting started {.cols-3} +Getting started --------------- ### Requirements {.row-span-2} @@ -80,7 +80,7 @@ Access application via `http://localhost` -Configuration {.cols-3} +Configuration --------------- ### .env {.cols-2} @@ -143,7 +143,7 @@ php artisan down --secret="1630542a-246b-4b66-afa1-dd72a4c43515" ``` Visit your application URL `https://example.com/1630542a-246b-4b66-afa1-dd72a4c43515` to set a cookie and bypass the maintenance screen -Routing {.cols-3} +Routing --------------- ### Router HTTP Methods {.row-span-2} @@ -388,7 +388,7 @@ $action = Route::currentRouteAction(); ``` -Helpers {.cols-3} +Helpers --------------- ### routes {.row-span-2} @@ -477,7 +477,7 @@ Report an exception but continue handling the current request Generate an HTTP exception response using status code -Controllers {.cols-3} +Controllers --------------- ### Basic @@ -504,7 +504,7 @@ use App\Http\Controllers\UserController; Route::get('/user/{id}', [UserController::class, 'show']); ``` -Requests {.cols-3} +Requests --------------- ### CSRF Protection @@ -770,7 +770,7 @@ $path = $request->photo->storeAs('images', 'filename.jpg', 's3'); See More: [Laravel File Storage](https://laravel.com/docs/8.x/filesystem) -Views {.cols-3} +Views --------------- ### Intro - [Laravel Docs - Views](https://laravel.com/docs/8.x/views) @@ -829,7 +829,7 @@ return view('admin.profile'); ``` -Blade Templates {.cols-3} +Blade Templates --------------- ### Intro @@ -991,7 +991,7 @@ Prepend to the beginning of a stack ``` -Forms {.cols-3} +Forms --------------- ### Intro - [Laravel Docs - Forms](https://laravel.com/docs/8.x/blade#forms) @@ -1043,7 +1043,7 @@ Or the `old()` helper ``` -Validation {.cols-3} +Validation --------------- ### Intro - [Laravel Docs - Validation](https://laravel.com/docs/8.x/validation) @@ -1280,7 +1280,7 @@ $email = $validated['email']; ``` -Session {.cols-3} +Session --------------- ### Intro - [Laravel Docs - Session](https://laravel.com/docs/8.x/session) @@ -1380,7 +1380,7 @@ $request->session()->push('user.teams', 'developers'); ``` -Logging {.cols-3} +Logging --------------- ### Configuration @@ -1420,7 +1420,7 @@ Log::info('User failed to login.', ['id' => $user->id]); ``` -Deployment {.cols-3} +Deployment --------------- ### Intro - [Laravel Docs - Deployment](https://laravel.com/docs/8.x/deployment) diff --git a/source/_posts/lsof.md b/source/_posts/lsof.md index ac62f6b..e3ee269 100644 --- a/source/_posts/lsof.md +++ b/source/_posts/lsof.md @@ -13,7 +13,7 @@ intro: | This quick reference cheat sheet provides various for using lsof command. --- -Getting started {.cols-3} +Getting started -------------- ### Introduction diff --git a/source/_posts/markdown.md b/source/_posts/markdown.md index 8b6c78f..93676e9 100644 --- a/source/_posts/markdown.md +++ b/source/_posts/markdown.md @@ -13,7 +13,7 @@ categories: intro: This is a quick reference cheat sheet to the Markdown syntax. --- -Markdown Quick Reference {.cols-3} +Markdown Quick Reference --------------- ### Headers (atx style) diff --git a/source/_posts/mime.md b/source/_posts/mime.md index ce79dd0..24eb63d 100644 --- a/source/_posts/mime.md +++ b/source/_posts/mime.md @@ -50,7 +50,7 @@ Getting started {.cols-2} {.cols-4 .marker-none} -Lists of MIME types +Lists of MIME types {.cols-1} ------------------- ### Common MIME (Media) types diff --git a/source/_posts/mitmproxy.md b/source/_posts/mitmproxy.md index 68978bb..91048f5 100644 --- a/source/_posts/mitmproxy.md +++ b/source/_posts/mitmproxy.md @@ -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 started {.cols-3} +Getting started --------------- ### Usage {.col-span-2} @@ -123,7 +123,7 @@ h ◀ ─── + ─── ▶ l ││ page -Mitmproxy Filter {.cols-3} +Mitmproxy Filter --------------- ### Filter diff --git a/source/_posts/mysql.md b/source/_posts/mysql.md index f9a5b05..e2909ab 100644 --- a/source/_posts/mysql.md +++ b/source/_posts/mysql.md @@ -86,7 +86,7 @@ mysql -u user -p db_name < db.sql -MySQL Examples {.cols-3} +MySQL Examples -------------- @@ -562,7 +562,7 @@ DROP INDEX idx_name; ``` -MySQL Data Types {.cols-3} +MySQL Data Types --------- @@ -609,7 +609,7 @@ MySQL Data Types {.cols-3} -MySQL Functions & Operators {.cols-3} +MySQL Functions & Operators --------- diff --git a/source/_posts/nc.md b/source/_posts/nc.md index 581000f..f97c82a 100644 --- a/source/_posts/nc.md +++ b/source/_posts/nc.md @@ -62,7 +62,7 @@ $ nc 192.168.1.9 8000 -Netcat Examples {.cols-3} +Netcat Examples -------- ### Banner grabbing diff --git a/source/_posts/neo4j.md b/source/_posts/neo4j.md index 9f2129c..a0a9026 100644 --- a/source/_posts/neo4j.md +++ b/source/_posts/neo4j.md @@ -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). | -Neo4j Syntax {.cols-3} +Neo4j Syntax ------ ### Read query structure diff --git a/source/_posts/netstat.md b/source/_posts/netstat.md index 82b885f..d8267b0 100644 --- a/source/_posts/netstat.md +++ b/source/_posts/netstat.md @@ -13,7 +13,7 @@ intro: | This quick reference cheat sheet provides various for using netstat command. --- -Getting started {.cols-3} +Getting started --------------- diff --git a/source/_posts/php.md b/source/_posts/php.md index 1980eda..767ec77 100644 --- a/source/_posts/php.md +++ b/source/_posts/php.md @@ -12,7 +12,7 @@ intro: | --- -Getting started {.cols-3} +Getting started --------------- @@ -177,7 +177,7 @@ See: [Classes](#php-classes) -PHP Types {.cols-3} +PHP Types --------------- @@ -268,7 +268,7 @@ foreach (bar() as $value) { ``` -PHP Strings {.cols-3} +PHP Strings --------------- @@ -329,7 +329,7 @@ See: [String Functions](https://www.php.net/manual/en/ref.strings.php) -PHP Arrays {.cols-3} +PHP Arrays --------------- ### Defining {.row-span-2} @@ -554,7 +554,7 @@ $num /= $float; // Divide and assign the quotient to $num -PHP Conditionals {.cols-3} +PHP Conditionals --------------- ### If elseif else @@ -634,7 +634,7 @@ echo $result; # => young adult ``` -PHP Loops {.cols-3} +PHP Loops --------------- @@ -699,7 +699,7 @@ See: [Array iteration](#php-value-iteration) -PHP Functions {.cols-3} +PHP Functions --------------- @@ -824,7 +824,7 @@ echo $fn2(5); # => 6 -PHP Classes {.cols-3} +PHP Classes --------------- @@ -924,7 +924,7 @@ class Cls implements Foo, Bar } ``` -Miscellaneous {.cols-3} +Miscellaneous ------------- ### Basic error handling diff --git a/source/_posts/postgres.md b/source/_posts/postgres.md index 0af6a38..b459e52 100644 --- a/source/_posts/postgres.md +++ b/source/_posts/postgres.md @@ -14,7 +14,7 @@ intro: | -Getting started {.cols-3} +Getting started --------------- ### Getting started @@ -68,7 +68,7 @@ Run in PostgreSQL console -PostgreSQL Working {.cols-3} +PostgreSQL Working ------- ### Recon @@ -334,7 +334,7 @@ DROP SCHEMA IF EXISTS CASCADE; -PostgreSQL Commands {.cols-3} +PostgreSQL Commands ----------- ### Tables @@ -456,7 +456,7 @@ PostgreSQL Commands {.cols-3} -Miscellaneous {.cols-3} +Miscellaneous ------------- diff --git a/source/_posts/python.md b/source/_posts/python.md index 9ce7f80..6196917 100644 --- a/source/_posts/python.md +++ b/source/_posts/python.md @@ -14,7 +14,7 @@ intro: | -Getting Started {.cols-3} +Getting Started --------------- @@ -164,7 +164,7 @@ See: [Python F-Strings](#python-f-strings-since-python) -Python Data Types {.cols-3} +Python Data Types --------------- @@ -278,7 +278,7 @@ z = str(3.0) # z will be '3.0' -Python Strings {.cols-3} +Python Strings ------------ ### Array-like @@ -448,7 +448,7 @@ Get input data from console True ``` -Python F-Strings (Since Python 3.6+) {.cols-3} +Python F-Strings (Since Python 3.6+) ---------------- @@ -555,7 +555,7 @@ it is available since Python 3.6, also see: [Formatted string literals](https:// '-000012345' ``` -Python Lists {.cols-3} +Python Lists ------------ @@ -730,7 +730,7 @@ IndexError: list index out of range ['re', 're', 're'] ``` -Python Flow control {.cols-3} +Python Flow control ------------ ### Basic @@ -767,7 +767,7 @@ else: -Python Loops {.cols-3} +Python Loops -------- ### Basic @@ -854,7 +854,7 @@ print(result) -Python Functions {.cols-3} +Python Functions -------- ### Basic @@ -924,7 +924,7 @@ add(5, 20) # => 25 -Python Modules {.cols-3} +Python Modules -------- @@ -970,7 +970,7 @@ dir(math) -Python File Handling {.cols-3} +Python File Handling ---------- @@ -1053,7 +1053,7 @@ os.rmdir("myfolder") -Python Classes & Inheritance {.cols-3} +Python Classes & Inheritance -------- @@ -1215,7 +1215,7 @@ Yoki.sound() # => Woof! -Miscellaneous {.cols-3} +Miscellaneous ---------- ### Comments diff --git a/source/_posts/quickref-xxx.md b/source/_posts/quickref-xxx.md index 1a79e39..a000934 100644 --- a/source/_posts/quickref-xxx.md +++ b/source/_posts/quickref-xxx.md @@ -11,7 +11,7 @@ categories: intro: This is a reference of styles that you can use on quickref cheatsheets! --- -Variants {.cols-3} +Variants -------- ### H2 section @@ -122,7 +122,7 @@ See: [Paragraphs](#paragraphs-2) ### How to add variants {.secondary} ``` -H2 section {.cols-3} +H2 section ---------- ### H3 section {.col-span-2} @@ -134,7 +134,7 @@ H2 section {.cols-3} QuickRefs uses [markdown-it-attrs](https://github.com/arve0/markdown-it-attrs#markdown-it-attrs---), and supports adding classes via its syntax. -Code {.cols-3} +Code ---- ### Basic code @@ -192,7 +192,7 @@ function createNode(nodeName: string, options: { key: string }) { Long lines will have scrollbars. -Paragraphs {.cols-3} +Paragraphs -------- ### Basic paragraphs @@ -228,7 +228,7 @@ Add `{.link-arrow}` to make big loud external links: -Tables {.cols-3} +Tables ------ ### Basic table @@ -310,7 +310,7 @@ QuickRef uses markdown-it-multimd-table to render the table, See:[markdown-it- -Lists {.cols-3} +Lists -------- ### One column (Default) @@ -399,7 +399,7 @@ H2 section {.cols-5} ``` -H3 section {.cols-3} +H3 section ---------- ### row-span-2 {.row-span-2} diff --git a/source/_posts/quickref.md b/source/_posts/quickref.md index 3629273..45fd5bf 100644 --- a/source/_posts/quickref.md +++ b/source/_posts/quickref.md @@ -1,8 +1,8 @@ --- title: QuickRef date: 2020-11-25 18:28:43 -icon: icon-style -background: bg-emerald-600 +icon: icon-star +background: bg-red-600 tags: - guide - reference @@ -11,7 +11,7 @@ categories: intro: This is a reference of styles that you can use on quickref cheatsheets! --- -Variants {.cols-3} +Variants -------- ### H2 section @@ -22,8 +22,7 @@ Variants {.cols-3} | `.cols-2` | | | `.cols-3` | three column | | ... | | -| `.cols-11` | | -| `.cols-12` | | +| `.cols-6` | | @@ -84,8 +83,7 @@ See: [Tables](#tables-2) | `.cols-2` | | | `.cols-3` | three column | | ... | | -| `.cols-11` | | -| `.cols-12` | | +| `.cols-6` | | See: [Lists](#lists-2) @@ -122,7 +120,7 @@ See: [Paragraphs](#paragraphs-2) ### How to add variants {.secondary} ``` -H2 section {.cols-3} +H2 section ---------- ### H3 section {.col-span-2} @@ -134,7 +132,24 @@ H2 section {.cols-3} QuickRefs uses [markdown-it-attrs](https://github.com/arve0/markdown-it-attrs#markdown-it-attrs---), and supports adding classes via its syntax. -Code {.cols-3} + + + +Layout Variants +-------- + +### H2 section + +| - | - | +|------------|------------------------| +| `.cols-1` | one column _(default)_ | +| `.cols-2` | | +| `.cols-3` | three column | +| ... | | +| `.cols-6` | | + + +Code ---- ### Basic code @@ -192,7 +207,7 @@ function createNode(nodeName: string, options: { key: string }) { Long lines will have scrollbars. -Paragraphs {.cols-3} +Paragraphs -------- ### Basic paragraphs @@ -228,7 +243,7 @@ Add `{.link-arrow}` to make big loud external links: -Tables Variants {.cols-3} +Tables Variants ------ @@ -309,7 +324,7 @@ Tables Variants {.cols-3} -Lists Variants {.cols-3} +Lists Variants -------- ### List Overview {.secondary} @@ -469,7 +484,7 @@ H2 section {.cols-5} ``` -H3 section {.cols-3} +H3 section ---------- ### row-span-2 {.row-span-2} diff --git a/source/_posts/redis.md b/source/_posts/redis.md index a63eee2..417f176 100644 --- a/source/_posts/redis.md +++ b/source/_posts/redis.md @@ -13,7 +13,7 @@ intro: | -Getting started {.cols-3} +Getting started --------------- ### Getting started @@ -526,7 +526,7 @@ Run algorithms (currently LCS) against strings -Redis Set command {.cols-3} +Redis Set command ------------ @@ -892,7 +892,7 @@ Add multiple sets and store the resulting set in a key -Redis List command {.cols-3} +Redis List command ------------ ### Misc @@ -1293,7 +1293,7 @@ Append an element to a list, only if the list exists -Redis Hash command {.cols-3} +Redis Hash command ------------ @@ -1552,7 +1552,7 @@ Get all the values in a hash -Redis Sorted set command {.cols-3} +Redis Sorted set command ------------ ### BZPOPMIN diff --git a/source/_posts/regex.md b/source/_posts/regex.md index cd3a79c..8071dac 100644 --- a/source/_posts/regex.md +++ b/source/_posts/regex.md @@ -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. --- -Getting Started {.cols-3} +Getting Started -------- ### Introduction @@ -477,7 +477,7 @@ M(?(?=.*?\bher\b)s|r)\. requires lookaround for IF condition -RegEx in Python {.cols-3} +RegEx in Python --------------- ### Getting started @@ -572,7 +572,7 @@ False -Regex in JavaScript {.cols-3} +Regex in JavaScript --------------- ### test() @@ -683,7 +683,7 @@ console.log(result); -Regex in PHP {.cols-3} +Regex in PHP ------------ ### Functions {.col-span-2} @@ -764,7 +764,7 @@ print_r(preg_split($regex, $str)); ``` -Regex in Java {.cols-3} +Regex in Java ------------- diff --git a/source/_posts/resolutions.md b/source/_posts/resolutions.md index ced1b0a..14bbebb 100644 --- a/source/_posts/resolutions.md +++ b/source/_posts/resolutions.md @@ -50,7 +50,7 @@ Getting started {.cols-2} - [JPEG](https://tableconvert.com/html-to-jpeg?data=https://quickref.me/resolutions#TableGenerator) {.cols-4 .marker-none} -Lists of Resolutions +Lists of Resolutions {.cols-1} ------------------- ### Mobile Phones diff --git a/source/_posts/rust.md b/source/_posts/rust.md index 7975836..e289279 100644 --- a/source/_posts/rust.md +++ b/source/_posts/rust.md @@ -11,7 +11,7 @@ intro: | --- -Getting Started {.cols-3} +Getting Started --------------- ### Hello_World.rs @@ -133,7 +133,7 @@ See: [Functions](#rust-functions) -Rust Types {.cols-3} +Rust Types -------------- @@ -259,7 +259,7 @@ let tuple = (1, 'A' , "Cool", 78, true); -Rust Strings {.cols-3} +Rust Strings -------------- ### String Literal @@ -324,7 +324,7 @@ println!("{hi}"); -Rust Operators {.cols-3} +Rust Operators ----------- @@ -443,7 +443,7 @@ let mut l = k; -Rust Flow Control {.cols-3} +Rust Flow Control -------------- ### If Expression @@ -636,7 +636,7 @@ for (v, c) in (0..10+1).enumerate(){ -Rust Functions {.cols-3} +Rust Functions -------------- @@ -749,7 +749,7 @@ fn multiply (mut arr: [i32 ; 5]) -> [i32 ; 5]{ -Misc {.cols-3} +Misc -------------- diff --git a/source/_posts/sass.md b/source/_posts/sass.md index 1c52642..5aa735e 100644 --- a/source/_posts/sass.md +++ b/source/_posts/sass.md @@ -11,7 +11,7 @@ intro: | This is a quick reference cheat sheet that lists the most useful features of [SASS](https://sass-lang.com). --- -Sass Basics {.cols-3} +Sass Basics -------- ### Introduction @@ -124,7 +124,7 @@ text: { The `.sass` or `.sass` extension is optional. -Sass Mixins {.cols-3} +Sass Mixins ------ @@ -341,7 +341,7 @@ feature-exists(global-variable-shadowing) * units-level-3 * at-error -Sass Loops {.cols-3} +Sass Loops -------- ### For loops @@ -386,7 +386,7 @@ $i: 6; } ``` -Sass Other features {.cols-3} +Sass Other features -------- ### Conditionals {.row-span-2} diff --git a/source/_posts/screen.md b/source/_posts/screen.md index 2f56aa5..c2ed992 100644 --- a/source/_posts/screen.md +++ b/source/_posts/screen.md @@ -13,7 +13,7 @@ intro: | --- -Getting started {.cols-3} +Getting started --------------- ### Getting started diff --git a/source/_posts/sed.md b/source/_posts/sed.md index 18d5d5a..fb7603e 100644 --- a/source/_posts/sed.md +++ b/source/_posts/sed.md @@ -14,7 +14,7 @@ intro: | [Sed](https://www.gnu.org/software/sed/manual/sed.html) is a stream editor, this sed cheat sheet contains sed commands and some common sed tricks. --- -Getting started {.cols-3} +Getting started --------------- ### Sed Usage @@ -79,7 +79,7 @@ See: [Sed examples](#sed-examples) -Sed commands {.cols-3} +Sed commands ----------- ### Commands {.col-span-2} @@ -151,7 +151,7 @@ $ sed 's/old/new/[flags]' [input-file] -Sed examples {.cols-3} +Sed examples ---------- diff --git a/source/_posts/ssh.md b/source/_posts/ssh.md index 144002d..d103ba2 100644 --- a/source/_posts/ssh.md +++ b/source/_posts/ssh.md @@ -14,7 +14,7 @@ intro: | This quick reference cheat sheet provides various for using SSH. --- -Getting started {.cols-3} +Getting started --------------- ### Connecting diff --git a/source/_posts/tmux.md b/source/_posts/tmux.md index 570a74e..5da24d9 100644 --- a/source/_posts/tmux.md +++ b/source/_posts/tmux.md @@ -15,7 +15,7 @@ intro: | -Tmux CLI {.cols-3} +Tmux CLI ------- ### New session {.row-span-2} @@ -92,7 +92,7 @@ Mainly works like selecting text in [Vim](/vim#motions) -Tmux shortcuts {.cols-3} +Tmux shortcuts -------------- ### Getting started {.secondary} @@ -159,7 +159,7 @@ $ tmux info -Tmux Command Mode {.cols-3} +Tmux Command Mode ----------- ### Usage {.secondary} diff --git a/source/_posts/toml.md b/source/_posts/toml.md index 7b2dfb2..b2d9853 100644 --- a/source/_posts/toml.md +++ b/source/_posts/toml.md @@ -13,7 +13,7 @@ intro: | --- -Getting started {.cols-3} +Getting started --------------- ### Introduction @@ -125,7 +125,7 @@ array3 = [ -TOML Strings {.cols-3} +TOML Strings ----- @@ -164,7 +164,7 @@ is preserved. -TOML Tables {.cols-3} +TOML Tables ----- ### Basic ```toml diff --git a/source/_posts/vim.md b/source/_posts/vim.md index 76516a1..03cab5b 100644 --- a/source/_posts/vim.md +++ b/source/_posts/vim.md @@ -15,7 +15,7 @@ intro: | A useful collection of [Vim](http://www.vim.org/) 8.2 quick reference cheat sheets to help you learn vim editor faster. --- -Getting started {.cols-3} +Getting started --------------- ### Motion Diagrams {.row-span-2} @@ -213,7 +213,7 @@ G gg H M L k j ▶ print("to") You can save macro for any letters not just `i` -Vim Operators {.cols-3} +Vim Operators --------- ### Usage {.secondary} @@ -281,7 +281,7 @@ Combine [operators](#available-operators) with [motions](#motions) to use them -Vim Text objects {.cols-3} +Vim Text objects ------------ ### Usage {.secondary} @@ -353,7 +353,7 @@ See `:help text-objects` -Vim Multiple files {.cols-3} +Vim Multiple files ------------- @@ -422,7 +422,7 @@ Vim Multiple files {.cols-3} -Vim Search and Replace {.cols-3} +Vim Search and Replace ------------------ ### Search @@ -567,7 +567,7 @@ Vim Search and Replace {.cols-3} -Vimdiff {.cols-3} +Vimdiff ------- @@ -632,7 +632,7 @@ See: [Ranges](#ranges) -Miscellaneous {.cols-3} +Miscellaneous ------------- diff --git a/source/_posts/webstorm.md b/source/_posts/webstorm.md index a1dbcee..169995f 100644 --- a/source/_posts/webstorm.md +++ b/source/_posts/webstorm.md @@ -13,7 +13,7 @@ intro: | This quick reference cheat sheet lists the default keyboard shortcuts for WebStorm running on Windows/Linux or Mac --- -Webstorm Windows & Linux Keymap {.cols-3} +Webstorm Windows & Linux Keymap -------- diff --git a/source/_posts/xpath.md b/source/_posts/xpath.md index 448f131..0ad539b 100644 --- a/source/_posts/xpath.md +++ b/source/_posts/xpath.md @@ -107,7 +107,7 @@ $x('//a[text()="XPath"]')[0].click() -XPath Expressions {.cols-3} +XPath Expressions ----------- ### Steps and axes {.secondary} @@ -140,7 +140,7 @@ XPath Expressions {.cols-3} -XPath Predicates {.cols-3} +XPath Predicates ---------- ### Predicates diff --git a/source/_posts/yaml.md b/source/_posts/yaml.md index 95e8279..2cf847e 100644 --- a/source/_posts/yaml.md +++ b/source/_posts/yaml.md @@ -12,7 +12,7 @@ intro: | This is a quick reference cheat sheet for understanding and writing YAML format configuration files. --- -Getting started {.cols-3} +Getting started --------------- @@ -177,7 +177,7 @@ YAML uses `---` to separate directives from document content. -YAML Collections {.cols-3} +YAML Collections ----------- ### Sequence @@ -369,7 +369,7 @@ ordered: !!omap -YAML Reference {.cols-3} +YAML Reference -------------- ### Terms diff --git a/source/sponsor/index.md b/source/sponsor/index.md index ac6b6b5..f2023eb 100644 --- a/source/sponsor/index.md +++ b/source/sponsor/index.md @@ -5,7 +5,7 @@ intro: | We appreciate your help in order to pay for the hosting fees and ensuring I can spend enough time to create and optimize the cheatsheet webpage. --- -Sponsor {.cols-3} +Sponsor --------------- diff --git a/themes/coo/layout/_partial/head.ejs b/themes/coo/layout/_partial/head.ejs index 3d5c514..56bc7aa 100644 --- a/themes/coo/layout/_partial/head.ejs +++ b/themes/coo/layout/_partial/head.ejs @@ -42,7 +42,7 @@ - + diff --git a/themes/coo/source/css/style.tailwindcss b/themes/coo/source/css/style.tailwindcss index 90a5cab..f03d89d 100644 --- a/themes/coo/source/css/style.tailwindcss +++ b/themes/coo/source/css/style.tailwindcss @@ -92,7 +92,7 @@ html.scrollbar { } /** Grid layout. */ -.mdLayout .h2-wrap > .h3-wrap-list { @apply flex flex-col lg:grid lg:gap-7; } +.mdLayout .h2-wrap > .h3-wrap-list { @apply flex flex-col lg:grid lg:grid-cols-3 lg:gap-7; } .mdLayout .h2-wrap.cols-1 > .h3-wrap-list { @apply lg:grid-cols-1; } .mdLayout .h2-wrap.cols-2 > .h3-wrap-list { @apply lg:grid-cols-2; } .mdLayout .h2-wrap.cols-3 > .h3-wrap-list { @apply lg:grid-cols-3; } diff --git a/themes/coo/source/font/iconfont.css b/themes/coo/source/font/iconfont.css index d0c3bee..a2a82d1 100644 --- a/themes/coo/source/font/iconfont.css +++ b/themes/coo/source/font/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "icon"; /* Project id 2226430 */ - src: url('iconfont.woff2?1641177301') format('woff2'), - url('iconfont.woff?1641177301') format('woff'), - url('iconfont.ttf?1641177301') format('truetype'); + src: url('//at.alicdn.com/t/c/font_2226430_2mo75parafn.woff2?1668928635') format('woff2'), + url('//at.alicdn.com/t/c/font_2226430_2mo75parafn.woff?1668928635') format('woff'), + url('//at.alicdn.com/t/c/font_2226430_2mo75parafn.ttf?1668928635') format('truetype'); } .icon { @@ -13,6 +13,10 @@ -moz-osx-font-smoothing: grayscale; } +.icon-star:before { + content: "\f0d4"; +} + .icon-rust:before { content: "\e685"; } diff --git a/themes/coo/source/font/iconfont.ttf b/themes/coo/source/font/iconfont.ttf index 5d932dc..fe39f23 100644 Binary files a/themes/coo/source/font/iconfont.ttf and b/themes/coo/source/font/iconfont.ttf differ diff --git a/themes/coo/source/font/iconfont.woff b/themes/coo/source/font/iconfont.woff index 9a13d7e..4e0c2aa 100644 Binary files a/themes/coo/source/font/iconfont.woff and b/themes/coo/source/font/iconfont.woff differ diff --git a/themes/coo/source/font/iconfont.woff2 b/themes/coo/source/font/iconfont.woff2 index c4cf925..0c35571 100644 Binary files a/themes/coo/source/font/iconfont.woff2 and b/themes/coo/source/font/iconfont.woff2 differ