script tag

1639 questions


4 answers
37 views
0
Is there a name for a method that destroys an argument, like a destructive method when the caller changes state?

obj.fn(x)What is the name of the function that changes the value of the argument x before and after calling?Ruby is obj.reverse!The one whose state of obj changes in is called a destructive method.It'...

1 years ago

2 answers
89 views
0
ES5 <=> ES6 Conversion Tool

http://js2.coffee/This tool is a JavaScript<=>CoffeScript cross-conversion tool.Is there anything that can be converted to JavaScript<=>ES6 in the same way?The goal is to efficiently repla...

1 years ago

3 answers
96 views
0
Understanding How to Extract Hierarchical Strings

We would like to process the following text file into CSV file format using shell script.If it can be processed on Linux, I don't care about the method.I can't think of a way to realize it, so I would...

1 years ago

1 answers
21 views
0
How to Determine Your Browser in JavaScript and Redirect to a Different Page

Is it possible to redirect further from the page where JavaScript determines the browser UA?I'd like to sort the pages separately between non-compatible mobile phones and compatible mobile phones.1. J...

1 years ago

1 answers
32 views
0
Can the collision between circle and rect be removed by tmlib.js?

In the block breaking game using tmlib.js, the collision is set as follows:this.setBoundingType(circle); on the ballthis.setBoundingType(rect); on the paddleThe collision determination determines that...

1 years ago

3 answers
82 views
0
If you set the MySQL password with mysql_config_editor, the file size of the mysqldump result is 0 only when you run the sh file via crontab.

environment·CentOS·MySQL 5.6...password is set in mysql_config_editor·Linux username...testThe following command creates the file as expected.sh hoge.sh▼hoge.sh mysqldump --single-transaction-u databa...

1 years ago

1 answers
36 views
0
Error with parameter to change event receiving unintended data.

There is a combo box called payment date on the screen, and the value is set to the value obtained from DB processing.After setting it up, the initial value is to display the value processed by the se...

1 years ago

2 answers
33 views
0
I don't want to shift the content below from the HTML click menu.

Next time I click BBB in HTML, I'd like to bring up a menu that I want to expand below.AAA BBB CCC DDD   Menu 1 (←Expanded Menu)    Menu 2 (←Deployed Menu) However, if you expand it normally, The cont...

1 years ago

1 answers
35 views
0
"When I retrieve HTML from the URL, ""Page could not be displayed"" is returned."

I have a question about python.I tried to get the source of the page in urllib.request.urlopen().read(), but I couldn't get it as I wanted.Details are as follows:The following program retrieved the sp...


1 answers
79 views
0
I want to add objects to the array (forEach, push)

I would like to push the object to the array using the sample code below, but I cannot do as I wish.Push {text:aaa, imagePath:} to arry in the first loop using forEach and I think I'm pushing {text:bb...

1 years ago
« - 86 - »

© 2024 OneMinuteCode. All rights reserved.