sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
import { spawn } from 'child_process'; | |
const child = spawn('pwsh'); | |
process.stdin.pipe(child.stdin) | |
child.stdout.on('data', (data) => { | |
console.log(`child stdout:\n${data}`); | |
}); |
<# | |
.Synopsis | |
Loads and shows a window xaml file and attaches handlers as well as providing all elements to be used | |
.Description | |
Version 1.0.0 | |
License ISC | |
(c) Nabil Redmann 2019 - 2023, Powershell 5+ (including pwsh 7) | |
.Notes |
{ | |
"name": "project_abc", | |
"private": true, | |
"config": { | |
"host": "hosting.server.tld", | |
"domain": "abc-project.tld" | |
}, | |
"scripts": { | |
"local:createSshKey": "ssh-keygen -t rsa", |
dist | |
node_modules |
vscode.github | |
vscode.github-authentication | |
vscode.git | |
vscode.debug-auto-launch | |
vscode.markdown-math | |
vscode.git-base | |
vscode.merge-conflict | |
humy2833.ftp-simple | |
marp-team.marp-vscode | |
yzhang.markdown-all-in-one |
nuxt.config.ts
(config upload path)
export default defineNuxtConfig({
telemetry: false,
runtimeConfig: {
paths: {
upload: path.join(process.cwd(), '../upload'), //fs.realpathSync( '../upload') --> will be an error, if it does not exist
}
/** | |
* Add mock images to a DropZone element | |
* | |
* @param dropzone ref to dropzone to add the files to | |
* @param amount the numeber of mock images to add | |
* @param callback will be called when a file was added (callback has no info param. Better: `.on("thumbnail", (mockFile, thumbnail) => { ... });` ref: https://github.com/dropzone/dropzone/blob/main/src/dropzone.js#L964:L965 ) | |
* @param url url to get the mocjk images from with `%_RAND_%` to force generating different images, default: `https://source.unsplash.com/200x200/?nature,water&%_RAND_%` | |
*/ | |
function setMockFiles( | |
dropzone: Dropzone, |
Note: The node_modules
folder should be deleted, as it may contain incompatible module versions (not suited for your OS).
File: package.json
{
"name": "kaboom-env",
"scripts": {