# https://superuser.com/a/1072625
$ export {http,https,ftp}_proxy="http://proxy-server:port"
$ unset {http,https,ftp}_proxy
# vi ~/.bashrc
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
export const Demo = () => ( | |
<div className='flex flex-col items-start justify-start md:mt-24 md:flex-row md:items-center md:justify-center md:space-x-6'> | |
<div className='space-x-2 pb-8 pt-6 md:space-y-5'> | |
<h1 className='text-6xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 md:border-r-2 md:px-6 md:text-8xl md:leading-14'> | |
404 | |
</h1> | |
</div> | |
<div className='max-w-md'> | |
<p className='mb-4 text-xl font-bold leading-normal md:text-2xl'> | |
{`Sorry we couldn't find this page.`} |
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
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "Blog Posts API", | |
"description": "This is an example API for blog posts using OpenApi Specification.\n---\nUsing this API you can retrieve blog posts, comments on each blog post and delete or update the posts.\n", | |
"termsOfService": "http://swagger.io/terms/", | |
"contact": { | |
"name": "Amir Lavasani", | |
"url": "https://amir.lavasani.dev", | |
"email": "amirm.lavasani@gmail.com" |
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
// ref: https://dev.to/isthatcentered/typing-process-env-and-dealing-with-nodeenv-3ilm | |
declare namespace NodeJS { | |
interface ProcessEnv { | |
NODE_ENV: 'development' | 'production'; | |
} | |
} | |
declare namespace React { | |
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> { | |
mb?: string; |
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
registry "https://registry.npm.taobao.org" | |
proxy "http://127.0.0.1:8999" |