Skip to content

Instantly share code, notes, and snippets.

View cloudglides's full-sized avatar
:shipit:
suffering w rust

Cloud cloudglides

:shipit:
suffering w rust
View GitHub Profile
require('dotenv').config();
const express = require("express");
const cors = require("cors");
const connectDB = require("./utils/db");
const User = require("./models/userModel");
const app = express();
app.use(express.json());
app.use(cors());
@cloudglides
cloudglides / dnf.conf
Created August 6, 2024 11:06
This dnf.conf file is optimized for speed and efficiency in Fedora's DNF package manager. It ensures package integrity, limits old kernel packages, automatically cleans up unneeded dependencies, avoids disruptive updates, skips unavailable repositories, enables plugins, uses the fastest mirrors, reduces metadata updates, allows parallel download…
# DNF Configuration File
# This file controls the behavior of the DNF package manager
[main]
# Enable GPG check to ensure package integrity and authenticity
gpgcheck=True
# Limit the number of kernel packages retained to avoid filling up /boot
installonly_limit=3
@cloudglides
cloudglides / settings.json
Last active August 6, 2024 15:51
settings.json of my vscode
{
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.donotShowInfoMsg": true,
"git.ignoreMissingGitWarning": true,
"explorer.confirmDelete": false,
"git.autofetch": true,
"git.enableSmartCommit": true,
"files.autoSave": "afterDelay",
"workbench.iconTheme": "icons",
"javascript.updateImportsOnFileMove.enabled": "always",