<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kruti Bhagat</title>
    <description>The latest articles on DEV Community by Kruti Bhagat (@krutidb).</description>
    <link>https://dev.to/krutidb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3804744%2Fba35e432-bb3e-4dc2-9b34-7c17aaa2219c.png</url>
      <title>DEV Community: Kruti Bhagat</title>
      <link>https://dev.to/krutidb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/krutidb"/>
    <language>en</language>
    <item>
      <title>Chrome's Split View</title>
      <dc:creator>Kruti Bhagat</dc:creator>
      <pubDate>Wed, 04 Mar 2026 12:30:11 +0000</pubDate>
      <link>https://dev.to/krutidb/chromes-split-view-56mi</link>
      <guid>https://dev.to/krutidb/chromes-split-view-56mi</guid>
      <description>&lt;p&gt;Do you ever wonder what more could possibly be added to established products like Chrome or Gmail? Yet new features — like Chrome’s Split View — continue to surprise me, and I’m all for it.&lt;/p&gt;

&lt;p&gt;I use the &lt;a href="https://rectangleapp.com/" rel="noopener noreferrer"&gt;Rectangle window manager app&lt;/a&gt; to adjust multiple windows on my screen. But when I have to split the view with 2 Chrome tabs, I often separate those tabs into another Chrome window. With this cool split-view feature, I get to stay in the same Chrome window and have only specific tabs split side by side. &lt;/p&gt;

&lt;p&gt;I was probably living under a rock as people are talking about this since Dec 2025, and I only discovered it by accident today while I was copying my post to dev.to. Either way, I already see myself using it every day.&lt;/p&gt;

&lt;p&gt;To have a split view, select the two tabs and right-click. Select "Add tab to new split view" option.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4de6s09laz9jp7g3lsm5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4de6s09laz9jp7g3lsm5.png" alt=" " width="800" height="490"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And you have merged tabs!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe6cevs2roeinbe7s76i6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe6cevs2roeinbe7s76i6.png" alt=" " width="800" height="519"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can resize the frames like this&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flce3oxvzx4ahm4ul85jl.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flce3oxvzx4ahm4ul85jl.gif" alt=" " width="480" height="274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you don't see this option, then you likely have this feature disabled. Type chrome://flags/#side-by-side in new tab and enable the split view feature.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1xdaz7wyv5s7lbmapgc8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1xdaz7wyv5s7lbmapgc8.png" alt=" " width="800" height="171"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Checkout the official blog post here: &lt;a href="https://blog.google/products-and-platforms/products/chrome/chrome-productivity-improvements/" rel="noopener noreferrer"&gt;https://blog.google/products-and-platforms/products/chrome/chrome-productivity-improvements/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>googlechrome</category>
      <category>splitview</category>
      <category>browser</category>
      <category>tabs</category>
    </item>
    <item>
      <title>SQL Cheatsheet</title>
      <dc:creator>Kruti Bhagat</dc:creator>
      <pubDate>Wed, 04 Mar 2026 11:40:54 +0000</pubDate>
      <link>https://dev.to/krutidb/sql-cheatsheet-4aii</link>
      <guid>https://dev.to/krutidb/sql-cheatsheet-4aii</guid>
      <description>&lt;p&gt;Here's a cheat sheet to quickly review all SQL queries before an interview. &lt;/p&gt;

&lt;h2&gt;
  
  
  TABLE Queries
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CREATE TABLE table_name (column1 datatype, column2 datatype, ... );

DROP TABLE table_name;

ALTER TABLE table_name ADD column_name datatype;

INSERT INTO table_name (column1, column2)
VALUES (value_or_expr1, value_or_expr2);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  SELECT Queries
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT * FROM table_name;

SELECT DISTINCT column_name1, column_name2 FROM table_name;

SELECT column_name1 FROM table_name
ORDER BY column_name2 ASC / DESC; /* (by default it is ascending if
you don't write DESC) */

SELECT column_name1 FROM table_name WHERE column_name2 BETWEEN x AND y;
SELECT column_name1 FROM table_name WHERE column_name2 NOT BETWEEN x AND y;

SELECT column_name1 FROM table_name WHERE column_name1 LIKE "%XYZ%";
SELECT column_name1 FROM table_name WHERE column_name1 NOT LIKE "%XYZ%";

SELECT column_name FROM table_name
ORDER BY column_name1
LIMIT number_of_rows
OFFSET num_offset; /* The LIMIT will reduce the number of rows to
return, and the optional OFFSET will specify where to begin counting
the number rows from. */

