A guide to running the Cavalry motion graphics software on Linux using Wine.
This guide has been tested exclusively on Wine 11.
A guide to running the Cavalry motion graphics software on Linux using Wine.
This guide has been tested exclusively on Wine 11.
| Function Set-WallPaper($Image) { | |
| <# | |
| .SYNOPSIS | |
| Applies a specified wallpaper to the current user's desktop | |
| .PARAMETER Image | |
| Provide the exact path to the image | |
| .EXAMPLE |
| { | |
| // This is a VSCode launch config for Java with unmodularized JavaFX | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "java", | |
| "name": "Launch with JavaFX", | |
| "mainClass": "HelloFx", | |
| "request": "launch", | |
| "vmArgs": "--module-path C:\\JavaFX\\lib --add-modules javafx.controls" |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const { Readable } = require('stream'); | |
| const { finished } = require('stream/promises'); | |
| const downloadFile = (async (url, path) => { | |
| try { | |
| const stream = fs.createWriteStream(path); | |
| const { body } = await fetch(url); | |
| return await finished(Readable.fromWeb(body).pipe(stream)); |
| alias up="cd .." | |
| alias nrd="npm run dev -- --port=3000" | |
| alias nrb="npm run build" | |
| alias nr="npm run" | |
| alias cls='clear' | |
| alias cpbranch="git rev-parse --abbrev-ref HEAD" | |
| alias lsports="sudo lsof -i -P -n | grep LISTEN" |
| # MICAH LINDLEY'S POWERSHELL PROFILE | |
| Function up { cd .. } | |
| Function ~ { cd ~ } | |
| Function gocode { cd "C:\Users\Micah Lindley\Documents\Code" } | |
| Function cbt { | |
| start firefox $args | |
| start microsoft-edge:$args | |
| $argList = '{0} --profile-directory="Default"' -f $args | |
| start chrome -ArgumentList $argList | |
| } |
| export default dynamic(() => Promise.resolve(Page), { | |
| ssr: false, | |
| }); |
| require("dotenv").config(); | |
| const MongoClient = require("mongodb").MongoClient; | |
| const prompts = require("prompts"); | |
| (async () => { | |
| const client = new MongoClient(process.env.CAFMONGO); | |
| const dbName = "info"; | |
| await client.connect(); | |
| const db = client.db(dbName); | |
| const collection = db.collection("db-meta"); |
| fetch('http://example.com/api-endpoint', { | |
| method: 'POST', // this can be GET, POST, PUT, DELETE, etc depending on the API's standards | |
| body: 'hello, api' // this can be any data you choose to transmit through a POST or PUT request | |
| // there are other options as well, check out the MDN article | |
| }) | |
| .then(response => response.json()) // the response object has several properties | |
| // the most commonly used are .json() and .status() | |
| .then(data => { | |
| console.log(data); // now you can do whatever you want with the data, which is the property of the | |
| // response object you passed above. You can also pass the entire response object |
| Empty file |