Questions tagged [manipulate]

Do not use. This tag has been used for anything and everything. Disambiguation required.

33 questions
0
votes
2 answers

bash manipulate multiple strings in a file

I am looking to strip the below input lines from the filename and I am using this file: cat <./tz.txt 2019/12/_MG_0263.CR2.xmp: bopt:keywordlist="pinhole,car,2019" 2019/12/_MG_0262.CR2.xmp: …
Matei
  • 13
  • 4
0
votes
1 answer

How to seperate string to other TextBox

I am using Visual Studio, I type in the first textbox for example Name:First/age:22 but if try other name it will not work. How to manipulate the string inputted by the user. Any advise what is the use for this scenario except this substring? …
anony
  • 49
  • 4
0
votes
0 answers

iTextSharp (version 4.1.6) - add text/table at top of existing PDF

I have a pdf document (created by iTextSharp - free version 4.1.6) and I want to add text / table at the top of this pdf. I have tried to create two memory streams from iTextSharp Documents and combine them to one, see my code below. But the new PDF…
Alexander
  • 23
  • 3
0
votes
0 answers

How to manipulate SVG paths onclick with React?

I'm aiming to create an interactive SVG like the following: https://codepen.io/iamandrea/pen/rNjPemO Basically, I want to load an SVG and allow the user to click and modify the paths. This example uses Two.Js, however, and I'm having trouble…
iamandrea
  • 31
  • 4
0
votes
1 answer

Manipulate values in a JSON in nodeJS

I am new to Nodejs and JSON manipulations. I have a jSON that looks like "ent": [ { "employee": [ { "emp_name": "", "column": "employee", "emp_id":…
vakichak
  • 31
  • 3
0
votes
2 answers

Using array to store and manipulate objects data with java

Im currently learning java and im trying to create an Employee management program that stores employee records into an array and allow management to manipulate the array and print any employee reports. So I create a menu and ten employee objects…
0
votes
1 answer

How to spoof location on android without using Mock Locations?

We know that there are various apps like fake my GPS etc. But these apps use the developers options to activate mock locations. The apps that detect mock locations usually check if the permissions are on or not and they use the below…
raptorzee
  • 151
  • 1
  • 11
0
votes
1 answer

ggplot plot only top X bars (within ggplot commands due to Shiny)

I have searched for this answer but I could not find it. I'd like to show only the first X elements of a ggplot barplot, by coding only into ggplot itself. Let me explain a bit further. I have a dataset listing the number of residents in a city, for…
ku_us
  • 1
  • 3
0
votes
0 answers

Mathematica Manipulate: How to extract the values of local variables?

I used random values in Mathematica's Manipulate. Can I get them out from there?
0
votes
1 answer

Bash: Find a word in file and add text after it

I'm trying to build my own bash script for installing LEMP (nginx mariadb php). I've managed to pull it off but I got stuck at the part where I need to add the 'index.php' text to the index line @ /etc/nginx/sites-avaliable/default. I've tried with…
Gilush
  • 81
  • 8
0
votes
2 answers

How to get the most common combination across multiple columns

I have the following dataset, where I have a 1 to indicate a food type was put out and a 0 to indicate it wasn't. I know that the most common number of food types put out is 2, but I'd love to know what combination is the most common. Here is a…
Rachael
  • 33
  • 7
0
votes
0 answers

Swirl Activity : Manipulate function and viewing formulas

I'm trying to learn R on the swirl package "Least Squares Estimation" and am having two problems. 1) It mentioned using the manipulate function but when I've tried to use it, it says that it can't find the function. 2) In this lesson, I've had to…
fyb123
  • 43
  • 1
  • 5
0
votes
1 answer

How to plot a step function in Mathematica?

I want to plot a discrete function in mathematica like, for example, the following: X=[X1,x2,X3]and Y = {1 if X<=X1,20 if X1< X<=X1+X2,40 if X1+X2< X<=X1+X2+X3} In addition I would like to use the Manipulate code to be able how the step function…
0
votes
1 answer

Manipulate Excel table macro to another format. Remove duplicates and reformat

I'm around 2 months in my VBA journey and I have encountered a problem which I can't find a solution to online. I'm having problems manipulating an Excel table to another format which has been created by another macro that I have programmed. I have…
-1
votes
1 answer

change layout without redirecting to another html document

I have 1 HTML page and i want to be able to manipulate the shape of the layout and the content without having to create a second page and without having to refresh the page; I had the idea to code everything into the one page, and toggle the display…