This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN:VCALENDAR | |
VERSION:2.0 | |
CALSCALE:GREGORIAN | |
PRODID:beyonk/test/apps/external-calendar | |
METHOD:PUBLISH | |
X-WR-CALNAME:title | |
X-PUBLISHED-TTL:PT1H | |
BEGIN:VEVENT | |
UID:[email protected] | |
SUMMARY:foobar12: An experience |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERCEL_OUTPUT_DIR=.vercel_build_output | |
LAMBDA_DIR=.vercel_build_output/functions/node/render/ | |
cp -r static $LAMBDA_DIR/static | |
cp node_modules/sharp/build/Release/*.node $LAMBDA_DIR | |
cp node_modules/canvas/build/Release/*.node $LAMBDA_DIR | |
cp node_modules/sharp/vendor/8.11.3/linux-x64/lib/libvips-cpp.so.42 $LAMBDA_DIR | |
cp ./images.json $VERCEL_OUTPUT_DIR | |
sed -i 's#\.\./build/Release#\.#g' $LAMBDA_DIR/index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pnpm run build | |
cd __sapper__/build/ | |
mkdir -p $PUBLIC_DIR/${{ inputs.base_path }} | |
mv client $PUBLIC_DIR/${{ inputs.base_path }} | |
cp -r ../../static/* $PUBLIC_DIR/ | |
mkdir -p $LAMBDA_DIR | |
mv index.js server $LAMBDA_DIR/ | |
mkdir -p $BUILD_DIR | |
mv service-worker.js template.html build.json $BUILD_DIR | |
cp ${{ github.workspace }}/vercel.json ./app/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const fs = require('fs') | |
const path = require('path') | |
const dotenv = require('dotenv') | |
const configDirPath = path.join(__dirname, './config') | |
const outputDirPath = path.join(__dirname, '.') | |
const toUpperSnakeCase = (str) => str.replace(/([a-z])([A-Z])/g, '$1_$2').toUpperCase() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const feather = require('feather-icons/dist/icons.json') | |
const pascal = require('just-pascal-case') | |
const { promises: fs } = require('fs') | |
const { join } = require('path') | |
const iconList = require('./icon-list.json') | |
const handleComponentName = name => name.replace(/\-(\d+)/, '$1') | |
const component = icon => | |
`<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save express express-openid-connect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- generated via npm run build && npx create-polyfill-service-url analyse --file public/bundle.js --> | |
<script crossorigin="anonymous" src="https://cdn.polyfill.io/v3/polyfill.min.js?features=Array.from,Array.isArray,Array.prototype.entries,Array.prototype.fill,Array.prototype.filter,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.keys,Array.prototype.map,ArrayBuffer,console,DataView,Date.prototype.toISOString,document,fetch,Function.prototype.bind,globalThis,Map,Object.create,Object.defineProperties,Object.defineProperty,Object.entries,Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.getPrototypeOf,Object.keys,Object.setPrototypeOf,Promise,Reflect,Reflect.construct,Set,Symbol,Symbol.iterator,WeakMap,WeakSet"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
require = require('esm')(module) | |
const { init, shutdown } = require('./server.js') | |
async function bootstrap () { | |
const server = await init() | |
await server.start() | |
console.log(`Server running at: ${server.info.uri}`) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<label> | |
{#if uploading} | |
<Progress bind:percent={progress} text="Uploading..." /> | |
{:else if processing} | |
<Progress percent={100} text="Processing..." /> | |
{:else} | |
<slot name="content"> | |
</slot> | |
{/if} | |
<input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import conf from 'config' | |
const appConfig = Object.keys(conf).reduce((acc, n) => { | |
acc[`process.env.${n}`] = JSON.stringify(conf[n]) | |
return acc | |
}, {}) | |
export default { | |
client: { | |
..., |
NewerOlder