Skip to content

Instantly share code, notes, and snippets.

View yunsii's full-sized avatar
🚩
Step by step

Yuns yunsii

🚩
Step by step
View GitHub Profile
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.`}
{
"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"
@yunsii
yunsii / linux.md
Last active March 6, 2022 14:56
Linux guide for yuns

proxy

# https://superuser.com/a/1072625
$ export {http,https,ftp}_proxy="http://proxy-server:port"
$ unset {http,https,ftp}_proxy

# vi ~/.bashrc
@yunsii
yunsii / global.d.ts
Last active March 18, 2022 13:12
常用全局 TS 类型定义
// 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;
@yunsii
yunsii / git-references.md
Last active October 18, 2022 06:10
Git 参考手册

Setting your Git

# Every repository on your computer
$ git config --global user.name "theprimone"

# Single repository
$ git config user.name "theprimone"

# Set the Git editor
@yunsii
yunsii / .yarnrc
Created March 3, 2021 14:16
.yarnrc reference
registry "https://registry.npm.taobao.org"
proxy "http://127.0.0.1:8999"