Skip to content

Instantly share code, notes, and snippets.

Avatar

Oleg Topchiy thedotedge

  • Ukraine|Norway
View GitHub Profile
View SEPA Adyen encrypt
# generate encrypted details
var date = new Date();
var sepaData = {
iban : $(this).find('[name=iban]').val(),
ownerName : $(this).find('[name=ownerName]').val(),
countryCode : $(this).find('[name=countryCode]').val(),
generationtime : date.toISOString()
};
var encryptedDetails = cseInstance.encrypt(sepaData);
View gist:cbdf23a2223831939dabbc022b719542
~ # ❯❯❯ php -v
PHP Warning: PHP Startup: hello: Unable to initialize module
Module compiled with build ID=API20160303,TS
PHP compiled with build ID=API20160303,NTS
These options need to match
in Unknown on line 0
PHP 7.1.1 (cli) (built: Jan 18 2017 08:30:00) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.1, Copyright (c) 1999-2017, by Zend Technologies
View gist:b8c9c7d1145c0ffd8e665a3b551cd401
[root@li689-230 ~]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/opt/rh/devtoolset-3/root/usr --mandir=/opt/rh/devtoolset-3/root/usr/share/man --infodir=/opt/rh/devtoolset-3/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,fortran,lto --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --with-mpc=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/mpc-ins
View keybase.md

Keybase proof

I hereby claim:

  • I am thedotedge on github.
  • I am thedotedge (https://keybase.io/thedotedge) on keybase.
  • I have a public key whose fingerprint is 60F5 3457 C9DF 661F 244F E1B7 31C5 77D2 02E8 A5EB

To claim this, I am signing this object:

View gist:f46ccf8d7929e78927ff
<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>