Categories
Development System & Network

How can I retrieve my Let’s Encrypt registration’s current email address?

I understand that Let’s Encrypt maintains an email address as a registration and recovery contact for every “account.” This email address is used to notify the owner of the certificates of upcoming expirations as well as warn of other problems with the certificate. I have inherited several websites that use Let’s Encrypt and wish to […]

Categories
CMS Development Magento

Magento 2 Data migration error with catalog_eav_attribute

this is my first Magneto migration, so i need a little help. Migration stops and gives Record structure does not contain field layered_navigation_canonical I check in database in m1 this field exist but in m2 not exist.To continuation migration I add code to ignore this field in map.xml and map_eav.xml.dist files <ignore> <field>catalog_eav_attribute.layered_navigation_canonical</field> </ignore> But […]

Categories
Development System & Network

Refreshing AWS temporary credentials

We use an authentication process for AWS whereby you authenticate, do an MFA step, and are then granted credentials that are valid for an hour. Usually these are then put in ~/.aws/credentials. However, when doing long running awscli operations such as copying a large file via aws s3 cp …, the credentials expire and the […]

Categories
CMS Development Magento

Magento 2 – Prevent customer to see any page before setting the attribute

the community! I’m trying to implement a module that will prevent the customer from doing anything on the website before he’ll set the value on the specific page. So until the customer didn’t set that value – I want to redirect him only to my custom page. Do any of us implement something like this? […]

Categories
Development System & Network

unable to ssh into local qemu instance via port forward

I am trying to build a custom Ubuntu (ISO built from bionic – 18.04.2) qcow2 image via packer. This fails in the step where packer tries to SSH to the instance via port forward. I can see from VNC that the instance spins up fine, and I can login with the given ID manually on […]

Categories
Development User Help

Powershell script not consistently logging

I have a multi-threaded script that launches n number of simultaneous processes. Each process is supposed to write to a log file as it begins and completes: $StartTime = Get-Date $MaxThreads = 16 $MaxRunTime = 10 $fbConn = Import-CSV -Path C:\Scripts\BackupDatabasesPS\strings.csv <#Start ib backup loop#> ForEach ($site in $fbConn) { $cString = $site.DATABASELOCATION $siteid = […]

Categories
Development User Help

How to use a local EXE to write to files on my NAS?

I have a program downloaded from Github (Caesium-CLT) that I would like to access files on my NAS. The NAS folder is already mounted and the program is already in my System PATH. The dev states that the issue is not with their program, but my permissions. JDownloader and qBittorrent have no issues accessing the […]

Categories
CMS Development Wordpress

WordPress theme customizer keeps losing the stylesheet [closed]

Occasionally our site will load without the theme customizer styling. Within the console there are two errors: “Refused to apply style from ‘wp-content/et-cache/global/et-divi-customizer-global-15833523485466.min.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.” “Failed to load resource: the server responded with a status of 404 (Not Found) […]

Categories
Development

Web Intelligence : limit row number in a block

I have a list of events with a number of orders. I want to only display the first five biggest amount of orders in my report. I created a variable with the rank of each event : =Rank([Total orders]) Then I created a variable with the five event depending rank but I get this : […]

Categories
Development

Data frame inverse reshaping memory

So I have two dataframs that I’m using on a GRU model. I had to reshape them in order to apply it, but at the end of the code I wanted to plot y_predicted with y_test. It works but what used to be the x-axis is now the y-axis and vice versa. I though that […]