Export multiple lists in table form to the same file

I have a list, call it mylist, made of many sublists that are just points from a plot and I would like to export that to a single file. Let’s say I have, for example, something like this

mylist1={{1,2},{3,4}}; mylist2={{5,6},{7,8}}; mylist={mylist1,mylist2}; 

I need an output file like

1 2 3 4  5 6 7 8 

(notice the empty line between the two sublists). If I do

Export["myfile.txt", mylist1, "Table"] 

I obtain a file with

1 2 3 4 

which is ok for a single sublist, but I don’t know what to do in order to export all the sublists to the same file separated by an empty line.

Instancia do axios não retorna no export do nodejs

Estou tentando retornar a instancia criada através do axios pelo module.exports, porém quando tento usa-lá me da esse erro:

http(…).get is not a function

Meu arquivo http-common.js

var axios = require('axios');  var instancia = axios.create({     baseURL: `http://jsonplaceholder.typicode.com/`, });  module.exports = instancia; 

Meu index.js

var http = require('./app/infraestrutura/http-common')(); http.get('/users')         .then(function(response){             console.log(response)         }).         catch(function(err){             console.log(response)         }) 

automatically export CSV from googlesheet to our server

We have CSV file which is located on our server, https://example/thisFIle.csv. That is the exported data from googlesheet. A third party website is fetching the data from that CSV file every 3 mins.

The company that I am working on is in booking business, so their agents are the persons updating the googlesheet, then I will export the data into csv then upload to our server.

upon searching I learned that there is this google script section in googlesheet. How can I make the process of instead exporting the csv then upload manually to our server automatically using this google script?

Thank you in advance!

How to export edgescan vulnerability report with port and protocol listed

I’m trying to gather a report from info on live.edgescan.com

I notice that I can export a csv report of the vulnerabilities found on the page https://live.edgescan.com/app#/vulnerabilities. This does not include the port and protocol of each vulnerability along with the host info. There is a dropdown tab under each item within the vulnerabilities page, but these do not appear as columns in the report or the page.

How can I access these and add them into a report?

How to export Transaction ID and Credit Card Approval to CSV

I’ve been writing a script that exports a CSV into a directory. The CSV contains the information of the order, once the order has been made. The issue i’m having is exporting the information for transaction ID and CC Approval. Does anyone have any idea on how to gather that information?

Below you can see the two vars that are trying to gather the information $ paymentId and $ paymentApproval

