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
-- | |
-- OBS Zoom to Mouse | |
-- An OBS lua script to zoom a display-capture source to focus on the mouse. | |
-- Copyright (c) BlankSourceCode. All rights reserved. | |
-- | |
local obs = obslua | |
local ffi = require("ffi") | |
local VERSION = "1.0.2" | |
local CROP_FILTER_NAME = "obs-zoom-to-mouse-crop" |
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
// should be run in the developer console | |
async function wait(time=50) { | |
await new Promise(resolve => { | |
setTimeout(() => { | |
resolve('Done'); | |
}, time); | |
}); | |
} |
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
function downloadFileWithContents(filename, fileContents) { | |
const blob = new Blob([fileContents], {type: 'text'}); | |
const elem = window.document.createElement('a'); | |
elem.href = window.URL.createObjectURL(blob); | |
elem.download = filename; | |
document.body.appendChild(elem); | |
elem.click(); | |
document.body.removeChild(elem); | |
} |
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
license: gpl-3.0 |
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
/** | |
* Notes: | |
* - I tried to keep the strings that the itwêwina project uses | |
* so that we might use it down the road to verify if these are | |
* correct, but these will need to be gone through to make them | |
* accurate with the strings used against the FSTs in the | |
* gallotechnica project. Otherwise they are just constants | |
* TODO: | |
* - can these be simplified/generated dynamically? | |
* - some of these forms do not match the FSTs, eg 'FutInt' should |
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 | |
# set up our variables | |
GI_API_KEY='<your-api-key-here>' | |
GI_SUITE_ID='<your-suite-id-here>' | |
# maintain where we are in the data with these variables | |
MORE_RESULTS=1 | |
COUNT=50 | |
OFFSET=0 |
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
/* PrismJS 1.14.0 | |
http://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+bash+docker+json+yaml */ | |
var _self = (typeof window !== 'undefined') | |
? window // if in browser | |
: ( | |
(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) | |
? self // if in worker | |
: {} // if in node 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
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: ghostinspector/test-runner-node | |
steps: | |
- checkout | |
- run: /bin/runghostinspectorsuite server.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
{ | |
"mappings": { | |
"logs": { | |
"properties": { | |
"eventVersion": { | |
"type": "string" | |
}, | |
"userIdentity": { | |
"properties": { | |
"type": { |
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
<snippet> | |
<content><![CDATA[ | |
${1:self}.${2:method} = ko.computed(function () { | |
${3:// content} | |
}, ${1:self}); | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>comp</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.js</scope> |
NewerOlder