How to Generate Getters and Setters for Java Class using VS Code

Coming from other editors I was looking for way to add getters and setters from the drop-down menus at the top of the screen/window. This is not how it’s done in Visual Studio Code. How to generate Getters and Setters for a Java Class using VS Code Go to the open project and file in VS Code. Right click in the text of the editor window for .java class file you want to auto generate getters and setters for.

How to link to other posts on the same own hugo site

How to link to a post on your own hugo site. I can say I understand how the linking to an external site works in markdown on a hugo site. Its [Text link for external site](https://gohugo.io/content-management/cross-references/) which would render like this Text link for external site Referencing posts on the same hugo site The syntax looks like the following to reference posts on your own site [Link to my Beverage Mug warmer ]({{< ref "posts/candle-mug-warmer-review/">}})

The Page and Paragraph Marking Index Card Bookmark

Here is a handy implementation of where your bookmark not only marks the pages where you left off at but has three arrows that point to the specific page and paragraph too. How To Make one Here is how you make one using just a standard Index card. On the blank side of the index card, where there are no horizontal lines, add the following 3 arrow indicators, one in the middle.

How to convert oracle sql to java or python string in Oracle SQL Developer 4

If your using Oracle SQL Developer to write and test query’s that you will use in a Java or Python program this will be a handy tip, you don’t have to do this manually. In your current Worksheet right click and select “Embed/Expose…” Or press keyboard shortcut Ctrl + Shift + F7 Set the output destination to “Clipboard” otherwise conversion will be done over your existing worksheet SQL. Select Output Type To / From Java or Python

How to use vim to quickly convert text to upper or lower case

Vim has a lot of utilities built in for processing text here is one for conversion of case on plain text. First Visual select the text you want to bulk change the case of. For lower case to UPPERCASE Press Shift + U or what is known as a capital U. For UPPERCASE to lowercase Press u or lower case ‘u’ The selected character are transformed to the case of your choosing.

Fleet Directory checked into Version Control

I recently noticed I have a new directory named .fleet modified in a recent development project, that I had accidentally checked in. Should this be checked into version control with your project? This .fleet is what is generated by the new Code Editor / IDE JetBrains Fleet. It depends on your project team, or your personal preferences. If everyone is required to use the same editor with the same configuration for the project.

Hugo Run Configuration for Fleet

After getting tired of having to run hugo server -D from a terminal window everytime. I wanted to see if there is a faster, less manual way. Hugo Run Configuration for Fleet There is not yet a Fleet plugin for Hugo like there is for IntelliJ IDEA Community Edition / Ultimate, but using the Fleet documentation, I was able to arrange the following that works. Click the run / Play button icon or press Ctrl + R

Git delete files added by mistake

This happens occasionally for me but sometimes a file gets added into your git repository that you did not want to add like a project settings file for your IDE, etc. In my case I started using a new IDE called Fleet, it started creating files in a new .fleet directory that was not in my .gitignore So I accidentally check in some stuff for this new IDE. Here is how you delete what was already commited, but want to leave the files on disk still locally git rm --cached name_of_file_to_delete You just want to delete everything git rm name_of_file_to_delete Once you picked the delete method commit your changes, and you’re done deleting a file from your git repository.

How to convert WAV audio files to something more Reasonable on Linux Mint

So I have a few giant WAV files that I need to convert to something more reasonable in file size. 1HR audio track weighs in at nearly 500MB, yikes! Could not figure out how to do it. Searched and Found this article Easily Convert Audio File Formats on Linux and discovered the program Sound Converter, which is like HandBrake for audio files, exactly what I was looking for. Open Software Manager.