Skip to content

Instantly share code, notes, and snippets.

@MattArnold
MattArnold / gist:f2ffd8878faa556c75f6
Created December 15, 2014 18:28
Verifying that +mattarnold is my openname (Bitcoin username). https://onename.io/mattarnold
Verifying that +mattarnold is my openname (Bitcoin username). https://onename.io/mattarnold

Keybase proof

I hereby claim:

  • I am MattArnold on github.
  • I am mattarnold (https://keybase.io/mattarnold) on keybase.
  • I have a public key whose fingerprint is 8810 693B FE5F 1DA1 8C6A FC9F CFE1 86AF F189 1F72

To claim this, I am signing this object:

@MattArnold
MattArnold / updateskinandsnapshot.js
Created July 20, 2016 19:52
Update a skin image to be wrapped around a 3D animated character in the browser. Then take a still PNG image of a frame of animation.
/*
I am using the ThreeJS library to draw and animate a 3D character in a canvas element. The user may use a file upload element to
upload their own image file, to serve as the texture wrapped on the 3D character. This works.
I have a listener set up to detect when the file input changes. The handler updates the skin, and on the next line, it calls a
`snapshot()` function, which creates a still PNG image of a frame of animation.
The goal was to have a still PNG of the character with the new skin, but the resulting still image always shows the texture that was
previously wrapped on the character, not the one the user uploaded.
@MattArnold
MattArnold / ERP_pageHighlightOrderInfoForReviewTeam.user
Last active February 5, 2018 18:54
ERP page_ Highlight order info for review team.user
// ==UserScript==
// @name ERP page: Highlight order info for review team
// @namespace https://gist.githubusercontent.com/MattArnold
// @version 0.2
// @description Highlight order info for review team
// @author Matt
// @updateURL https://gist.githubusercontent.com/MattArnold/c35f703e21fb1fb0a02ba003c8be1c02/raw/6e9622de91fc1c2fbd29bc65202d4019af6c4a19
// @downloadURL https://gist.githubusercontent.com/MattArnold/c35f703e21fb1fb0a02ba003c8be1c02/raw/6e9622de91fc1c2fbd29bc65202d4019af6c4a19
// @include https://moosejaw.info/MachII/EditOrderERP.aspx?OrderID=*
// @match https://moosejaw.info/MachII/EditOrderERP.aspx?OrderID=*
@MattArnold
MattArnold / AddWhitePagesProIdentityCheckToOrderScreen
Last active February 5, 2018 19:04
Add White Pages Pro Identity Check To Order Screen
// ==UserScript==
// @name Add White Pages Pro Identity Check To Order Screen
// @namespace https://gist.githubusercontent.com/MattArnold
// @version 0.2
// @description Add White Pages Pro Identity Check To Order Screen
// @author Matt
// @include https://moosejaw.info/MachII/EditOrderERP.aspx?OrderID=*
// @match https://moosejaw.info/MachII/EditOrderERP.aspx?OrderID=*
// @updateURL https://gist.githubusercontent.com/MattArnold/dd7705131d0e85ea7710dccb5093ad43/raw/533e71b34753a5a47b3d170c4930a825bd4b595f
// @downloadURL https://gist.githubusercontent.com/MattArnold/dd7705131d0e85ea7710dccb5093ad43/raw/533e71b34753a5a47b3d170c4930a825bd4b595f
@MattArnold
MattArnold / ImproveCustomerProfileScreen.user
Last active February 5, 2018 19:12
Improve Customer Profile Screen
// ==UserScript==
// @name Improve Customer Profile Screen
// @namespace https://gist.githubusercontent.com/MattArnold
// @version 0.2
// @description Improve Customer Profile Screen
// @author Matt Arnold
// @updateURL https://gist.githubusercontent.com/MattArnold/93d28145d7f537ec30b5c63d8a4b41cd/raw/17e402f5ee75f3a91a629e6b86e3690d93cda68b
// @downloadURL https://gist.githubusercontent.com/MattArnold/93d28145d7f537ec30b5c63d8a4b41cd/raw/17e402f5ee75f3a91a629e6b86e3690d93cda68b
// @match https://moosejaw.info/MachII/Customers/CustomerProfile.aspx?TWCustomerID=*
// @grant none
@MattArnold
MattArnold / SetTransactionSearchSettingsOnCybersource.user
Last active February 5, 2018 19:15
Set Transaction Search Settings On Cybersource
// ==UserScript==
// @name Set transaction search settings on Cybersource
// @namespace https://gist.githubusercontent.com/MattArnold
// @version 0.2
// @description Set search settings
// @author You
// @updateURL https://gist.githubusercontent.com/MattArnold/34a133c0712c0e8e33f7ccb9e4bfe24f/raw/ec2cef0052db860f6f36f0bcf69575aeb1f671bb
// @downloadURL https://gist.githubusercontent.com/MattArnold/34a133c0712c0e8e33f7ccb9e4bfe24f/raw/ec2cef0052db860f6f36f0bcf69575aeb1f671bb
// @match https://ebc.cybersource.com/ebc/transactionsearch/*
// @grant none
@MattArnold
MattArnold / TrimLeadingAndTrailingWhitespaceFromPaste.user
Last active February 5, 2018 19:26
Trim Leading And Trailing Whitespace From Paste
// ==UserScript==
// @name Trim leading and trailing whitespace from paste
// @namespace https://gist.githubusercontent.com/MattArnold
// @version 0.2
// @description Trim leading and trailing whitespace from paste
// @author Matt Arnold
// @updateURL https://gist.githubusercontent.com/MattArnold/4b038feb74efc8c16d527afddb37a738/raw/c58b50cf1e8872df1982c7475e2176635f5ba9f0
// @downloadURL https://gist.githubusercontent.com/MattArnold/4b038feb74efc8c16d527afddb37a738/raw/c58b50cf1e8872df1982c7475e2176635f5ba9f0
// @match https://moosejaw.info/MachII/POSv2/*
// @grant none
@MattArnold
MattArnold / MakeAnOrderNoteFromSignifydPage.user
Last active February 8, 2018 15:06
Make An Order Note From Signifyd Page
// ==UserScript==
// @name Make An Order Note From Signifyd Page
// @namespace https://gist.githubusercontent.com/MattArnold
// @version 0.3
// @description Collect the most necessary information, convert it to layman's terms, and print it as a paragraph of text for a note on our own order screen.
// @author Matt Arnold
// @updateURL https://gist.githubusercontent.com/MattArnold/ba3f95b38efc181040a6a3109da117d6/raw/f9a2f49ae0628e3cf14a86197738ca9f532c2eb6
// @downloadURL https://gist.githubusercontent.com/MattArnold/ba3f95b38efc181040a6a3109da117d6/raw/f9a2f49ae0628e3cf14a86197738ca9f532c2eb6
// @require https://gist.github.com/BrockA/2625891/raw/waitForKeyElements.js
// @include https://app.signifyd.com/cases/*