From e88efd53c01702ea4cf48184208e915b988fd03b Mon Sep 17 00:00:00 2001 From: SaptarsiRoy Date: Mon, 17 Oct 2022 11:53:50 +0530 Subject: [PATCH 01/72] added options for usermod, mkdir.added kill command. --- Linux_CheatSheet.md | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/Linux_CheatSheet.md b/Linux_CheatSheet.md index 2582a5d..4562b2d 100644 --- a/Linux_CheatSheet.md +++ b/Linux_CheatSheet.md @@ -39,6 +39,11 @@ Linux/Unix: #Create a new directory mkdir + + #Options include + -p if directory exists and also make parent directories as necessary + -v verbose + -m provide mode for creating directory #Print the working directory pwd @@ -218,14 +223,28 @@ Linux/Unix: #Install, build, remove and manage Debian packages apt-get + #Get current user id + id + #Creates a new user account adduser #Creates a new group groupadd - #Adds a user to a group + #Modify a user to a group usermod + + #Options + -c, --comment = add comment to user + -g, --gid = Specify the primary group for the user account + -G, --groups = Specify a comma-separated list of supplementary groups for the user account + -a, --append = add the supplementary groups to the user's current set of group + -d, --home = Specify a particular home directory for the user account + -m, --move-home = Move the user's home directory to a new location. Must be used with the -d option + -s, --shell = Specify a particular login shell for the user account + -L, --lock = Lock the user account + -U, --unlock = Unlock the user account #Remove a user from a group userdel @@ -265,9 +284,6 @@ Linux/Unix: #Determine system boot-up performance statistics systemd-analyze - - #Determine system boot-up performance statistics - systemd-analyze #Request system information / software version uname -a @@ -308,7 +324,7 @@ Linux/Unix: #Query optimisation -type = type of file - -name = matching with a filename + -name = matching with a filename #Look for a file with a giving name using query optimisation find . -type f -name @@ -366,4 +382,13 @@ Linux/Unix: #Replace old text with new text sed '-s/myOldText/myNewText' theFileBeingEdited.txt + + #Change hostname of the system + hostname + + #Kill process + kill + kill -l #List all the kill signals + + Ex: kill -9 5123 #Sends kill signal to process 5123 From 6d5d777cc9ab52a5aa34623979b71d116e14fa0a Mon Sep 17 00:00:00 2001 From: ak191201 <115787397+ak191201@users.noreply.github.com> Date: Wed, 19 Oct 2022 00:09:25 +0530 Subject: [PATCH 02/72] Update Elasticsearch_CheatSheet.md Added command for listing index mapping --- Elasticsearch_CheatSheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Elasticsearch_CheatSheet.md b/Elasticsearch_CheatSheet.md index 793575c..81ede9f 100644 --- a/Elasticsearch_CheatSheet.md +++ b/Elasticsearch_CheatSheet.md @@ -59,3 +59,6 @@ #Check pending tasks curl -XGET http://localhost:9200/_cat/pending_tasks?v + + #List index mapping + curl -X GET http://localhost:9200/samples From 2645be169fc1dabe722819a507a843bcc594d778 Mon Sep 17 00:00:00 2001 From: Ambyad <89146918+Ambyad@users.noreply.github.com> Date: Wed, 19 Oct 2022 00:22:28 +0530 Subject: [PATCH 03/72] Update MYSQL_Cheatsheet.md Added commands in MySQL Cheatsheet --- MYSQL_Cheatsheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MYSQL_Cheatsheet.md b/MYSQL_Cheatsheet.md index f78c2c6..9501b93 100644 --- a/MYSQL_Cheatsheet.md +++ b/MYSQL_Cheatsheet.md @@ -76,3 +76,6 @@ MYSQL #Deletes multiple views. DROP VIEW VIEW1,VIEW2…; + + #Use of IN operator with WHERE clause + SELECT FROM WHERE IN (value1, value2, …) From 8425ca36fd94388cb62985dc0ebd559a3f3d583e Mon Sep 17 00:00:00 2001 From: Durgesh Singh <77192512+durgesh1506@users.noreply.github.com> Date: Wed, 19 Oct 2022 01:37:35 +0530 Subject: [PATCH 04/72] Update K8s_CheatSheet.md Added commands in K8s_Cheatsheet. --- K8s_CheatSheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/K8s_CheatSheet.md b/K8s_CheatSheet.md index 5c7c90d..99e1751 100644 --- a/K8s_CheatSheet.md +++ b/K8s_CheatSheet.md @@ -1,3 +1,6 @@ + #Get the documentation for pod manifests + kubectl explain pods + #Get total nodes in cluster kubectl get nodes From 49d6b4cecdef35bb5453e3770461950e6b55186c Mon Sep 17 00:00:00 2001 From: Soumyadip Roy <85121861+Soumyadip-Roy@users.noreply.github.com> Date: Wed, 19 Oct 2022 13:05:22 +0530 Subject: [PATCH 05/72] Added Drop Database in SQL_CheatSheet.md --- SQL_CheatSheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SQL_CheatSheet.md b/SQL_CheatSheet.md index 30d664b..678f27e 100644 --- a/SQL_CheatSheet.md +++ b/SQL_CheatSheet.md @@ -49,4 +49,7 @@ MariaDB: #Drop a table DROP TABLE [IF EXISTS] table_name; + + #Drop a Dtabase + DROP DATABASE [IF EXISTS] databasename; From 935cf236af0f607dd4e0095f2cdeb0c926c59ffb Mon Sep 17 00:00:00 2001 From: MoinCR7 Date: Wed, 19 Oct 2022 19:34:49 +0530 Subject: [PATCH 06/72] Added string.split() method to python cheatsheet --- Python_CheatSheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Python_CheatSheet.md b/Python_CheatSheet.md index b6861db..4fe644a 100644 --- a/Python_CheatSheet.md +++ b/Python_CheatSheet.md @@ -243,4 +243,7 @@ #This function is invoked by the import statement. import() + + #This string method splits a string into a list. + string.split(separator, maxsplit) From 10f7955f888e29473d234bbcc019caec3761746c Mon Sep 17 00:00:00 2001 From: Ishan Agarwal Date: Wed, 19 Oct 2022 20:09:16 +0530 Subject: [PATCH 07/72] Added Tmux Cheatsheet --- Tmux_CheatSheet.md | 97 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 Tmux_CheatSheet.md diff --git a/Tmux_CheatSheet.md b/Tmux_CheatSheet.md new file mode 100644 index 0000000..d190416 --- /dev/null +++ b/Tmux_CheatSheet.md @@ -0,0 +1,97 @@ + # Start a new session + $ tmux + + # Start a new session with the name mysession + $ tmux new -s mysession + + # kill/delete session mysession + $ tmux kill-session -t mysession + + # kill/delete all sessions but the current + $ tmux kill-session -a + + # kill/delete all sessions but mysession + $ tmux kill-session -a -t mysession + + # Rename session + Ctrl+b $ + + # Detach from session + Ctrl+b d + + # Detach others on the session (Maximize window by detach other clients) + : attach -d + + # Show all sessions + $ tmux ls + + # Attach to last session + $ tmux a + $ tmux attach + $ tmux attach-session + + # Attach to a session with the name mysession + $ tmux a -t mysession + $ tmux attach -t mysession + $ tmux attach-session -t mysession + + # Session and Window Preview + Ctrl+b w + + # Move to previous session + Ctrl+b ( + + # Move to next Session + Ctrl+b ) + + # Create window + Ctrl+b c + + # Rename current window + Ctrl+b , + + # Close current window + Ctrl+b & + + # List windows + Ctrl+b w + + # Previous window + Ctrl+b p + + # Next window + Ctrl+b n + + # Switch/select window by number + Ctrl+b 0..9 + + # Toggle last active window + Ctrl+b l + + # Reorder window, swap window number 2(src) and 1(dst) + : swap-window -s 2 -t 1 + + # Move current window to the left by one position + : swap-window -t -1 + + # Toggle last active pane + Ctrl+b ; + + # Split pane with horizontal layout + Ctrl+b % + + # Split pane with vertical layout + Ctrl+b " + + # Move the current pane left + Ctrl+b { + + # Move the current pane right + Ctrl+b } + + # Switch to pane to the direction + Ctrl+b ↑ + Ctrl+b ← + Ctrl+b → + Ctrl+b ↓ + From b7609b886e8aef862b982b31a99b4cc12ca33fd9 Mon Sep 17 00:00:00 2001 From: DeadSkull786 <83582456+DeadSkull786@users.noreply.github.com> Date: Thu, 20 Oct 2022 02:15:35 +0530 Subject: [PATCH 08/72] Update K8s_CheatSheet.md --- K8s_CheatSheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/K8s_CheatSheet.md b/K8s_CheatSheet.md index 46f5a47..30badc2 100644 --- a/K8s_CheatSheet.md +++ b/K8s_CheatSheet.md @@ -19,3 +19,5 @@ #Describe specific pod in deployment that is in the selected namespace with a bit more detail kubectl -n describe deployments.apps + #List all services in the namespace + kubectl get services From edb28504fc4602dfaf8607b9701db845c04afe88 Mon Sep 17 00:00:00 2001 From: BigBenzi <116077900+BigBenzi@users.noreply.github.com> Date: Thu, 20 Oct 2022 02:20:35 +0530 Subject: [PATCH 09/72] Update mongodb_cheatsheet.md --- mongodb_cheatsheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mongodb_cheatsheet.md b/mongodb_cheatsheet.md index ad3a0e2..f009558 100644 --- a/mongodb_cheatsheet.md +++ b/mongodb_cheatsheet.md @@ -44,4 +44,7 @@ #To display documents from collection (first 10) db.collection_name.find() + + #Listing All Indexes + db.collection_name.getIndexes() From 5c65ee50f19e961804cbc2b4443967c2e8df74c6 Mon Sep 17 00:00:00 2001 From: CheemsAndCheems <116098027+CheemsAndCheems@users.noreply.github.com> Date: Thu, 20 Oct 2022 11:19:03 +0530 Subject: [PATCH 10/72] Update K8s_CheatSheet.md --- K8s_CheatSheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/K8s_CheatSheet.md b/K8s_CheatSheet.md index 46f5a47..f6df98c 100644 --- a/K8s_CheatSheet.md +++ b/K8s_CheatSheet.md @@ -19,3 +19,5 @@ #Describe specific pod in deployment that is in the selected namespace with a bit more detail kubectl -n describe deployments.apps + #Get a deployment's status subresource + kubectl get deployment nginx-deployment --subresource=status From a4fb1fcba8fbff10fa44b93788fae4c0318082d6 Mon Sep 17 00:00:00 2001 From: nikhilkalburgi <70331875+nikhilkalburgi@users.noreply.github.com> Date: Thu, 20 Oct 2022 18:54:20 +0530 Subject: [PATCH 11/72] Update MYSQL_Cheatsheet.md --- MYSQL_Cheatsheet.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MYSQL_Cheatsheet.md b/MYSQL_Cheatsheet.md index f78c2c6..8cc18df 100644 --- a/MYSQL_Cheatsheet.md +++ b/MYSQL_Cheatsheet.md @@ -76,3 +76,9 @@ MYSQL #Deletes multiple views. DROP VIEW VIEW1,VIEW2…; + + #Truncate a table + TRUNCATE [TABLE] TABLENAME; + + #Rename a table + RENAME TABLE OLDTABLENAME TO NEWTABLENAME; From aec18280dd6f322e465f0f4b83700abf0ff90eb1 Mon Sep 17 00:00:00 2001 From: nikhilkalburgi <70331875+nikhilkalburgi@users.noreply.github.com> Date: Thu, 20 Oct 2022 18:59:50 +0530 Subject: [PATCH 12/72] Update MYSQL_Cheatsheet.md --- MYSQL_Cheatsheet.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MYSQL_Cheatsheet.md b/MYSQL_Cheatsheet.md index 8cc18df..a00bb20 100644 --- a/MYSQL_Cheatsheet.md +++ b/MYSQL_Cheatsheet.md @@ -78,7 +78,7 @@ MYSQL DROP VIEW VIEW1,VIEW2…; #Truncate a table - TRUNCATE [TABLE] TABLENAME; + TRUNCATE [TABLE] table_name; #Rename a table - RENAME TABLE OLDTABLENAME TO NEWTABLENAME; + RENAME TABLE table_name TO table_name; From d3c5c8f71acff511efd5f668007ca54c968b0eb0 Mon Sep 17 00:00:00 2001 From: nikhilkalburgi <70331875+nikhilkalburgi@users.noreply.github.com> Date: Thu, 20 Oct 2022 19:08:03 +0530 Subject: [PATCH 13/72] Update Windows_CheatSheet.md --- Windows_CheatSheet.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Windows_CheatSheet.md b/Windows_CheatSheet.md index eee380e..d79b2f8 100644 --- a/Windows_CheatSheet.md +++ b/Windows_CheatSheet.md @@ -86,4 +86,10 @@ WINDOWS: #To exit the command prompt window exit + + #To get system information + systeminfo + + #To get IP configuration + ipconfig From 38ac857c187bfafd3db7f33f3c8a3583edb339d5 Mon Sep 17 00:00:00 2001 From: nikhilkalburgi <70331875+nikhilkalburgi@users.noreply.github.com> Date: Thu, 20 Oct 2022 19:21:03 +0530 Subject: [PATCH 14/72] Update SQL_CheatSheet.md --- SQL_CheatSheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SQL_CheatSheet.md b/SQL_CheatSheet.md index eff8cd1..ea8a439 100644 --- a/SQL_CheatSheet.md +++ b/SQL_CheatSheet.md @@ -49,6 +49,9 @@ MariaDB: #Return the intersection of two queries SELECT c1,c2 FROM t1 INTERSECT SELECT c1,c2 FROM t2; + + #Return the UNION of two queries + SELECT c1,c2 FROM t1 UNION SELECT c1,c2 FROM t2; #Drop a table DROP TABLE [IF EXISTS] table_name; From 20275bbf9ff4b99952d05c59fdc90982069910c7 Mon Sep 17 00:00:00 2001 From: Mohamed Ashfak <39162550+AshfakMRM@users.noreply.github.com> Date: Fri, 21 Oct 2022 13:57:26 +0530 Subject: [PATCH 15/72] Added some explanation about SQL join Operators --- MYSQL_Cheatsheet.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MYSQL_Cheatsheet.md b/MYSQL_Cheatsheet.md index f78c2c6..54b1ae3 100644 --- a/MYSQL_Cheatsheet.md +++ b/MYSQL_Cheatsheet.md @@ -41,6 +41,11 @@ MYSQL #Tests for existence of a certain record. Returns a boolean value. SELECT * FROM TABLE NAME WHERE EXIST (SUB QUERY); + #A JOIN clause is used to combine rows from two or more tables, based on a related column between them. + #INNER JOIN: Returns records that have matching values in both tables + #LEFT JOIN: Returns all records from the left table, and the matched records from the right table + #RIGHT JOIN: Returns all records from the right table, and the matched records from the left table + #CROSS JOIN: Returns all records from both tables #Inner Join selects records that have the same values in two same or distinct tables. SELECT COLUMN(S) FROM TABLENAME1 INNER JOIN TABLENAME2 ON TABLENAME1.COLUMNAME=TABLENAME2.COLUMNAME; From 8f9e07f000ef92eb4f6cf6322f42d711953393fd Mon Sep 17 00:00:00 2001 From: Mohamed Ashfak <39162550+AshfakMRM@users.noreply.github.com> Date: Fri, 21 Oct 2022 13:57:49 +0530 Subject: [PATCH 16/72] Update MYSQL_Cheatsheet.md --- MYSQL_Cheatsheet.md | 1 + 1 file changed, 1 insertion(+) diff --git a/MYSQL_Cheatsheet.md b/MYSQL_Cheatsheet.md index 54b1ae3..d0cd8d4 100644 --- a/MYSQL_Cheatsheet.md +++ b/MYSQL_Cheatsheet.md @@ -46,6 +46,7 @@ MYSQL #LEFT JOIN: Returns all records from the left table, and the matched records from the right table #RIGHT JOIN: Returns all records from the right table, and the matched records from the left table #CROSS JOIN: Returns all records from both tables + #Inner Join selects records that have the same values in two same or distinct tables. SELECT COLUMN(S) FROM TABLENAME1 INNER JOIN TABLENAME2 ON TABLENAME1.COLUMNAME=TABLENAME2.COLUMNAME; From a741a8590a404409eeca2983d6168af74c45b41c Mon Sep 17 00:00:00 2001 From: Mohamed Ashfak <39162550+AshfakMRM@users.noreply.github.com> Date: Fri, 21 Oct 2022 14:08:03 +0530 Subject: [PATCH 17/72] Update MYSQL_Cheatsheet.md --- MYSQL_Cheatsheet.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/MYSQL_Cheatsheet.md b/MYSQL_Cheatsheet.md index d0cd8d4..c577a83 100644 --- a/MYSQL_Cheatsheet.md +++ b/MYSQL_Cheatsheet.md @@ -40,12 +40,6 @@ MYSQL #Tests for existence of a certain record. Returns a boolean value. SELECT * FROM TABLE NAME WHERE EXIST (SUB QUERY); - - #A JOIN clause is used to combine rows from two or more tables, based on a related column between them. - #INNER JOIN: Returns records that have matching values in both tables - #LEFT JOIN: Returns all records from the left table, and the matched records from the right table - #RIGHT JOIN: Returns all records from the right table, and the matched records from the left table - #CROSS JOIN: Returns all records from both tables #Inner Join selects records that have the same values in two same or distinct tables. SELECT COLUMN(S) FROM TABLENAME1 INNER JOIN TABLENAME2 ON TABLENAME1.COLUMNAME=TABLENAME2.COLUMNAME; From 7abb97e61c68878e3d6e44aa10b859ec872ee094 Mon Sep 17 00:00:00 2001 From: Mohamed Ashfak <39162550+AshfakMRM@users.noreply.github.com> Date: Fri, 21 Oct 2022 14:09:21 +0530 Subject: [PATCH 18/72] Added some VS Code Shortcuts --- VSCode_CheatSheet.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/VSCode_CheatSheet.md b/VSCode_CheatSheet.md index d4c403d..42d1f76 100644 --- a/VSCode_CheatSheet.md +++ b/VSCode_CheatSheet.md @@ -140,3 +140,9 @@ VsCode: #Jump to matching bracket Ctrl + SHIFT + \ + + #Indent Line + Ctrl + ] + + #Outdent Line + Ctrl + [ From adbb0b8c7339ef2f38f08d7f24940bef0d4057a4 Mon Sep 17 00:00:00 2001 From: afraz Date: Sat, 22 Oct 2022 15:56:58 +0500 Subject: [PATCH 19/72] Added AWS S3 commands - List s3 buckets command. - Sync objects commands. --- aws_CheatSheet.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/aws_CheatSheet.md b/aws_CheatSheet.md index 2a50f9d..d2b7548 100644 --- a/aws_CheatSheet.md +++ b/aws_CheatSheet.md @@ -57,6 +57,16 @@ #Create a bucket in specified region aws s3 mb bucket_name --region region_name + + #List all buckets in your account + aws s3 ls + + #Sync objects under a specified bucket prefix to a local directory + aws sync + + #Sync objects in a local directory to a specified bucket prefix + aws sync + #Amazon SNS #Get the list of subscribed sns aws sns list-subscriptions From 587661a7d37dc5436cf209dee89d42ed0adc6e0b Mon Sep 17 00:00:00 2001 From: MoinCR7 Date: Sat, 22 Oct 2022 23:09:33 +0530 Subject: [PATCH 20/72] Added list.append() method --- Python_CheatSheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Python_CheatSheet.md b/Python_CheatSheet.md index 4fe644a..2c14ade 100644 --- a/Python_CheatSheet.md +++ b/Python_CheatSheet.md @@ -247,3 +247,5 @@ #This string method splits a string into a list. string.split(separator, maxsplit) + #This method adds an element at the end of the list. + list.append(element) From 121deb89a58767385d20b894ac3b8cc0f18be6eb Mon Sep 17 00:00:00 2001 From: renjithjoseph87 Date: Sat, 22 Oct 2022 23:14:26 +0530 Subject: [PATCH 21/72] Added Get-NetIPAddress cmdlet --- Powershell_CheatSheet.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Powershell_CheatSheet.md b/Powershell_CheatSheet.md index c4f44b8..56fcb69 100644 --- a/Powershell_CheatSheet.md +++ b/Powershell_CheatSheet.md @@ -2,6 +2,9 @@ Powershell: cmdlets: +# This command allows you to get the IP address info of the network adapters intalled on the computer + Get-NetIPAddress + # This command allows you to get support with PowerShell Get-Help @@ -144,4 +147,4 @@ Alias: Remove-Variable # Suspends an activity for a specified period of time - Start-Sleep \ No newline at end of file + Start-Sleep From 5e92637f01b29b9935362e1858fd81effd99a8ca Mon Sep 17 00:00:00 2001 From: CristinaEU1 Date: Sun, 23 Oct 2022 20:55:01 +0300 Subject: [PATCH 22/72] CristinaEU1 --- aws_CheatSheet.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aws_CheatSheet.md b/aws_CheatSheet.md index 2a50f9d..d9038e9 100644 --- a/aws_CheatSheet.md +++ b/aws_CheatSheet.md @@ -61,4 +61,6 @@ #Get the list of subscribed sns aws sns list-subscriptions - + #Amazon AWS + #Create alias for frequently-used commands + $ whoami = sts get-caller-identity From 8a195682aa12a1e35059d5fd08e48ba427d2bcf0 Mon Sep 17 00:00:00 2001 From: Rhoda Pickens Date: Sun, 23 Oct 2022 22:24:03 -0500 Subject: [PATCH 23/72] Added Flexbox CheatSheet --- Flexbox_CheatSheet.md | 67 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Flexbox_CheatSheet.md diff --git a/Flexbox_CheatSheet.md b/Flexbox_CheatSheet.md new file mode 100644 index 0000000..dafae37 --- /dev/null +++ b/Flexbox_CheatSheet.md @@ -0,0 +1,67 @@ + + + #Allow Flexbox display + display: flex; + + #Align items horizontally + justify-content: + #Options include: + flex-start; - items align to left of container + flex-end; - items align to right of container + center; - items align at center of container + space-between; - equal spacing between items, with first at start and final at end + space-around; - equal spacing around items + space-evenly; - even spacing around items with a full space at either end + + #Align items vertically + align-items: + #Options include: + flex-start; - items align to top of container + flex-end; - items align to bottom of container + center; - items align to vertical center of container + baseline; - items align to baseline of container + stretch; - items stretched to fit + + #Change direction + flex-direction: + #Options include: + row; - items placed the same as text direction + row-reverse; - items placed opposite to text direction + column; - items are placed top to bottom + column-reverse: items are placed bottom to top + + #Align specific item + align-self: + #Options include same values as 'align-items' but for a specific item + #Overrides 'align-items' + + #Wrap items + flex-wrap: + #Options include: + nowrap: every items is fit to a single line + wrap: items wrap around to additional lines + wrap-reverse: items wrap around to additional lines in reverse + + #Combination of direction and wrap + flex-flow: + #Options include: + row wrap; - sets rows and wraps them + row nowrap; + row reverse nowrap; + column reverse; + column wrap-reverse + column wrap + + #Space multiple lines a certain way + align-content: + #Options include: + flex-start; - lines packed at top of container + flex-end; - lines packed at bottom of container + center; lines packed at vertical center of container + space-between: lines display with equal spacing between them + space-around: lines display with equal spacing around them + stretch: lines are stretched to fit the container + + #Order items + order: + #Can be positive or negative. Default order value of 0. From 1bfe9be76f26851e7ed2f85e47600299e37b65a0 Mon Sep 17 00:00:00 2001 From: Dhirajjk416 <77804783+Dhirajjk416@users.noreply.github.com> Date: Tue, 25 Oct 2022 00:07:45 +0530 Subject: [PATCH 24/72] Update VSCode_CheatSheet.md This command is useful for to go to previous error or warning. --- VSCode_CheatSheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VSCode_CheatSheet.md b/VSCode_CheatSheet.md index a68701c..c0e6e28 100644 --- a/VSCode_CheatSheet.md +++ b/VSCode_CheatSheet.md @@ -32,6 +32,8 @@ VsCode: #Go to Line Ctrl + G + #Go to previous error or warning + shift + F8 #Switch tab in Current Navigation Group Ctrl + Tab From 91c29e109e3dd38c471b23f3afa2af6beaf70b68 Mon Sep 17 00:00:00 2001 From: Cyb3rKn1gh7 <45071972+Cyb3rKn1gh7@users.noreply.github.com> Date: Mon, 31 Oct 2022 23:39:27 +0530 Subject: [PATCH 25/72] Update Linux_CheatSheet.md added cut command with basic options --- Linux_CheatSheet.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Linux_CheatSheet.md b/Linux_CheatSheet.md index c3a00c8..a81cf74 100644 --- a/Linux_CheatSheet.md +++ b/Linux_CheatSheet.md @@ -380,3 +380,10 @@ Linux/Unix: #Set keyboard input localectl set-keymap + + #cut command that allow you to process and filter text files + cut