DeveloperBreeze

How to Completely Uninstalling Steam on Linux

# Step 1: Remove Steam and Steam launcher
sudo apt-get remove steam steam-launcher

# Step 2: Purge Steam along with configuration files
sudo apt-get purge steam steam-launcher

# Step 3: Remove Steam directory and links in the home folder
rm -rf ~/.local/share/Steam && rm -rf ~/.steam*

This will fully uninstall Steam and delete any related configuration or leftover files.

Continue Reading

Discover more amazing content handpicked just for you

Note

Commonly used English phrases and their natural spoken

No preview available for this content.

Jan 16, 2025
Read More
Note

CSS Grid

No preview available for this content.

Jan 05, 2025
Read More
Note

Note on `npm run dev` in a Laravel Project

No preview available for this content.

Oct 24, 2024
Read More
Note

Finding and Displaying Laravel Log Modification Time Using find and stat

  • Comprehensive Search: Finds files recursively in the specified directory.
  • Clear Output: Displays both modification time and file path in a readable format.
  • Cross-Compatibility: Works on systems without ls --time=modification.

You can adapt the command for other file types or directories as needed.

Oct 24, 2024
Read More
Note
javascript nodejs

Vite vs Webpack

  • Vite: Vite is designed to be faster, especially in development mode. It achieves this by serving native ES modules directly to the browser, which eliminates the need for a full bundle during development. It also uses an optimized Hot Module Replacement (HMR) system, which significantly speeds up updates.
  • Webpack: Webpack bundles the entire project before serving it, which can make the development process slower, especially for larger projects. However, it also provides a robust and flexible environment for production builds.
  • Vite: Vite comes with a simpler configuration out of the box. It’s opinionated, meaning it has built-in best practices and defaults, making it easier to get started with.
  • Webpack: Webpack is highly configurable and can be customized extensively, but this flexibility often comes with a steeper learning curve and more complex configuration files.

Aug 14, 2024
Read More
Note
bash

How to reset your local Git repository to match the remote repository exactly

Replace <branch-name> with the name of the branch you want to reset.

Sometimes, branches are deleted from the remote but they still exist in your local copy. To remove these stale branches from your local repository, you can use:

Aug 09, 2024
Read More
Note
javascript css +1

Automatically add Tailwind CSS and jQuery classes to any table

To automatically add Tailwind CSS and jQuery classes to any table on a page, use the following approach.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Table Styling with Tailwind CSS</title>
    <!-- Include Tailwind CSS -->
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <!-- Include jQuery -->
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>

<!-- Example table -->
<table>
    <thead>
        <tr>
            <th>Header 1</th>
            <th>Header 2</th>
            <th>Header 3</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Data 1</td>
            <td>Data 2</td>
            <td>Data 3</td>
        </tr>
        <tr>
            <td>Data 4</td>
            <td>Data 5</td>
            <td>Data 6</td>
        </tr>
    </tbody>
</table>

<!-- jQuery script to apply classes -->
<script>
    $(document).ready(function() {
        $('table').each(function() {
            $(this).addClass('min-w-full bg-white border border-gray-200');
            $(this).find('thead').addClass('bg-gray-50');
            $(this).find('th').addClass('px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider border-b border-gray-200');
            $(this).find('tbody').addClass('bg-white divide-y divide-gray-200');
            $(this).find('tr').addClass('hover:bg-gray-100');
            $(this).find('td').addClass('px-6 py-4 whitespace-nowrap text-sm text-gray-900');
        });
    });
</script>

</body>
</html>

Aug 03, 2024
Read More

Discussion 0

Please sign in to join the discussion.

No comments yet. Start the discussion!