The Latest

DevX - Software Development Resource

Change default Ctril+Click behaviour in Word to navigate through hyperlinks

Word allows you to navigate through hyperlinks when you use the ctrl+click combination, You can turn this default behaviour off, and navigate by just hovering on the link and clicking it. To disable, please go to File – Options and then choose Advanced- Editing options. Disable the checkbox next to ???Use Ctrl + Click to follow hyperlink??? Related Posts Home Depot bolsters B2B with $18.3B acquisitionChinese EV Shipping Shortage Impacts EuropeCustom software examplesRevolutionize Your Home: Smart Tech 2023IBM Launches Emotion Analyzing, Visual APIs for Watson

DevX - Software Development Resource

Repeat last action in microsoft applications like word, excel and powerpoint in windows with a quick keyboard action.

If you are using windows and Microsoft applications like Work and Excel, you can easily repeat your last executed action with a keyboard shortcut. All you have to is press the F4 key. For e.g. if you have marked the text in bold, or adding a new line in a table or any other actions, all you have to do to repeat that action is press the F4 key and the respective actions will repeat. Related Posts How Eyebuydirect Leverages New Tech to Stand Out in the E-Commerce SpaceSeattle entrepreneur sells AI venture, Lexion, to DocuSign for $165mRevolutionizing UOB with Microsoft 365 CopilotAI

Get the Attention of a User with a Beep

