Skip to content

Instantly share code, notes, and snippets.

View vdelacou's full-sized avatar

Vincent DELACOURT vdelacou

View GitHub Profile
@vdelacou
vdelacou / .eslintignore
Last active May 2, 2024 10:57
React Vite Typescript Eslint
vite.config.ts
src/vite-env.d.ts
dist
@vdelacou
vdelacou / .editorconfig
Last active January 31, 2024 18:55
Create React app Typescript with eslint
# Editor configuration, see http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
@vdelacou
vdelacou / README.md
Last active January 30, 2024 23:54
Create Multi Tenant AWS Amplify For B2B

npm install -g @aws-amplify/cli

npm init private

amplify init

? Enter a name for the project tenant
? Enter a name for the environment develop
? Choose your default editor: Visual Studio Code
@vdelacou
vdelacou / .eslintrc.json
Last active July 23, 2023 06:53
Start node project
{
"env": {
"node": true,
"es2020": true
},
"extends": [
"plugin:prettier/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
@vdelacou
vdelacou / depoy.sh
Created May 13, 2023 04:45
Deploy nextjs
npx -y create-turbo@latest ./app-name pnpm -e with-tailwind
@vdelacou
vdelacou / password_autofill_expo_how_to.md
Created December 20, 2022 02:23 — forked from amcvitty/password_autofill_expo_how_to.md
Configure Password Autofill on a React Native Expo app

Password Autofill on a React Native Expo app

Developing an app to accompany our website, worried that we would lose people in the transition if they couldn't remember their password, we were looking to make our app do Password AutoFill, a feature in iOS.

A talk from WWDC introducing the feature: https://developer.apple.com/videos/play/wwdc2017/206/

It works well, but there were a few bumps in the road making it work for React Native on Expo, so here are some notes to help out.

Apple's docs are here: https://developer.apple.com/documentation/security/password_autofill and they say something like this:

@vdelacou
vdelacou / UploadFileComponent.tsx
Last active May 9, 2022 14:09
React / Typescript / Material UI / Upload file / Custom Button / Async /
// import .....
const inputUploadFile: CSSProperties = {
display: 'none',
};
const buttonUploadFile: CSSProperties = {
margin: 8,
};
@vdelacou
vdelacou / .eslintrc.json
Last active February 22, 2022 04:09
Create NEXT app Typescript with typescript eslint jest and TailwindCSS
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"airbnb",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
@vdelacou
vdelacou / 01_README.md
Last active January 22, 2022 04:48
How to start a Serverless API quarkus

Create boostrap project with quarkus

Change your ProjectGroupId and ProjectArtifactGroupId below:

mvn io.quarkus.platform:quarkus-maven-plugin::create \
    -DprojectGroupId="com.sls" \
    -DprojectArtifactId="serveless-template"
@vdelacou
vdelacou / README.md
Last active April 5, 2021 02:41
Add tailwind CSS