Skip to content

Instantly share code, notes, and snippets.

{
"info": {
"_postman_id": "10cd41b3-07cd-4c05-983c-7b6f4fb3d61f",
"name": "special deal",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "priv/specialdeal/v1/event",
"request": {
getAddAgreement: function() {
totalAgreements([]);
fullScreenLoader.startLoader();
let serviceUrl = urlBuilder.createUrl('/paymententrance/agreements', {});
storage.post(
serviceUrl,
JSON.stringify({
'customerId': window.checkoutConfig.customerData.id,
'paymentMethod': 'recurring_paypal'
})
<!-- Paste this code as high in the <head> of the page as possible: -->
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-T5K3VB4');</script>
<!-- End Google Tag Manager -->
@skylying
skylying / payload.sh
Created June 10, 2020 11:32
GoCharger verification payload
54 57 43 31 30 41 34 32 35 32 45 39 05 08 03 00 08 74 0e 00 00 01 19 00 19 00 00 00 00 b8 00 23 00 00 00 23 00 00 00 88 aa aa aa 00 00 00 40 00 00 00 00 00 88 89 e4 02 00 f0 4a b2 5e 3b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 02 33 01 07 18 01 09 00 15 65 06 00 00 00 00 00 00 27 14 74 6a f4 dd 5e 13 3d d1 61 b2 5e 13 3d bc 51 b2 5e 14 74 02 10 de 5e 13 3d 92 5d b2 5e 13 3d 92 5d b2 5e 13 3d 92 5d b2 5e 03 24 fd 0f df 5e 13 3d d1 61 b2 5e 14 74 a0 19 de 5e 14 74 fd 0f df 5e 13 3d 83 61 b2 5e 03 24 d8 6c d3 5e 14 74 63 11 df 5e 03 24 a9 99 d9 5e 03 24 40 95 d8 5e 13 3d 66 52 b2 5e 13 3d 66 52 b2 5e 13 3d 66 52 b2 5e 03 24 eb a1 d8 5e 13 3d fe 61 b2 5e 13 3d fe 61 b2 5e 13 3d 12 5a b2 5e 13 3d 12 5a b2 5e 13 3d 12 5a b2 5e 13 3d fe 61 b2 5e 03 24 55 69 d4 5e 13 09 8a 96 d8 5e 13 3d 76 5b b2 5e 13 3d 76 5
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Traviz</title>
</head>
<style type="text/css">
#border-example {
background: red;
width:100px;
@skylying
skylying / index.html
Created December 2, 2019 10:28
gift exchange
<!DOCTYPE html>
<html>
<head>
<title>Hello world</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
@skylying
skylying / AB.js
Created December 31, 2018 03:26
Fun88 A/B Test Code Block
<!-- Start Visual Website Optimizer Asynchronous Code -->
<script type='text/javascript'>
var _vwo_code=(function(){
var account_id=386967,
settings_tolerance=2000,
library_tolerance=2500,
use_existing_jquery=false,
/* DO NOT EDIT BELOW THIS LINE */
f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById('_vis_opt_path_hides');if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement('script');b.src=a;b.type='text/javascript';b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName('head')[0].appendChild(b);},init:function(){settings_timer=setTimeout('_vwo_code.finish()',settings_tolerance);var a=d.createElement('style'),b='body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}',h=d.getElementsByTagName('head')[0];a.setAttribute('id','_vis_opt_path_hides');a.setAttribut
@skylying
skylying / usability.js
Created December 31, 2018 03:25
Fun88 Usability Test Code Block
<!-- MouseStats:Begin -->
<script type="text/javascript">var MouseStats_Commands=MouseStats_Commands?MouseStats_Commands:[]; (function(){function b(){if(void 0==document.getElementById("__mstrkscpt")){var a=document.createElement("script");a.type="text/javascript";a.id="__mstrkscpt";a.src=("https:"==document.location.protocol?"https://ssl":"http://www2")+".mousestats.com/js/5/6/5643931027540951727.js?"+Math.floor((new Date).getTime()/6E5);a.async=!0;a.defer=!0;(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}}window.attachEvent?window.attachEvent("onload",b):window.addEventListener("load", b,!1);"complete"===document.readyState&&b()})(); </script>
<!-- MouseStats:End -->
applyPromo = (promoId, category, action, application, type, afterAction) => {
const { navigate } = this.props.navigation;
var redirection = "";
switch (type) {
case "bonusbutton":
switch (action.pageType.page.toLowerCase()) {
case "transfer":
var bonusInfo = action.bonus;
navigate("Transfer", { bonusInfo });