Categories
Ask Chemistry

Epoxide to a larger cyclic ether?

i thought the first step must be using gringard to add carbons, but i need a hydroxyl group on the carbon on the other side to make it diol and produce the wanted product, but nothing seems to be working, any hints please?

Categories
Linux Mastering Development

Files and drives

##I am using Macos high Sierra 10.13.6 I used (select ) the second disk (disk1s2) for backup on timemachine by mistake, then I unselected it then delete it the time machine file on the image of the disk, unfortunaltelly I have a lot of used giga bit remained in others and most of that space […]

Categories
Linux Mastering Development

How do I assign an Ubuntu user to SMTP service for authentication?

I need to lock down my SMTP port with authentication. How do I assign a user to it that doesn’t have root access?

Categories
Mastering Development

Problem with naming x-axis with ggplot2 in Rstudio

I’m trying to create some variation of a pareto-chart. Moving along the code I face a problem I cannot solve on my own for several hours. It’s regarding the data order of the package ggplot2 (1) and renaming the labels accordingly(2). (1)Since I want to create an ordered bar-plot with a saturation curve, I created […]

Categories
Mastering Development

How to create a shared drive with Google Drive API (node.js)

I’m trying to make a script that makes a shared drive from the google drive api but right now I’m getting an error inside the createSharedDrive(auth) function where it says drive.drives.create as it’s saying the ‘create’ function is undefined. Not sure how to fix it. The google drive api documentation doesn’t show the entire script […]

Categories
Mastering Development

merge in data.table on ID and closest date in R

I want to merge two data frames in data.table by the same ID. The first data frame df1 has unique IDs, the second df2 has duplicated IDs. I only want to merge IDs from df2 with the closest date to df1. Every other ID in df2 should be dropped. I was trying the nearestTimeandID function […]

Categories
Mastering Development

Microsoft Visual Studio extension (VSIX) lower case $safeprojectname$

Context I’m developing a Microsoft Visual Studio extension, for which I’ve seen there are: $projectname$ variable to get the name given to the project, $safeprojectname$ variable to get the name given to the project with all unsafe characters and spaces replaced by underscore. Source: https://docs.microsoft.com/en-us/visualstudio/ide/template-parameters?view=vs-2019 For example with project name "Tata yoyo" variables will be: […]

Categories
Mastering Development

How to squash multiple past commits into one [duplicate]

I am very new to manipulating anything in git, but I have a bunch of commits that I want to combine into one commit (7 commits of me deleting one file at a time). I have made more commits since then and I would like to keep those. How would I combine all those commits […]

Categories
User Help

How do I forward my port to setup a remotely accessible server?

I think my task is to make sure that my router understands that any request made to my IP address at some port, say 80, must be forwarded to my computer where I have set up a server. I have logged into my router through a web-interface, but I am unable to figure out how […]

Categories
User Help

Why is SSL support for Nextcloud reccomended to be realized by means of a reverse proxy?

In the readme of the official docker image for nextcloud it is stated, that it is recommended to use the image behind a reverse proxy that provides SSL (Source). While its obvious, that a installation exposed to the internet needs encrypted connections, this particular method of implementation strikes me (as a web development n00b) as […]