Skip to content

Instantly share code, notes, and snippets.

View Karnak19's full-sized avatar

Basile Karnak19

View GitHub Profile
@Karnak19
Karnak19 / settings.json
Created April 12, 2022 09:44
vscode settings
{
"[ansible]": {
"gitlens.codeLens.scopes": ["document"]
},
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
@Karnak19
Karnak19 / logo.svg
Last active December 14, 2021 18:11
Moncarnet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Karnak19
Karnak19 / .eslintrc.js
Created December 1, 2021 13:01
React Typescript Eslint
module.exports = {
root: true, // Make sure eslint picks up the config at the root of the directory
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020, // Use the latest ecmascript standard
sourceType: "module", // Allows using import/export statements
ecmaFeatures: {
jsx: true, // Enable JSX since we're using React
},
},
@Karnak19
Karnak19 / .zshrc
Last active October 19, 2021 15:40
zshrc
#### FIG ENV VARIABLES ####
# Please make sure this block is at the start of this file.
[ -s ~/.fig/shell/pre.sh ] && source ~/.fig/shell/pre.sh
#### END FIG ENV VARIABLES ####
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/basilevernouillet/.oh-my-zsh"
version: "3.1"
services:
db:
image: mariadb:latest
restart: always
ports:
- 3307:3306
environment:
MYSQL_ROOT_PASSWORD: root
version: "3.1"
services:
db:
image: mariadb:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
ports:
- 3308:3306
const BASE_URL = 'https://jsonplaceholder.typicode.com';
export default {
TODOS_URL: `${BASE_URL}/todos`,
USERS_URL: `${BASE_URL}/users`,
};
@Karnak19
Karnak19 / App.css
Last active April 3, 2021 17:25
react-starter-wcs tailwind
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
background-color: #1d0900;
color: #ed6c6d;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
const { exec } = require("child_process");
const users = [
"Thiez-64",
"Chabelle78",
"aeryle",
"Tweaka",
"rcarondw",
"mryckewaert",
"vicwildcode",
[
{
"backcolor": "#ffffff",
"name": "Adelheid",
"author": "floookay",
"switchMount": "cherry",
"switchBrand": "gateron",
"pcb": true
},
[