Skip to content

Instantly share code, notes, and snippets.

@oubenruing
oubenruing / rollup-typescript.md
Last active March 6, 2023 06:20 — forked from aleclarson/rollup-typescript.md
The best Rollup config for TypeScript libraries

Features

🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs bundle
.d.ts bundle + type-checking
🧐 Source maps

Install

@oubenruing
oubenruing / README
Created January 18, 2022 08:17 — forked from luoshu/README
ipv6 hosts
#Google和各种网站的IPv6服务hosts
#利用IPv6技术翻墙,保证Google服务可用,校园网用户使用IPv6应该不收取上网费用(至少我们学校如此)
#最下方有各种网站的IPv6hosts列表
#欢迎转载,请注明来源,谢谢
#本文的发布地址:http://docs.google.com/View?id=dfkdmxnt_61d9ck9ffq
#本文的共享链接:https://docs.google.com/View?docID=0ARhAbsvps1PlZGZrZG14bnRfOTVmZzR4NjRkdA&revision=_latest
#表格版的host列表地址:http://spreadsheets.google.com/ccc?key=0AhhAbsvps1PldEVXVzBkR3hBaWFnbEQ0OWIwMU5ycmc&hl=zh_CN
#Google IPv6 地址及对应证书列表(不再细分):https://docs.google.com/Doc?docid=0ARhAbsvps1PlZGZrZG14bnRfOTVmZzR4NjRkdA&hl=en
@oubenruing
oubenruing / useApi.ts
Created November 26, 2021 01:52 — forked from mortezasabihi/useApi.ts
Vue 3 axios composition api
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
import { reactive, toRefs } from 'vue';
import axios,{ AxiosRequestConfig, AxiosError, AxiosResponse } from 'axios';
export enum Status {
IDLE = 'idle',
LOADING = 'loading',
SUCCESS = 'success',
ERROR = 'error',