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
using System; | |
using System.Collections.Generic; | |
using System.Drawing.Imaging; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
namespace ImageQuickSave | |
{ |
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
$ git config --get-regexp alias | |
alias.s status | |
alias.a add -A | |
alias.c commit -m | |
alias.l log --oneline | |
alias.p push | |
alias.cp "! cp() { git commit -a -m '$1' && git push ; } ; cp" | |
$ git config --global alias.xyz "xyz" |
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
# First, download swagger-codegen-cli, e.g. from maven | |
# And make sure npm is updated | |
npm install -g npm@latest | |
# Then, start your current chatoverflow build and execute the following commands | |
# Note to replace the npmVersion field with the current number (build number +1 at the end) | |
java -jar swagger-codegen-cli-2.4.9.jar generate \ | |
-i http://localhost:2400/api-docs/swagger.json \ | |
-l typescript-angular \ | |
-o ./angular_api_client \ |
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 easymidi = require('easymidi'); | |
const OBSWebSocket = require('obs-websocket-js'); | |
const paletteGearInputName = 'Palette Multi-function Device 0'; | |
const paletteGearInput = new easymidi.Input(paletteGearInputName, false); | |
const obsSource = "Mic/Aux"; | |
const obs = new OBSWebSocket(); | |
obs.connect({ address: 'localhost:4444', password: '*******' }) |
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
// Enable quality engeneering = Work in Progress Version of the SDK | |
app.enableQE(); | |
// Get WIP-Version of the current sequence | |
var activeSequence = qe.project.getActiveSequence(); | |
// Get ANY available video track (same for audio), e.g. Track #3 (zero-based counting) | |
var someTrack = activeSequence.getVideoTrackAt(2); | |
// Lock this track. Also available: isLocked() |