fix: add build asset
This commit is contained in:
parent
b82a1e954e
commit
b60b2f163f
|
@ -2,7 +2,7 @@ name: Go Bump
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "main", "master" ]
|
||||
|
||||
jobs:
|
||||
bump:
|
||||
|
|
1
assets/.gitignore
vendored
1
assets/.gitignore
vendored
|
@ -1,5 +1,4 @@
|
|||
# See https://help.github.com/ignore-files/ for more about ignoring files.
|
||||
/build
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
|
|
13
assets/build/asset-manifest.json
Normal file
13
assets/build/asset-manifest.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"files": {
|
||||
"main.css": "/ui/static/css/main.d4025777.css",
|
||||
"main.js": "/ui/static/js/main.1d06557a.js",
|
||||
"index.html": "/ui/index.html",
|
||||
"main.d4025777.css.map": "/ui/static/css/main.d4025777.css.map",
|
||||
"main.1d06557a.js.map": "/ui/static/js/main.1d06557a.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.d4025777.css",
|
||||
"static/js/main.1d06557a.js"
|
||||
]
|
||||
}
|
BIN
assets/build/favicon.ico
Normal file
BIN
assets/build/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
1
assets/build/index.html
Normal file
1
assets/build/index.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/ui/manifest.json"><link rel="shortcut icon" href="/ui/favicon.ico"><title>DN42 Paste</title><script defer="defer" src="/ui/static/js/main.1d06557a.js"></script><link href="/ui/static/css/main.d4025777.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
15
assets/build/manifest.json
Normal file
15
assets/build/manifest.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"short_name": "DN42 Paste",
|
||||
"name": "Paste tool for DN42",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
}
|
||||
],
|
||||
"start_url": "/ui/index.html",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#000000"
|
||||
}
|
45
assets/build/paste.sh
Executable file
45
assets/build/paste.sh
Executable file
|
@ -0,0 +1,45 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" = "-h" ]; then
|
||||
cat 1>&2 <<EOL
|
||||
usage: echo /etc/passwd | ./paste.sh
|
||||
|
||||
env options:
|
||||
PASTE_URL - Set the url base for paste operations (default: HTTPS://paste.dn42.us)
|
||||
PASTE_GZIP - 0 = No Compression, 1 = Use gzip compression (default: 0)
|
||||
PASTE_BURN - 0 = No Burn on Read, 1 = Burn on read (default: 0)
|
||||
PASTE_DATE - Value to be used when setting expire date. (default: next-week)
|
||||
EOL
|
||||
exit
|
||||
fi
|
||||
|
||||
PASTE_URL=${PASTE_URL-"https://paste.dn42.us"}
|
||||
PASTE_BURN=${PASTE_BURN-0}
|
||||
PASTE_DATE=${PASTE_DATE-"next-week"}
|
||||
PASTE_GZIP=${PASTE_GZIP-0}
|
||||
GZBIN="cat"
|
||||
[ "$PASTE_GZIP" -eq "1" ] && GZBIN="gzip -c"
|
||||
|
||||
PASS=$(head -c 40 /dev/urandom);
|
||||
CHK=$(echo -s $PASS | openssl dgst -sha256 -binary | openssl dgst -ripemd160 -binary | base64 | tr '/+' '_-' | tr -d '=')
|
||||
PASS=$(echo -s $PASS | openssl dgst -sha256 -binary | base64 | tr '/+' '_-' | tr -d '=')
|
||||
HASH=$((echo -e "exp:\t$(date +%s -d ${PASTE_DATE})"; \
|
||||
echo -e "chk:\t$CHK"; \
|
||||
[ "$PASTE_BURN" -eq "1" ] && echo -e "burn:\ttrue"; \
|
||||
[ "$PASTE_GZIP" -eq "1" ] && echo -e "zip:\ttrue"; \
|
||||
echo; \
|
||||
cat /dev/stdin | $GZBIN | openssl aes-256-cbc -md md5 -e -a -k $PASS) | \
|
||||
curl -s -X POST ${PASTE_URL}/paste --data-binary @-)
|
||||
|
||||
HASH_OK=$(echo $HASH | cut -c1-2)
|
||||
|
||||
if [ "$HASH_OK" = "OK" ]; then
|
||||
HASH=$(echo $HASH | cut -f2 -d' ')
|
||||
|
||||
echo "url: ${PASTE_URL}/#/${HASH}!${PASS}"
|
||||
echo -n "shell: curl -s ${PASTE_URL}/api/get/${HASH} | sed '1,/^\$/d' | openssl aes-256-cbc -md md5 -d -a -k ${PASS}"
|
||||
[ "$PASTE_GZIP" -eq "1" ] && echo " | gzip -dc" || echo;
|
||||
exit
|
||||
fi
|
||||
|
||||
echo $HASH
|
2
assets/build/static/css/main.d4025777.css
Normal file
2
assets/build/static/css/main.d4025777.css
Normal file
|
@ -0,0 +1,2 @@
|
|||
body{font-family:sans-serif;margin:0;padding:0}body,html{background-color:#272b30!important;color:#000!important}header+section{padding-bottom:2.1em;padding-top:52px}footer{background-color:#3e444c;border-top:1px solid #bbb;bottom:0;height:2em;padding:4px;position:fixed;width:100%}footer span.left{float:left}footer span.right{float:right}.breadcrumb label,pre{color:#000}.sidebar .list-group{font-size:75%}.sidebar .list-group-item{background:#111;border:0;color:#62c462;padding:2px}.main,.sidebar .list-group-item{font-family:Hack,monospace}.sidebar a.list-group-item.active,.sidebar li.list-group-item.active{background-color:#62c462;color:#111}@media (min-width:768px){.hide-sm{display:none!important}.sidebar{left:0;width:24vw}.main,.sidebar{bottom:30px;overflow:auto;position:fixed;top:52px}.main{left:25vw;right:0}}@media (min-width:992px){.sidebar{left:0;width:24vw}.main,.sidebar{bottom:30px;overflow:auto;position:fixed;top:52px}.main{left:25vw;right:0}}section.container{margin-bottom:2em}code,pre,textarea{font-family:Fira Code,hack,Anonymous Pro,monospace}pre.grey{background-color:#d3d3d3}label{color:#d3d3d3}table a:link{color:#666}table a:link,table a:visited{font-weight:700;text-decoration:none}table a:visited{color:#999}table a:active,table a:hover{color:#bd5a35;text-decoration:underline}table{background:#eaebec;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 2px #d1d1d1;color:#666;font-family:Arial,Helvetica,sans-serif;font-size:12px;margin:20px;text-shadow:1px 1px 0 #fff}table th{background:#ededed;background:-moz-linear-gradient(top,#ededed,#ebebeb);border-bottom:1px solid #e0e0e0;border-top:1px solid #fafafa;padding:21px 25px 22px}table th:first-child{padding-left:20px;text-align:left}table tr:first-child th:first-child{border-top-left-radius:3px}table tr:first-child th:last-child{border-top-right-radius:3px}table tr{padding-left:20px;text-align:center}table td:first-child{border-left:0;padding-left:20px;text-align:left}table td{background:#fafafa;background:-moz-linear-gradient(top,#fbfbfb,#fafafa);border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0;border-top:1px solid #fff;padding:18px}table tr.even td{background:#f6f6f6;background:-moz-linear-gradient(top,#f8f8f8,#f6f6f6)}table tr:last-child td{border-bottom:0}table tr:last-child td:first-child{border-bottom-left-radius:3px}table tr:last-child td:last-child{border-bottom-right-radius:3px}table tr:hover td{background:#f2f2f2;background:-moz-linear-gradient(top,#f2f2f2,#f0f0f0)}.hljs{background:#f8f8f8;color:#333;display:block;overflow-x:auto;padding:.5em}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#333;font-weight:700}.hljs-literal,.hljs-number,.hljs-tag .hljs-attr,.hljs-template-variable,.hljs-variable{color:teal}.hljs-doctag,.hljs-string{color:#d14}.hljs-section,.hljs-selector-id,.hljs-title{color:#900;font-weight:700}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:700}.hljs-attribute,.hljs-name,.hljs-tag{color:navy;font-weight:400}.hljs-link,.hljs-regexp{color:#009926}.hljs-bullet,.hljs-symbol{color:#990073}.hljs-built_in,.hljs-builtin-name{color:#0086b3}.hljs-meta{color:#999;font-weight:700}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
|
||||
/*# sourceMappingURL=main.d4025777.css.map*/
|
1
assets/build/static/css/main.d4025777.css.map
Normal file
1
assets/build/static/css/main.d4025777.css.map
Normal file
File diff suppressed because one or more lines are too long
3
assets/build/static/js/main.1d06557a.js
Normal file
3
assets/build/static/js/main.1d06557a.js
Normal file
File diff suppressed because one or more lines are too long
57
assets/build/static/js/main.1d06557a.js.LICENSE.txt
Normal file
57
assets/build/static/js/main.1d06557a.js.LICENSE.txt
Normal file
|
@ -0,0 +1,57 @@
|
|||
/*!
|
||||
* Bootstrap v4.1.3 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
/*! jQuery v3.3.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector | (c) JS Foundation and other contributors | jquery.org/license */
|
||||
|
||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @preserve
|
||||
(c) 2012 by Cédric Mesnil. All rights reserved.
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
1
assets/build/static/js/main.1d06557a.js.map
Normal file
1
assets/build/static/js/main.1d06557a.js.map
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user