Skip to content

Instantly share code, notes, and snippets.

View sound2gd's full-sized avatar

Chris Wang sound2gd

View GitHub Profile
@sound2gd
sound2gd / FileUpload.js
Created March 29, 2022 04:26 — forked from ahmadmarafa/FileUpload.js
antd fileupload on form submit
import React, { Component } from 'react'
import { Upload, Form, Icon } from "antd";
const formItemLayout = {
labelCol: {
xs: { span: 24 },
sm: { span: 5 },
},
wrapperCol: {
xs: { span: 24 },
sm: { span: 18 },
#!/usr/bin/env bash
# installation
## sudo bash -c "cd /usr/local/bin && curl -fsSLo run-clj $URL && chmod 755 run-clj"
set -e
boot_url="https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh"
BOOT=${HOME}/.boot/bin/boot
if [ ! -f $BOOT ] && ! BOOT=`which boot`; then