Categories
Mastering Development

PHP script downloads the php file itself instead of the file given

I found a question similar to mine, but the answers didn’t help. I want to start download for a CSV file, but for some reason it always wants to download the PHP file itself. Also… the csv file is generated directly before the download from a PHP array, and if I start the download, I […]

Categories
Mastering Development

Tic Tac Toe game using python [closed]

If you look at line 12 I need to make a restriction so that you can not overlap each other. (for example I don’t want "X" to go on a spot where "O" already is. (And yes I have to use a while loop) I have tried different ways but it does not seem to […]

Categories
Mastering Development

How do i get the data to my database using vb.net (class, module and form)

I hope the title is enough to understand my problem, I already installed whats need to run the ADO.NET, I already have a connection string in my module and data query in my class, Imports System.Data Imports System.Data.OleDb Module GlobalVariables Public sGlobalConnectionString As String Friend conString As String Public dr As OleDbDataReader Sub Main() Dim […]

Categories
Apple User Help

Using regex.extract with capture-groups argument fails when capture-group is null

Using regex.extract in MacOS 11.0 Big Sur numbers app version 10.3.5 (7029.5.5) on MacBook Air M1. Using a regular expression which contains one or more capture-groups that are not filled by a match, bizarre things like null results occur. It doesn’t always happen or different things happen but typing in the following into a previously […]

Categories
User Help Web Apps

Google Sheets: How do you perform a bulk find & replace or extract & replace using a list of search phrases and their replacements?

This is not my wheelhouse and I’m realizing I’m in a bit over my head. Any help would be greatly appreciated. I have been looking for a solution that searches for one or multiple strings in each of the cells in a column and, when one is found, it replaces them with another string from […]

Categories
Mastering Development

Activate hyperlinks in outlook message and add refference

I’ve created a macro, where I take incomming email and to save space on corporate servers, I download the attachments to shared drive and link them in the text before forwarding the message to 20 people. I have two tasks left to accomplish and cannot find the solution. When email.body is not in html format, […]

Categories
User Help Web Apps

How to create a three level hierarchical view of relational columns

I’ve been struggling creating the following view but I’m so close. I have a dataset with three columns of data where each level is broader than the other I want to be able to filter the data dynamically by two of the columns I want to create a visual where you can see the grouping […]

Categories
Mastering Development

PHP print_r shows contents of associative array exploded from CSV file, but echo can’t access individual values in it

I have a CSV file to make some MySQL variables reader-friendly, where the first item in the row is the MySQL field name and the second is the user-friendly name to be filled in a field, like so: Hymn1,First Hymn, Hymn2,Second Hymn, date,Date, C2W,Call To Worship, I will then create separate lists so people in […]

Categories
Mastering Development

Transpose unique data from column into 1 row in new sheet with more than 1 separator columns with headers

While searching for a function to use, I found the below formula to adapt from. =TRANSPOSE(ArrayFormula(TRIM(SPLIT(QUERY(A1:A30&”|”&rept(“|”,1),,2^99),”|”,1,0)))) What has worked so far is the use of the below formula but I can’t seem to change it to more than 1 separator column. ={(ArrayFormula(TRIM(SPLIT(QUERY(UNIQUE(A2:A)&”|”&rept(“|”,1),,3^99),”|”,1,0))))} Also, is it possible to add headers to the separator columns in the […]

Categories
Mastering Development

how to invoke telnet with exec from Java?

Seem to have a syntax problem: thufir@dur:~/NetBeansProjects/mud$ thufir@dur:~/NetBeansProjects/mud$ gradle clean run BUILD SUCCESSFUL in 935ms 3 actionable tasks: 3 executed thufir@dur:~/NetBeansProjects/mud$ thufir@dur:~/NetBeansProjects/mud$ ll total 96 drwxrwxr-x 7 thufir thufir 4096 May 3 19:51 ./ drwxrwxr-x 3 thufir thufir 4096 May 3 19:24 ../ drwxrwxr-x 5 thufir thufir 4096 May 3 19:51 build/ -rw-rw-r– 1 thufir […]