Posts by Pedro Ferreira • 364 points
12 posts
-
0
votes1
answer314
viewsA: Access oracle database remotely
If you have access to an old computer capable of supporting some version of Oracledb, you can put the computer accessible remotely using a service like Pagekite or Noip. If it is for non-commercial…
-
0
votes1
answer177
viewsA: Rest Spring server identifying a point as a regular expression
If you want to get the full format, you should use the regular expression: /somepath/{variable:.+ } in your case "/user/{login:.+}" Results that you will obtain: /somepath/param will give rise to a…
-
2
votes8
answers2184
viewsA: How to know all possible combinations of 0 and 1 in Java?
Through recursiveness, and in a very readable code, below follows a simple program to adapt to N number of digits through a tree. import java.util.ArrayList; public class Start { private static…
-
1
votes1
answer145
viewsA: How to create an integer variable in hexadecimal?
Without using Stringformat, a valid option is to use Convert.ToInt32 Method (String, Int32) Int32 will be the base, in this case 16 Hexadecimal int PanicButton =…
-
8
votes3
answers1428
viewsA: How to define the comparison of equality between two objects present in an Arraylist?
The comparison between two objects of the same class is made by inheritance of the Object class, which makes a comparison by reference of the positions in the memory, hence verde1 be different from…
-
1
votes1
answer93
viewsA: How to remove from Git a file that was tracked and is now in . gitignore?
If they are correctly in the list of . gitignore, the following commands clear these files/directories. For security you must confirm first with the -n flag!! Clear files that are not in index /…
gitanswered Pedro Ferreira 364 -
1
votes1
answer45
viewsA: What is the difference between sublime_plugin.Textcommand and sublime_plugin.Windowcomand?
Windowcommands do not require a view to run, although there may be an associated view. On the contrary, Textcommands require a view to be available. By way of example, in the example you provided:…
-
2
votes1
answer219
viewsA: What is an inert element?
It is a Feature that is in development, but is currently not active in existing browsers. The Inert attribute is a draft Feature of HTML. As of Feb 2017, no browser >has a Native implementation…
html5answered Pedro Ferreira 364 -
0
votes3
answers219
viewsA: Check function existence in C#
There is, and it’s already answered in English here https://stackoverflow.com/questions/8499593/c-sharp-how-to-check-if-namespace-class-or-method-exists-in-c More precise answer in English and…
-
3
votes2
answers1105
viewsA: Excessive line breaking while creating file . txt C#?
An if to validate the existence of content will suffice. using (StreamWriter linha = System.IO.File.CreateText(caminhoArquivo)) foreach(var item in codigos){ if(!String.IsNullOrEmpty(item){…
-
1
votes1
answer573
viewsA: Oracle Forms: run without browser
Official version: In the latest versions of Oracle Forms it is not possible to boot Oracle Forms without using a browser. However, there are alternatives through Java Webstart. Oracle Forms 10g…
oracleanswered Pedro Ferreira 364 -
1
votes1
answer219
viewsA: Library for Processing Services
The missing lib Netscape.javascript is part of the Java JDK. Netscape.Javascript Simply go find the path to the plugin.jar file that is within a subfolder of the JDK installation, and add to the…