This file contains hidden or 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
### create ssh keys on names - pers and work and add to the github | |
config in .ssh dir | |
Host pers | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/pers ### private key | |
IdentitiesOnly yes |
This file contains hidden or 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 { useEffect } from "react"; | |
import useAuth from "./useAuth"; | |
import useRefreshToken from "./useRefreshToken"; | |
import { axiosPrivate } from "../utils/axiosInstance"; | |
const useAxiosPrivate = () => { | |
const { user } = useAuth(); // context - which contains the JWT Token | |
const refresh = useRefreshToken(); // this hook hits the refresh token endpoint and returns the new access token | |
useEffect(() => { |
This file contains hidden or 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
" Configuration file for vim | |
set modelines=0 " CVE-2007-2438 | |
" Normally we use vim-extensions. If you want true vi-compatibility | |
" remove change the following statements | |
set nocompatible " Use Vim defaults instead of 100% vi compatibility | |
set backspace=2 " more powerful backspacing | |
" Don't write backup file if vim is being called by "crontab -e" | |
au BufWrite /private/tmp/crontab.* set nowritebackup nobackup |
This file contains hidden or 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 Events = () => { | |
return ( | |
<div className="m-8 flex flex-col justify-center md:flex-row md:space-x-4 md:items-center"> | |
<div className="size-32 md:size-28 border-blue-700 border-2 border-dashed text-white bg-blue-400 flex justify-center items-center flex-col"> | |
<p className="font-bold text-4xl">06</p> | |
<p className="font-bold text-xl">MAY</p> | |
<p className="font-bold text-lg">2024</p> | |
</div> | |
<div className="md:w-6/12"> | |
<div className="mb-2 flex flex-col justify-start items-start"> |