This works wrong script should delete only copies, but this script deletes all files #!/bin/bash DIR=$1 if [[ -z "$DIR" ]]; then echo "Error: files dir is
I have a table in snowflake Table1 and I created a stream on Table2. Now I want to check that if there is data in stream based on changes in Table2, then I want
I have the following script in Lua (custom.lua): local data = loadFile() local count = -1 request = function() url_path = "/resource" -- lock count
I have a table with a starting time, finishing time and delivery columns. The starting and finishing times are of the timestamp without time zone data type (YYY
I am trying to post a simple json to our backend api through REST POST snap. Everything was working. And then we changed the url to a new url and I updated the
Please Note, the provided answer doesn't solve the problem for me. In python I have: resolver_ip = 127.0.0.2 resolver = dns.resolver.Resolver() resolver.nameser
We have an Ionic-Vue App (Ionic 6 and Vue 3) and try to open an IonSelect programmatically. We tried using a ref like this: <ion-select ref="mySelect" place
I have Jax-RS REST API with Jetty Server in my Java 8 application. I am new to securing the REST API. I have .pem file (certificate) in some path. I want to use
I'm running ExecuteCommandCommand successfully using the AWS JavaScript SDK v3, but I'm unable to find out how to log the shell output. The ExecuteCommandComman
I'm working on a project where I'm unable to run npm install as I'm getting the following error. npm WARN deprecated [email protected]: Critical security vulnerabili
I have created custom alert with Modal in react native but it renders only once. This is my component import {Text, View, Modal, TouchableOpacity} from 'react-n
firstly, I google'd a lot but nothing I found related to my case, I have an ELF executable file I'm trying to run it in my Ubuntu WSL, I've changed the permissi
After a long search and unsuccessful attempts, I ask you to help me here. I need a python script that in maya will switch wireframe to shaded (key 5:smooth shad
Suppose that you have two data frames which can be created using code below: df1 = pd.DataFrame(data={'start_date': ['2021-07-02', '2021-07-09',
I have a Collection allRecords as {'name':'tom', 'subjects':'Physics'} {'name':'jerry', 'subjects':'Maths'} I have one json file is testData.json as {names:",t
Goal: For a point a and a rectangle B, I would like to calculate the shortest distance between these two objects. Motivation Because this calculation is part of
What's the correct syntax for the onChange es6 function? function myEvent(e){ console.log(e.target) } <select onChange=(event)=>{console.log(event.ta
I have to do this:- If an attendee has registered to parallel sessions (Sessions happening at the same time/overlapping sessions), then a checkbox (Registered_T
I'm currently working on an university research related software which uses statistical models in it in order to process some calculations around Item Response
I'm trying to install TkFontAwesome using python -m pip install tkfontawesome, but always get the following error: Collecting tkfontawesome Using cached tkfon
you are given a stream of integers represented by an array[ ] of size N. Whenever you encounter an element arr[i] , you need to increment its first occurrence (
Started working on a new application and decided to write tests from very early stage to avoid any future mistakes. However, little bit struggling I guess with
i have been given a code to sort a linked list that contains links (we call them maillons in french, sorry i don't really know how it's called in english) of Op
I am developing an automated calendar for a school on AirTable, but I am struggling to add if there is a bank holiday between the start date and end date. If th
Currently, i am working on a task where we are scraping pages from web and trying to generate labels for each webpage. For that, we have extracted the text data
I use redigo to use redis in golang I have tried to use group with reducerTOLIST but I got the following error: Error parsing Aggregate Reply: redigo: unexpect
I need an array with chart values, I obtained one but after exiting from the function it became blank, here's what happens: Example function AddvotoTec(voto
I am trying to make an https request in my backend node.js web app. I have the following code: const express = require('express'); const https = require('https'
I have the following two datasets: df1 <- data.frame( "group" = c(1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5), "numbers" = c(55, 75, 60, 55, 75, 60, 5