public function sales_order_place_after($  observer) {     $  order = $  observer->getEvent()->getOrder();     $  quote_id = $  order->getQuoteId();      $  orderId = $  order->getEntityId();     $  order = Mage::getModel('sales/order')->load($  orderId);      $  text = "";     $  fp = fopen('hide/directory/for/question' . $  order->getIncrementId() . '.txt', 'w');      // billing info     $  billingAddress = $  order->getBillingAddress();     $  countryCode = $  billingAddress->getCountryId();     $  country = Mage::getModel('directory/country')->loadByCode($  countryCode);     $  countryName = $  country->getName();      //ship to billing info     $  shippingAddress = $  order->getShippingAddress();     $  shippingAddressCountryCode = $  shippingAddress->getCountryId();     $  shippingAddressCountry = Mage::getModel('directory/country')->loadByCode($  shippingAddressCountryCode);     $  shippingAddressCountryName = $  shippingAddressCountry->getName();      $  query = "Collect";     $  shippingDescription = $  order->getShippingDescription();     if (substr($  shippingDescription, 0, strlen($  query)) !== $  query) {         $  shippingCode = "PPD";         $  shippingAgentCode = "UPS";         $  shippingServiceCode = explode(" - UPS ", $  shippingDescription)[1];         $  carrierAccountNumber = "";         $  shippingAmount = $  shippingAddress->getShippingAmount();     } else {         // Shipping info         $  shippingCode = "COL";         $  shippingAgentCode = "";         $  shippingServiceCode = "";          $  order_id = $  order->getId();          $  carrierAccountNumber = Mage::getSingleton('checkout/session')->getCollectmemoComment();         $  carrierAccountNumber = $  carrierAccountNumber[$  quote_id];         $  shippingAmount = 0;     }      //Order Info     $  orderDate = $  order->getCreatedAt();     $  orderDateToShow = date('n/j/Y',strtotime($  orderDate));       // Transaction Info     $  orderTransactionDateTime = date('n/j/Y h:i:s A',strtotime($  orderDate));      // Account INfo     $  userEmail = $  order->getCustomerEmail();      // Payment info     $  payment = $  order->getPayment();     $  paymentCcType = $  payment->getData('cc_type');     $  paymentPoNumber = $  payment->getData('po_number');     $  paymentPoComment = $  payment->getData('po_comment');     $  paymentIdTwo = $  payment->getCcTransId();     $  poRefferenceNumber = $  payment->getData('po_ref_number');        $  paymentId = $  payment->getCcTransId();     // $  paymentId = $  payment->getData('cc_trans_id');      $  paymentApproval = $  payment->getData('cc_approval');     // $  paymentApproval = $  payment->getCcApproval();       $  paymentCcStatus = "";       if ($  paymentPoNumber != "" ) {         $  paymentCcStatus;     } else {         $  paymentCcStatus = "Approved";       }      if ($  paymentCcType == "VI") {         $  paymentCcType = "Visa";     } else if ($  paymentCcType == "MC") {         $  paymentCcType = "MasterCard";     } else if ($  paymentCcType == "AE") {         $  paymentCcType = "American Express";     } else if ($  paymentCcType == "DI") {         $  paymentCcType = "Discover";     }      $  item_incrementer = 1;     foreach ($  order->getAllItems() as $  itemId => $  item) {         $  fields = array($  billingAddress->getCompany(), $  billingAddress->getFirstname(), $  billingAddress->getMiddlename(), $  billingAddress->getLastname(), $  billingAddress->getStreet(1), $  billingAddress->getStreet(2), $  billingAddress->getCity(), $  billingAddress->getRegion(), $  billingAddress->getPostcode(), $  countryName, $  billingAddress->getTelephone(), $  userEmail ,$  shippingAddress->getCompany(), $  shippingAddress->getFirstname(), $  shippingAddress->getMiddlename(), $  shippingAddress->getLastname(), $  shippingAddress->getStreet(1), $  shippingAddress->getStreet(2), $  shippingAddress->getCity(), $  shippingAddress->getRegion(), $  shippingAddress->getPostcode(), $  shippingAddressCountryName, $  shippingAddress->getTelephone(), $  shippingCode, $  shippingAgentCode, $  shippingServiceCode, $  carrierAccountNumber, $  order->getShippingAmount(), $  paymentPoNumber, $  paymentPoComment, $  poRefferenceNumber, $  order->getIncrementId(), $  orderDateToShow, $  paymentCcStatus, $  paymentCcType, $  paymentApproval, $  paymentId, $  paymentIdTwo ,$  order->getGrandTotal(), $  orderTransactionDateTime,  $  item_incrementer, $  item->getSku(), $  item->getQtyOrdered(), $  item->getPrice() );           // echo '<pre>' , var_dump($  fields) , '</pre>';          $  field_incrementer = 0;         foreach($  fields as $  field ) {             if ($  field_incrementer > 0) {                 $  text .= "\t";             }             $  text .= $  field;              $  field_incrementer++;         }          $  text .= "\r\n";          $  item_incrementer++;     }      fwrite($  fp, $  text) ;      fclose($  fp); } 

Drupal 8.6 to 8.7 Upgrade breaks Rest Export View in Calendar

We have a website that uses Views with a serializer rest export to display events on a monthly calendar. When we upgraded from 8.6.16 to 8.7.3 the calendar display is blank. All the json information displays in the view preview, and using console.log I can see the information load on the page. I can load events in a normal view without any issues. I’ve spent several days trying to figure out what change may have caused this, my leading theory is that something with date formatting may have changed somewhere, but so far, no luck. Has anyone had any similar experience that may be able to lead me in the right direction?

EDIT: I just noticed the difference by exporting the views preview and running a diff on them. The live site displays dates correctly like this "value":"2019-06-27T00:30:00 while the updated dev site displays dates like this "value":"2019-06-26T17:30:00-07:00" so could something have changed with time zone translations or date fields that is interfering with our code?

How do I export emails to PDF without the “See More from…” history expanded at the end of the messages?

I want to generate a PDF of an email correspondence. I don’t want my PDF to include, at the end of each email, a quoted history of every message prior to it.

I open the conversation in Mail. I do not click the “See More from…” options. That is, I don’t expand them, so that the emails look the way I’d like them to in my PDF. I select every message in the conversation. I then choose File > Export to PDF… and save the file. I open the file and all the “See More from…” options are expanded anyway. I then have to go through the PDF manually and delete the unwanted pages.

I’ve also tried printing to PDF, in which case I have the option of manually specifying which pages to print. This can still be quite time consuming on a long conversation, as each email has more and more messages quoted in the history.

How can I export the emails without the “See More from…” histories included?

How to export a large WhatsApp chat with media exactly as it appears on my phone?

I want to export a huge WhatsApp conversation (346,000 messages) along with media (photos, videos and voice notes) to my computer exactly as it appears on WhatsApp.

There is a Chrome extension that does exactly what I want by downloading the conversation from WhatsApp Web as HTML. But, it crashes around 100,000 texts. Is there any other way?

I can’t export it directly through WhatsApp because it’s limited to 40,000 texts. Also, my phone is not rooted so extracting the SQLite files is not an option.

(Technical answers are highly encouraged)