Skip to content

Instantly share code, notes, and snippets.

View easierbycode's full-sized avatar

▓▒░ ♔ Daniel ♔ ░▒▓ easierbycode

View GitHub Profile
{
"frames": [
{ "filename": "twitterBtn0.gif", "frame": { "x": 0, "y": 832, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } },
{ "filename": "twitterBtn1.gif", "frame": { "x": 0, "y": 866, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } },
{ "filename": "twitterBtn2.gif", "frame": { "x": 0, "y": 900, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } },
{ "filename": "gotoTitleBtn0.gif", "frame": { "x": 114, "y": 832, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } },
{ "filename": "gotoTitleBtn1.gif", "frame": { "x": 114, "y": 866, "w": 114, "h": 34 }, "rotated":
function fitCanvas() {
var c = document.querySelector("#canvas canvas");
if (!c) return;
var vw = window.innerWidth;
var vh = window.innerHeight;
var scale = Math.min(vw / 256, vh / 480);
c.style.width = Math.floor(256 * scale) + "px";
c.style.height = Math.floor(480 * scale) + "px";
}
https://dlm2.download.intuit.com/akdlm/SBD/QuickBooks/2024/Latest/QuickBooksEnterprise24Trial.exe