CORS Vue and OctoberCMS

Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. I’m building an application with Vue (VueX, vue-router, …) and OctoberCMS. I create virtual domain for API and APP in local via MAMP. I had config all CORS via plugin ‘rluders-cors’ in OctoberCMS. Route::group( [ ‘prefix’ =>…

Details

GWT: ClosingEvent setMessage works but message is not showing

I use Window.ClosingHandler to show confirmation dialog when user press f5 or wants to close tab. Dialog is showing but my message is ignored, browser (Chrome) shows me default message “Changes you made may not be saved.” Other browsers also show me default messages instead of mine. Window.ClosingHandler() { @Override public void onWindowClosing(Window.ClosingEvent event) {…

Details

Why do I have these KDE processes running in Xubuntu?

I have Xubuntu 16.04. I was looking at the Task Manager and I found several KDE processes running: knotify4, kuiserver, kdeinit4:kded4 [kdeinit], kactivitymanagerd start-daemon, kdeinit4:klauncher [kdeinit] –fd=8, kdeinit4:kdeinit4 Running… kdeinit4 seeems to be used only to run KDE applications. Is this perhaps due to some application I am running, which is KDE-specific? I can’t think…

Details

Missing c++ headers under alpine clang

I’m trying to build a small alpine-based docker container to build c++ app using clang++. Dockerfile looks like this: FROM alpine:3.10 RUN apk add –no-cache clang But when I’m trying to compile a hello world I’m getting the following error: $ printf ‘#include <iostream>\nint main(){std::cout<<“Hello”<<std::endl;}’ > test.cxx $ clang++ test.cxx -o test test.cxx:1:10: fatal error:…

Details

Alsa doesn’t recognize soundcards but kernel does

I’ve an issue with alsa which seems not to recognize my soundcards. Before I didn’t have that issue… !!################################ !!ALSA Information Script v 0.4.64 !!################################ !!Script ran on: Mon Jan 6 18:28:00 UTC 2020 !!Linux Distribution !!—————— ID_LIKE=arch !!DMI Information !!————— Manufacturer: Gigabyte Technology Co., Ltd. Product Name: B450M DS3H Product Version: Default string Firmware…

Details