Article | Prix du marché | Mon prix de vente |
---|---|---|
MSI MPG X570 Gaming Pro AMD | 329 | 200 |
2x 32gb 3200Mhz Vengeance LPX DDR4 | 246 | 100 |
Evga geforce rtx 2070 super | 573 (rupture) | 350 |
TOTAL: | 1105 Euro | 650 Euro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias zdev="node ./z-dev/cli.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-console */ | |
const path = require("path"); | |
const fs = require("fs"); | |
const { promisify } = require("util"); | |
const yargs = require("yargs"); | |
const readdir = promisify(fs.readdir); | |
/** | |
* Look ma, it's cp -R. | |
* @param {string} source The path to the thing to copy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ABORT_BUILD_CODE = 0; | |
const CONTINUE_BUILD_CODE = 1; | |
const continueBuild = () => { | |
console.log("🟢 - building"); | |
process.exit(CONTINUE_BUILD_CODE); | |
}; | |
const abortBuild = (reason) => { | |
console.log("⚪️ - build canceled :", reason); | |
process.exit(ABORT_BUILD_CODE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# Github | |
alias ga="git add -A" | |
alias gc="git commit -m" | |
alias gc!="git commit --amend" | |
alias gcundo!="git reset --soft HEAD@{1}" # undo last commit ammed: https://stackoverflow.com/a/1459264/7271467 | |
alias gs="git switch -c" | |
alias gp="git remote prune origin" # prune tracking branches not on the remote. | |
alias pull="git pull" |
Simular Guides
- (My) Perfect Gaming VM Setup with GPU Passthrough – Virtualization Server Part 14
- Configuring GPU Passthrough with VFIO on Fedora 30 notes
Usefull Commands
lspci -nnk
list pci devicessudo grub2-mkconfig -o /etc/grub2-efi.cfg
updates the grubsudo call-a-friend @ballas
calls the best knowledge base, fuck wiki 🤣
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enables nvm to detect if there is an .nvmrc, if it finds it, | |
# then it should switch the configured version: | |
# https://github.com/nvm-sh/nvm#nvmrc | |
cdnvm() { | |
cd "$@"; | |
nvm_path=$(nvm_find_up .nvmrc | tr -d '\n') | |
# If there are no .nvmrc file, use the default nvm version | |
if [[ ! $nvm_path = *[^[:space:]]* ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
// Here is the base error classes to extend from | |
export class ApplicationError extends Error { | |
get name() { | |
return this.constructor.name | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '.env' >> .gitignore | |
git rm -r --cached .env | |
git add .gitignore | |
git commit -m 'untracking .env' | |
git push origin master |
NewerOlder