Categories
Linux Mastering Development Ubuntu

Unable to Unistall cuda 11 repository from ubuntu 18.04

a few days ago i tried to install cuda toolkit and by mistake i installed the 11 version instead of 10 version. My nvidia drivers was the 440 and the cuda 11 version required 450. After the wrong installation i was not able to remove/uninstall the cuda repository and generally when i try to purge […]

Categories
Mastering Development

How to add tags in the maven goal in azure pipeline yaml file

I need to add a maven goal in azure pipeline yaml file which contains @tag, when i do so it is throwing some error saying @ is not allowed. mvn test -Dcucumber.options="–tags ‘~@skip_scenario and @Regression’" this is the goal i need to add in the yaml file YAML: trigger: master pool: vmImage: ‘windows-latest’ steps: task: […]

Categories
Linux Mastering Development Ubuntu

Errors With Bleachbit

New to Linux (one month). Running ubuntu 18.04.4 LTS on an old 32 bit computer. I recently installed bleachbit and believe I did it right. When I run it, however, I get these error messages. Can anyone explain them and tell me what I need to do to correct them? Thanks… Directory is not empty: […]

Categories
Mastering Development

async call to function with multiple returns

An async function I am dealing with, returns multiple values in array const funcName = async function (arg) { … return [val1, val2]; } While calling this function, I find that it is not possible to directly access individual return values in a syntax: result1 = await funcName(arg)[0] result2 = await funcName(arg)[1] The only way […]

Categories
CMS Mastering Development Wordpress

New wordpress install, unable to create more than one post

I’ve stumbled upon something quite absurd. I’ve deployed a single ec2 instance on AWS, installed LAMP (CentOS7, Apache 2.4.6, MariaDB 5.5.65, PHP7.3), downloaded, unzipped and configured WP. That’s all, no plugins, no themes. Something I did tens of times. The instance is behind a Network Load Balancer simply tunnelling port 443 to the instance and […]

Categories
Mastering Development

How do I call a modal from a custom quill editor button

I have a custom button (embed) in my quill editor that uses the prompt to call the windows popup Now, I want to change the windows popup to a modal on the click of the embed button. I honestly don’t know how to go about this as this is my first time using a quill. […]

Categories
Ask Chemistry

Volatile surfactants for cleaning glass

Getting a smear free, clean, window or picture glass is not easy. Dust, pollutants (oily and sooty), fly blows, fingermarks all tend to smear when rubbed. Normal detergents (oily or solid) needed to disrupt and hold these pollutants in water suspension/solution remain as smears. Even a tiny amount of surface contamination is glaringly obvious. Isopropanol, […]

Categories
Mastering Development System & Network

dovecot socket not found running as service

I got a strange problem concerning dovecot. My dovecot was working flawlessly on my cubietruck until yesterday, when I upgraded from debian/jessie to debian/stretch (armhf). /var is symlinked to another mounted drive (mountpoint /extended): /var -> /extended/hostname/var Now whenever I start it as service (“systemctl start dovecot“), it does not start but exits immediately with […]

Categories
Linux Mastering Development Ubuntu

Unable to restart Ubuntu VM 18.04 using VMware

I tried to launch VM using VMware as usual and the VM version is 18.04 . It just crashed and showed me a message that the magic number cant be loaded and it showed me multiple Ubuntu advanced options from where I selected a recovery version which booted and now its showing me lot of […]

Categories
Database Development

How to quickly scrape/enter data from a website?

I am doing a small project for which I have to manually scrape data from a website (students result). Now the issue is, I have a lot of fields (47) and the website is captcha protected. How can I get data? It gives data in pdf form. I need lots of stuff, like Name, Gender, […]