Skip to content

Instantly share code, notes, and snippets.

View prakashnsm's full-sized avatar
💭
I may be slow to respond.

Prakash Vaithilingam prakashnsm

💭
I may be slow to respond.
  • Quantiphi Inc
  • Jacksonville, FL
  • 07:48 (UTC -04:00)
View GitHub Profile
Adyen Test Card Numbers
These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform.
For all cards use the following expiration and CVV2/CVC2/or CID for Amex.
For all cards:
Expiration Dates CVV2 / CVC3 CID (American Express)
08/2018 OR 10/2020 737 7373
@prakashnsm
prakashnsm / HeidiDecode.js
Last active August 31, 2015 18:07 — forked from jpatters/HeidiDecode.js
Decodes a password from HeidiSQL. HeidiSQL passwords can be found in the registry. Use File -> Export Settings to dump all settings. Great for if you forget a password.
function heidiDecode(hex) {
var str = '';
var shift = parseInt(hex.substr(-1));
hex = hex.substr(0, hex.length - 1);
for (var i = 0; i < hex.length; i += 2)
str += String.fromCharCode(parseInt(hex.substr(i, 2), 16) - shift);
return str;
}
document.write(heidiDecode('755A5A585C3D8141786B3C385E3A393'));
Liferay.on('initLayout', function(event) {
Liferay.once(function() {
Liferay.Layout.on([ 'drag:end', 'drag:start' ], function(event) {
console.log('event type', event.type, event);
AUI().one("#main-content").toggleClass('dragging', event.type == 'drag:start');
});
}, Liferay.Layout, 'bindDragDropListeners');
});