This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"response": { | |
"body": { | |
"data": { | |
"id": null, | |
"accountMenuHeaderEnabled": true, | |
"affiliateEnabled": true, | |
"allowSignInBySaml": false, | |
"allowSignup": true, | |
"allowSignupByApple": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { GoogleSpreadsheet } = require('google-spreadsheet') | |
const secret = require('./xxxx-yyyyyyyyyyyy.json') | |
const fs = require('fs') | |
//# Initialize the sheet | |
const doc = new GoogleSpreadsheet( | |
'1AgaWjGYPOjXXmoicyRqnh-m_wLXhcXbxtrrq30dBjak', | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DomainNameMailer.renewal_reminder_email 16070, [7759], 30 | |
DomainNameMailer.renewal_reminder_email 25697, [16261], 30 | |
DomainNameMailer.renewal_reminder_email 31395, [917], 30 | |
DomainNameMailer.renewal_reminder_email 32597, [10577], 30 | |
DomainNameMailer.renewal_reminder_email 75240, [34461], 30 | |
DomainNameMailer.renewal_reminder_email 75243, [34461], 30 | |
DomainNameMailer.renewal_reminder_email 75254, [41933], 30 | |
DomainNameMailer.renewal_reminder_email 75255, [41933], 30 | |
DomainNameMailer.renewal_reminder_email 110255, [42769, 43485], 30 | |
DomainNameMailer.renewal_reminder_email 117566, [8396, 43717], 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%simplicity_theme { | |
box-sizing: border-box; | |
background-color: #fff; | |
margin-bottom: 30px; | |
font-size: 16px; | |
line-height: 170%; | |
img { | |
max-width: 100%; | |
height: auto !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[90.79.105.133] [b835e17645e393d5bc174ca464313608] [891c2732-9701-4270-a96e-8c76715de78e] Processing by CartsController#show as HTML | |
[90.79.105.133] [b835e17645e393d5bc174ca464313608] [1f1d7564-df12-4c1b-b48a-49a68c5d21c8] CartItem::Factory:find_item:345954 | |
[90.79.105.133] [b835e17645e393d5bc174ca464313608] [1f1d7564-df12-4c1b-b48a-49a68c5d21c8] Rules::DiscountRules:#<Product::DomainRegister id: 1036, type: "Product::DomainRegister", slug: "domain-register-com", name: "com", unit_price: #<BigDecimal:7f210e4023e8,'0.12E2',9(18)>, duration: "1,2,3,4,5,6,7,8,9,10", unit: 2, active: true, cost_price: #<BigDecimal:7f210e402140,'0.653E1',18(27)>, minimum_selling_price: #<BigDecimal:7f210e402050,'0.698E1',18(27)>, properties: {}, created_at: "2012-10-22 16:46:58", updated_at: "2012-10-22 16:46:58"> | |
[90.79.105.133] [b835e17645e393d5bc174ca464313608] [1f1d7564-df12-4c1b-b48a-49a68c5d21c8] CartItem::Factory:find_item:345956 | |
[90.79.105.133] [b835e17645e393d5bc174ca464313608] [1f1d7564-df12-4c1b-b48a-49a68c5d21c8] Rules: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[90.79.105.133] [b835e17645e393d5bc174ca464313608] [74057c17-3a4b-4fff-940b-3e49c88d96a0] CartsController::edit_user:#<User::AttributesCollector:0x007fa659869488 @items=[#<CartItem::DomainRegister id: 345954, cart_id: 7788732, product_id: 1036, type: "CartItem::DomainRegister", key: "naturist-paris.com", duration: 1, discount: nil, properties: {"owner"=>"CD365364", "admin"=>"CD365364", "billing"=>"CD365364", "tech"=>"CD365364"}, created_at: "2019-05-18 10:55:00", updated_at: "2019-05-18 10:56:00">, #<CartItem::DomainRegister id: 345956, cart_id: 7788732, product_id: 1036, type: "CartItem::DomainRegister", key: "naturist-plantes.com", duration: 1, discount: nil, properties: {"owner"=>"CD365364", "admin"=>"CD365364", "billing"=>"CD365364", "tech"=>"CD365364"}, created_at: "2019-05-18 10:55:10", updated_at: "2019-05-18 10:56:00">], @users={}, @data_models={}> | |
... | |
... | |
... | |
[90.79.105.133] [b835e17645e393d5bc174ca464313608] [e437b44d-c2c2-419c-8079-38331f94ad52] Started GET "/checkout/validate" for 90.79.105.133 at |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"caret_style": "solid", | |
"color_scheme": "Packages/Predawn/predawn.tmTheme", | |
"copy_with_empty_selection": true, | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"find_selected_text": true, | |
"font_face": "Source Code Variable Regular", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXPLAIN ANALYZE | |
select count(*) from ais_trackings; | |
select * from ais_trackings LIMIT 1; | |
DELETE from ais_trackings WHERE last_ais_updated_at < '2017-11-15' | |
DROP TABLE ais_trackings_2017_11_16; | |
CREATE TABLE ais_trackings_2017_11_14 ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION vessels_arrival_departure_time(imos text[], | |
since timestamp without time zone default null, | |
port_locode text default null) | |
RETURNS TABLE(port_vessels_id int, imo varchar, mmsi varchar, | |
vessel_name varchar, voyage_number jsonb, | |
port_locode varchar, event_name varchar, | |
event_time timestamp without time zone | |
) AS $$ | |
SELECT pv.id, v.imo, v.mmsi, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"customer": { | |
"id": 59, | |
"first_name": "North Customer", | |
"last_name": "TGM STAP2 Completed", | |
"email": "north_customer_tgm_stap2_completed@tgm.vn", | |
"gender": "male", | |
"birthdate": "1991-04-17", | |
"phone": "06546465", | |
"address": null |
NewerOlder