SELECT table1_column, table2_column, …
FROM table1
INNER/LEFT/RIGHT/FULL JOIN JOIN table2 
    ON table1.id = table2.matching_id
WHERE condition(s)
ORDER BY table1_column, … ASC/DESC
LIMIT num_limit OFFSET num_offset;

SELECT AGG_FUNC(column_or_expression) AS aggregate_description, …
FROM table_name
WHERE constraint_expression
GROUP BY column_name

AGG_FUNC -&amp;gt; COUNT(*), COUNT(column), MIN(column), MAX(column), AVG(column), SUM(column)

SELECT group_by_column, AGG_FUNC(column_expression) AS aggregate_result_alias, …
FROM mytable
WHERE condition
GROUP BY column
HAVING group_condition;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A complex SQL SELECT query combining joins, aggregation, filtering, sorting, and pagination would look something like this.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT DISTINCT column, AGG_FUNC(column_or_expression), …
FROM mytable
    JOIN another_table
      ON mytable.column = another_table.column
    WHERE constraint_expression
    GROUP BY column
    HAVING constraint_expression
    ORDER BY column ASC/DESC
    LIMIT count OFFSET COUNT;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I hope this helps you with interview prep as it does to me. I find &lt;a href="https://sqlbolt.com/" rel="noopener noreferrer"&gt;https://sqlbolt.com/&lt;/a&gt; super helpful if you want to learn SQL queries in depth. Thanks!&lt;/p&gt;

</description>
      <category>sql</category>
      <category>cheatsheet</category>
      <category>beginners</category>
      <category>interview</category>
    </item>
    <item>
      <title>Git Cheatsheet</title>
      <dc:creator>Kruti Bhagat</dc:creator>
      <pubDate>Tue, 03 Mar 2026 23:07:06 +0000</pubDate>
      <link>https://dev.to/krutidb/git-cheatsheet-19p2</link>
      <guid>https://dev.to/krutidb/git-cheatsheet-19p2</guid>
      <description>&lt;p&gt;This cheatsheet lists commands we use to submit a PR (pull request) to a GH (github) repo. It is mainly for my reference, but if you found it helpful, leave a like!&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git checkout -b *branch_name*&lt;/code&gt; Creates and switches to the new branch&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git checkout&lt;/code&gt; - switch to the previous branch&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git status&lt;/code&gt; to check files that have been changed&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git diff&lt;/code&gt; shows the code difference in the terminal&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git add .&lt;/code&gt; to stage all files for commit&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git commit -m "*commit message goes here*"&lt;/code&gt; to commit the changes&lt;/p&gt;

&lt;p&gt;You can use &lt;code&gt;git commit&lt;/code&gt; and then you’ll be redirected to either nano or vi editors to enter the commit message.&lt;/p&gt;

&lt;p&gt;For nano editor: Type message, &lt;code&gt;^X&lt;/code&gt; to exit the file and &lt;code&gt;y&lt;/code&gt; to save the file.&lt;/p&gt;

&lt;p&gt;For vi editor: &lt;code&gt;i&lt;/code&gt; for insert mode, type the message and then ESC. &lt;code&gt;:wq&lt;/code&gt; to save text and exit, or &lt;code&gt;:q&lt;/code&gt; to simply exit&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git push --set-upstream origin *branch_name*&lt;/code&gt; to push the branch and changes. &lt;code&gt;git push&lt;/code&gt; works too, but you have to mention the branch_name the first time you push changes.&lt;/p&gt;

&lt;p&gt;Revert commits before they are pushed to GH repo:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Soft Reset – Changes stay, commit is reverted&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git log&lt;/code&gt; (Shows commit log. We find the previous commit hash with it.)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git reset --soft ***previous commit hash***&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git reset —soft HEAD^1&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Hard Reset – Changes and commit both are reverted&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;git reset --hard ***previous commit hash***&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git reset —hard HEAD^1&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Revert commits after they are pushed to the GH repo:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git revert ***commit hash***&lt;/code&gt; to revert the commit that was pushed. This will revert the commit locally. This should be followed by git push so that the changes are reverted on GH repo.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git bisect&lt;/code&gt; checks what broke between specific commits and narrows down the search between a commit range.&lt;/p&gt;

&lt;p&gt;Reset the local branch to match the remote branch:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git fetch origin&lt;/code&gt; fetches the latest changes from the remote branch&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git reset --hard origin/*branch_name*&lt;/code&gt; resets local branch&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git clean -f -d&lt;/code&gt; to delete untracked files&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git pull&lt;/code&gt; to pull all the contents from the repo&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>github</category>
      <category>cheatsheet</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
