Skip to content

Instantly share code, notes, and snippets.

View klondaiker's full-sized avatar
🌴

Alex Zavgorodnev klondaiker

🌴
View GitHub Profile
https://docs.google.com/spreadsheets/d/1K1XrYyA_vTRPHwboP7cbdl9jBc--Q3-7mJsiNDbKJA0/edit#gid=359826873
name: Rspec
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
$(window).on('m.order-submit', orderSubmitHandler);
var orderSubmitHandler = function(event, order, isOnlinePayment) {
var content_ids = [];
var contents = [];
var product_ids = [];
order.items.forEach(function(item) {
product_ids.push({"id": item.good.productId})
content_ids.push(item.good.globalId);
class Profiler
SUBSCRIPTIONS = [
'sql.active_record',
'render_template.action_view',
'render_partial.action_view',
'process_action.action_controller'
].freeze
PATH = './log/profiler.log'
# Install node with nvm
test ! -f .nvmrc || (
nvm which || \
nvm install
)
# Install ruby with rbenv
set -x
echo 'ruby updater'
test ! -f .ruby-version || (
POST https://geidea.gd-pprod-infra.net/operator/content_pages
utf8=✓
authenticity_token=slGkHIkxAZmCEOrincBK02T3/xedTOsWhw0UffGMc2nE1yHGb00K8lro/BG4qOl4j5cX8wWX4XWWFTPRS6c9Zg==
content_page[title_en]=df
content_page[content_en]=<div id="map" style="height: 400px; width: 400px; background-image: url('https://joomly.net/frontend/web/images/googlemap/map.png');">&nbsp;</div>
<script>window.initMap = function() {
var geo, lat, lng, location, map, marker;
geo = window.gon.geo_location;
if (!geo) {
{
"ClientInfo":{
"UserName":"[email protected]",
"Password":"*****",
"Version":"v1.0",
"AccountNumber":"4004281",
"AccountPin":"462313",
"AccountEntity":"RUH",
"AccountCountryCode":"SA"
},
{
"shipment_creation_response":{
"transaction":null,
"notifications":{
"@xmlns:i":"http://www.w3.org/2001/XMLSchema-instance"
},
"has_errors":true,
"shipments":{
"processed_shipment":{
"id":null,
@klondaiker
klondaiker / Request
Last active April 26, 2021 13:20
Aramex
{
"ClientInfo":{
"UserName":"[email protected]",
"Password":"*******",
"Version":"v1.0",
"AccountNumber":"4004281",
"AccountPin":"462313",
"AccountEntity":"RUH",
"AccountCountryCode":"SA"
},
{
"ClientInfo":{
"UserName":"[email protected]",
"Password":"*******",
"Version":"v1.0",
"AccountNumber":"4004281",
"AccountPin":"462313",
"AccountEntity":"RUH",
"AccountCountryCode":"SA"
},