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
// Encode password and get it | |
docker-compose exec php bin/console security:encode-password | |
// Clean all not useful containers | |
docker system prune -a | |
docker volume prune // WARNING! it command remove all database | |
// Update database by key | |
update users set "confirmed" = true // set all users confirmed | |
update users set "password" = '$2y$13$tbgx1NP/YnzuiJYtZBPF8.wHc72rB5qzc5nTsan5TniQZmZkmlj2i' // set all users password '1' |
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
import { useState } from 'react'; | |
import axios from 'axios'; | |
type RequestConfig = { | |
url?: string; | |
baseURL?: string; | |
initialIsLoading?: boolean; | |
withCredentials?: boolean; | |
onSuccess?: Function; | |
onError?: Function; |
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
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |