« first day (3073 days earlier)      last day (1029 days later) » 

4:14 AM
0
Q: Testing a function's return value in the while loop head in Bash

jquerynewbieI have a bash function as below: isnumber () { re='^[0-9]+$' if ! [[ $1 =~ $re ]] ; then return 1 else return 0 fi } And my code to call to the function is as below: if isnumber $MAXPAGES; then echo "" else echo "Invalid number of pages found!...Fixing....

 
 
5 hours later…
 
3 hours later…
12:53 PM
hi guys
in eclòipse I have a stange behaviour. I have two class .java but they have the j icon diffferente
the first works fine and the other with that stange icon doesn't work
here there are the image!
0
Q: incon class java iin eclipse is different

adsdsI have two class .java but in pdcController.java I cannot do anything: Look the image: Look the icon are different in BandoService works all, but in .pdfController I cannot do anything (for example I cannot suggest for method or error import). pdfController and BandoServiceare in the same project.

Anyone can help me to understand what is it?
 
Zoe
Please don't use chat as fastlane for your questions. Instead, wait a few days before asking here to give the people on the main site some time. If we want to answer questions there, we will look for them on our own.
Also, using sock accounts to get around a question ban is just gonna get you into trouble
8 messages moved from Java
 
 
1 hour later…
2:18 PM
Mocha option

>>> options: {
diff: true,
extension: [ 'js', 'cjs', 'mjs' ],
package: './package.json',
reporter: 'spec',
slow: 75,
timeout: 10000,
ui: 'bdd',
'watch-ignore': [ 'node_modules', '.git' ],
grep: /!(node_modules)/,
fgrep: '',
reporterOption: undefined,
reporterOptions: undefined,
global: [],
globalSetup: [],
globalTeardown: [],
enableGlobalSetup: true,
enableGlobalTeardown: true
},
 
1 message moved from JavaScript
 
 
2 hours later…
5:18 PM
@Cerbrus Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@KarelG Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
4 messages moved from JavaScript
 

« first day (3073 days earlier)      last day (1029 days later) »