<?php $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $from = 'From: yoursite.com'; $to = 'contact@yoursi
I recently saw a module that allows me to run my code simultaneously which happens to be what I need. However, as I was testing with function, I ran into some e
can anybody tell me how to implement a split function in mysql which behaves like Javascript split. I want a function like this SELECT Split('a,b,c,d', ',') A
I want to delete elements from an array for the given range (indexes) without using vector. For example, if the array is arr[5] = {1, 2, 3, 4, 5} and the lowRa
#here I want to define the self.__tree but I am not sure how to do so, how would I create the tree? oijh0ij0ihoihihoihou
Hello, Can someone please explain me this const {r,g,b} = this; Why it has no variable name, if 'this' is the variable name, to what that 'this' pointing to? f
I have a php recursive function as shown in the below: function displayDropdown(&$catList, $parent, $current=[], $level=0) { if ($parent==0) { foreac
I am reading a book called functional programming in C# by Enrico Buonanno public static Validator<T> FailFast<T> (IEnumerable<Validator<T&
I want to make a function that takes the directory of a .txt file as an input and returns a dictionary based on specific parameters. If the .txt file is empty,
I have a powershell script that reads and parses a text file. The file is read into memory and then processed line by line. When I switched from Powershell 4.0
I've only recently started with python so I'm not entirely certain what to do. I've tried renaming the function and the dictionary. Rearranged the formatting a
One of the C# Azure Function App generates messages and put them in azure storage queue, and we would like to use the Managed Identity as we don't want to use t
I tried to used reduce(ee.Reducer.max()) and reduce(ee.Reducer.min())in the follow function, but doesn't work very well. Max and min return the same value. How
I was trying to learn how to create classes in python and I wrote the following code to create a class called fraction. However, when I try to add two fractions
Consider: def fix_county_string(s): """ Insert Docstring """ fp = open("michigan_COVID_08_24_21.txt", "r") fp.readline() for line in fp:
struct S { void foo(); }; inline void S::foo() {} Can't figure out from the documentation if this function is considered inline or not.
In Remix Rinkeby Network, I have built 2 contracts in the same folder: GetETHUSD.sol: to retrieve eth/usd exchange rate Send_2_SC: send wei to this contract an
hope all is well. I have been following Dapp University tutorial (https://www.youtube.com/embed/x-6ruqmNS3o?start=2111) to make a mintable NFT pairs game. I am
I'm working on a Solidity Smart Contract for Tron Network. I want the owner can set an array of address => uint. This is the code: pragma solidity ^0.8.0; s
I want to run a code from a paper by Julia. There is a function about data storage. The function need to insert a function called oracle. I create a c vector an