Skip to content

Instantly share code, notes, and snippets.

View ycjcl868's full-sized avatar
:electron:
Coding

Charles ycjcl868

:electron:
Coding
View GitHub Profile
@ycjcl868
ycjcl868 / esbuild-react.jsx
Created May 14, 2020 05:24
esbuild-react
import * as React from 'react';
import * as ReactDOM from 'react-dom';
ReactDOM.render(<h1>Hello, world!</h1>, document.getElementById('root'));
@ycjcl868
ycjcl868 / ClashX-rule.yaml
Last active April 3, 2020 03:15
ClashX-rule.yaml
- DOMAIN-KEYWORD,alipay,🎯 全球直连
- DOMAIN-KEYWORD,ali,🎯 全球直连
- DOMAIN-KEYWORD,alibaba,🎯 全球直连
@ycjcl868
ycjcl868 / keybase.md
Created February 22, 2020 00:52
keybase.md

Keybase proof

I hereby claim:

  • I am ycjcl868 on github.
  • I am ycjcl868 (https://keybase.io/ycjcl868) on keybase.
  • I have a public key whose fingerprint is 858A F4C9 12F1 928A 9400 9792 7E94 5DBF B18F 3A6F

To claim this, I am signing this object:

@ycjcl868
ycjcl868 / pre-antd-pro.sh
Created September 27, 2019 12:59
pre-antd-pro.sh
# !/bin/bash
if [ -d ./pro_site ]
then
echo "pro_site existed"
else
git clone https://github.com/ant-design/ant-design-pro --depth=1 ./pro_site
fi
yarn
yarn bootstrap
npm set registry https://r.npm.taobao.org # 注册模块镜像
npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像
## 以下选择添加
npm set sass_binary_site https://npm.taobao.org/mirrors/node-sass # node-sass 二进制包镜像
npm set electron_mirror https://npm.taobao.org/mirrors/electron/ # electron 二进制包镜像
npm set puppeteer_download_host https://npm.taobao.org/mirrors # puppeteer 二进制包镜像
npm set chromedriver_cdnurl https://npm.taobao.org/mirrors/chromedriver # chromedriver 二进制包镜像
npm set operadriver_cdnurl https://npm.taobao.org/mirrors/operadriver # operadriver 二进制包镜像
npm set phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs # phantomjs 二进制包镜像
@ycjcl868
ycjcl868 / karabiner.json
Last active August 6, 2022 15:50
karabiner.json
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy:latest
container_name: nginx-proxy
privileged: true
ports:
- 80:80
volumes: