Skip to content

Instantly share code, notes, and snippets.

@yeasin-2002
yeasin-2002 / gist:7b7f79a6c3dc07945b4af822e80cdf7c
Created May 3, 2024 09:13
VS Code auto suggestions issue fix
for nextjs:
```
{
"include": ["**/*"],
"exclude": ["node_modules", "**/node_modules", "dist", "build", ".next"],
"compilerOptions": {
"paths": {
"@/*": ["./*"]
},
Code:
Library management system
Login page code:
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@model WebApplication6.Models.login
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@choco-bot
choco-bot / Install.txt
Created May 3, 2024 09:12
prometheus-sql-exporter v0.5 - Failed - Package Tests Results
==> default: Running provisioner: shell...
[ERROR] An error occurred in the underlying SSH library that Vagrant uses.
[ERROR] The error message is shown below. In many cases, errors from this
[ERROR] library are caused by ssh-agent issues. Try disabling your SSH
[ERROR] agent or removing some keys and try again.
[ERROR] If the problem persists, please report a bug to the net-ssh project.
[ERROR] timeout during server version negotiating

Job Title

Intern

Location

Mumbai

Position Type

Full-time, not remote

About Us

@MugoJames
MugoJames / CARD-COMPONENTS
Created May 3, 2024 09:12
calculating the final balance of an account given a list of transactions
function solution(A, D) {
// Initialize variables to keep track of total income and total card payments
let totalIncome = 0;
let totalCardPayments = 0;
// Iterate over the income array to calculate total income and count card payments
for (let i = 0; i < A.length; i++) {
totalIncome += A[i];// Add income for each month to the total
if (A[i] < 0) {
totalCardPayments++;// Count negative income values as card payments
}
Maintainers:
vinetos: tt, tt, tt, tt
x86_64-linux tt
x86_64-darwin tt
aarch64-darwin tt
aarch64-linux tt
@choco-bot
choco-bot / Install.txt
Created May 3, 2024 09:11
prometheus-grok-exporter v0.2.8 - Failed - Package Tests Results
==> default: Running provisioner: shell...
[ERROR] An error occurred in the underlying SSH library that Vagrant uses.
[ERROR] The error message is shown below. In many cases, errors from this
[ERROR] library are caused by ssh-agent issues. Try disabling your SSH
[ERROR] agent or removing some keys and try again.
[ERROR] If the problem persists, please report a bug to the net-ssh project.
[ERROR] timeout during server version negotiating
@CMCDragonkai
CMCDragonkai / cryptolink.txt
Created May 3, 2024 09:11
Cryptolink between Polykey Keynode and Github Identity
file:///home/ernest/Downloads/YSDA_Speech_HW10_NoiseReduction_bereliand%20(2).ipynb
-13:-50:63:64