Questions tagged [cloning]

Cloning refers to the making of an exact copy (deep copy) of any kind of object. It is the opposite of shallow copying, in which a reference to particular object is copied, not the object itself.

Cloning refers to the making of an exact copy (deep copy) of any kind of object. It is the opposite of shallow copying, in which a reference to particular object is copied, not the object itself.

377 questions
-1
votes
1 answer

Bad: git cloning problems

After cloning when i try to install it shows the following warnings and is unable to install. I clonned this very repo once before and it cloned successfully. But after that i had uninstalled git and deleted all the cloned contents. Now when I try…
-1
votes
1 answer

I having issues is storing image field data in jquery cloning with laravel5.8

I have name, email and image input fields in a view file. I use jquery cloning in the view file. How to store the image, name and email values in the database by using laravel 5.8 creating a method? This is my code: public function…
-1
votes
2 answers

Cloning a Websphere Portal 8.5 from AIX to Linux

We have a WebSphere Portal Cluster V8.5 on AIX PowerPC OS. i want to move it to one of the Linux Based OS such as (RedHat, CentOS, Oracle etc..). Is it possible? how is it done? is it enough to copy the installation folder from AIX to Linux…
-1
votes
2 answers

Trouble cloning a matrix

def add_column(matrix): """ >>> m = [[0, 0], [0, 0]] >>> add_column(m) [[0, 0, 0], [0, 0, 0]] >>> n = [[3, 2], [5, 1], [4, 7]] >>> add_column(n) [[3, 2, 0], [5, 1, 0], [4, 7, 0]] >>> n [[3, 2], [5, 1], [4, 7]] """ new_matrix =…
-1
votes
1 answer

javascript clone textfield with a string added

I have a form containing 4 text fields. JS is making sure that firstname, lastname and fullname are filled in effectively... but I want the field picture file to contain the fullname value with the extension .jpg. Allowing me to change the picture…
MK69
  • 57
  • 6
-1
votes
1 answer

How to change the span text of a cloned element? - JavaScript

I am cloning a hidden li element to create todo list items, then changing the text to be the same as the text property of the associated todo object. After the code runs, I can see that they changed in the console, but the elements on the page still…
OctoNerd
  • 13
  • 2
-1
votes
1 answer

Is it possible to clone the display from a secondary monitor and display it in a window on the primary monitor?

Like the title says, I am wondering where I should start with this idea. I want to be able to display the output from a secondary monitor in a window on the primary monitor, sort of like a Picture-In-Picture configuration. The reason I want to do…
Ben
  • 83
  • 4
  • 15
-1
votes
1 answer

Different options for cloning inheritance hierarchys

I was wondering how we can clone an inheritance hierarchy in java. would you just implement cloneable on the class that you wish to clone?
Ciaran
  • 697
  • 1
  • 12
  • 35
-1
votes
1 answer

Jquery - cloning a paragraph with no Id

Item 1

Item 2

Item 3

Sergelie
  • 363
  • 1
  • 14
-1
votes
2 answers

Clone a Singleton object

Why does this code throw CloneNotSupportedException? public class Car { private static Car car = null; private void car() { } public static Car GetInstance() { if (car == null) { car = new Car(); } …
-1
votes
1 answer

Best options for disk or file mirror without shutting down machine

I'm looking for some good options for mirroring or cloning my disk without shutting the machine down. In the past all the options I've looked at are very expensive (usually several thousands). Hoping to find something that works for Windows (2003…
RGI
  • 333
  • 4
  • 10
-1
votes
1 answer

How to clone this WordPress Plugin ( advanced xml reader )

After a bit of research I've found an easy way to display the XML feed in WordPress. The only problem with this plugin (advanced xml reader) is that it supports just one feed. I need 100!! The author dont have time to update the plugin and adviced…
-1
votes
1 answer

JavaScript clone object with KnockoutJS observable properties

I have an object of mixed KnockoutJS observables and standard properties: var original = { a: ko.observable("a"), b: "b" }; I want to create a clone of the original object without any reference to it, so that I can do: var cloned =…
Matteo Pagliazzi
  • 5,140
  • 12
  • 49
  • 83
-2
votes
2 answers

bash shell script to clone files

cd /home/foo/ for f in `seq -w 01 10` do cat $f > /home/foo/cloned_files/"$f".$i done situation: i have only 1 file in /home/foo. i want to clone that file 10 times and add the iteration number to the filename. in the end, i should have 10…
user2585000
  • 113
  • 1
  • 9
-2
votes
1 answer

Creating copies of my objects

I am a beginner, and I wonder about the following. Let's say I have a class foo and created an object foo first and put some data into it: foo first = new foo(); first.data="mydata"; I then want to create another object foo second and make it have…
Kagaratsch
  • 963
  • 8
  • 18
1 2 3
25
26