Getting the attention of a user is easily achieved in Java with the following code. Listing 1. public class Beep{ public static void main(String args[]) { Beep beep = new

Quickest Way to Copy the Structure of a Table

A very common task is to backup a table’s data, but sometimes we’d just like to copy a table’s structure. This quick tip will demonstrate how to copy a table’s

Time Zone Conversion

The method below does nothing because the returned Date is exactly the same with the input value. Always remember that the Date does not carry time zone information, it is

finding right tech

How to Find the End of a File in Java

Easily find the end of file that you are processing. Scanner again has a easier way of doing it. import java.util.*;import java.io.*;public class EndOfFile { public static void main(String args[])

How to Escape Curly Braces in C#

To escape curly braces in c#, use double curly braces. See the example below. var stringWithCurlyBraces = string.Format(“Good {{ ???{0}??? }}”,”example”);Console.Write(stringWithCurlyBraces);//will output Good { ‘example’ } Related Posts Report: Disney,

Create a Snapshot of Your Database

In order to create a Snapshot of your database, you can use the following code: DECLARE @DBName VARCHAR(100) = ‘DBName’DECLARE @CurrentDate VARCHAR(20)SET @CurrentDate = ‘_’ + CONVERT(VARCHAR(20), GETDATE(), 120)SET @CurrentDate

HTML Input Placeholder Attribute

The HTML5 attribute allows you to display a hint value describing what is expected as the field value in a form. This attribute works on the following types of entries:

Interesting Java.lang.Math Class

public class UsingLangDotMath {    final int TWENTY_SEVEN = 27;        public static void main(String args[])    {       UsingLangDotMath usingLangDotMath = new UsingLangDotMath();       usingLangDotMath.proceed();    }        private void proceed()    {       System.out.println(“Cube root of 27: ” + Math.cbrt(TWENTY_SEVEN));       System.out.println(“Trigonometric sine: ” + Math.sin(TWENTY_SEVEN));       System.out.println(“Trigonometric cosine: ” + Math.cos(TWENTY_SEVEN));       System.out.println(“Trigonometric tangent: ” + Math.tan(TWENTY_SEVEN));           } } /* Expected output: [root@mypc]# java UsingLangDotMath Cube root of 27: 3.0 Trigonometric sine: 0.956375928404503 Trigonometric cosine: -0.2921388087338362 Trigonometric tangent: -3.273703800428119 */ Related Posts Introduction

Daemon Threads in Java

Did you know that execution of a Java program will continue only when there is at least one user thread running? In cases in which there are no user threads,

Identify Tables Without an Identity Column

The following query will enable you to list all the tables in your database that doesn’t have an IDENTITY Column: SELECT SysSchemas.name + N’.’ + SysTables.name FROM sys.tables AS SysTables

DevX - Software Development Resource

Custom software examples

What makes companies order custom software development despite it may cost them a fortune? Properly designed and developed, custom software becomes an optimal solution to the customer???s business challenge, providing them with useful features only. What is more, custom software allows flexibility to introduce any changes required. This way it is possible to rebuild the existing solution to make it correspond to updated requirements. As a result, a business opting for custom software gains a competitive advantage over their rivals sticking to off-the-shelf solutions with their rigid and limited functionality. Let???s look at several custom software examples to understand the benefits brought by custom software. To keep pace with the Automation age, businesses strive to apply automation technologies to increase the efficiency of their processes and conduct them without human assistance. Consider the following projects based on the automation technologies.    Related Posts How To Transfer Apps From Android To AndroidOracle Unveils Project Visual CodeTop Web Development Companies in GurgaonReducing Unbuffered StreamsDuplicate–do not use–Floodfill objects using C#

Using Calendar.getInstance()

Calendar c = Calendar.getInstance(); c.set(2017, Calendar.OCTOBER, 29);  This code behave as a Gregorian calendar, but if the returned Calendar subclass is a Islamic, Julian, Buddistic or Hebrew calendar, then the month called October or the year 2017, doesn’t exist. Calendar.getInstance() uses the current default locale to select an appropiate implementation. The utility of Calendar.getInstance() is very limited  and it should be avoided because it’s results is not properly defined. Calendar c = new GregorianCalendar (timeZone); c.set(2017, Calendar.OCTOBER, 29);  Related Posts Google Plans to Open 12 New Cloud Computing Data CentersHow to define an auto-incremented identifier via JPA annotationsHow To Hide My Number When

Clip an Image Using CSS with the CLIP Property

Images with absolute positioning can be clipped very easily with the CSS Clip property. The syntax is as below. .clippedImageStyle { position: absolute; clip: rect(100px, 150px, 175px, 30px);} Related Posts

Avoiding the HashMap Size Trap

Map map = new HashMap(collection.size());for (Object obj : collection) { map.put(obj.key, obj.value);} The code above wants to make sure that the HashMap doesn’t need to be resized, so its sets

How to Turn on TLS Versions Without Affecting Earlier Versions

We can use “|=” and configure the ServicePointManager’s SecurityProtocol to turn on the TLS versions and thereby not remove support for other protocols. System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; Related Posts

Random Number Generation Using Java

We can use the Random class available in the java.util package to generate random numbers. The code sample below demonstrates generation of a random number with an upper limit. Listing

Knowing the Version and Supported Engines in MySQL

The following commands are handy to know the current version and the supported engines in the MySQL. Command: SELECT VERSION()Output: 5.6.31-enterprise-commercial-advanced-logCommand: SHOW ENGINESOutput: InnoDBCSVMyISAMBLACKHOLEMEMORYFEDERATEDARCHIVEMRG_MYISAMPERFORMANCE_SCHEMA Related Posts Add Frequently Used Items

DevX - Software Development Resource

Quickly preview the file in windows explorer with a keyboard shortcut

Press Alt and P keys together to get a quick preview of the file in windows explorer. A preview is shown on the right pane. There is no need to change the view or install any third-party plugins for this. Related Posts Norwegian Startup Seeks $5M, Discusses Equity DistributionSeattle entrepreneur sells AI venture, Lexion, to DocuSign for $165mBitcoin’s trajectory echoes 2016, potential peak seen at $350,000Avi Schiffmann introduces AI

Do Not Assume SimpleDateFormat Is Thread-safe

The code below is improper because it shares a static instance of a SimpledateFormat with any possible number of threads. Public class Constants { Public static final SimpleDateFprmat date =

Decompile Code from a .NET Executable

We often lose the source code of the executables we build. If we have the executable with us, we can still retrieve the code using tools such as ILSpy. You

Finding a Boolean that Is Part of an Input String

Ever wanted to find a boolean that is available as part of the input string? The following code snippet helps you do it quickly. import java.util.*;public class ScannerUtils { public