How do I run LibGDX’s Particle Editor in Netbeans?

I am trying to run the Particle Editor that comes with LibGDX in Netbeans. The gdx-tools-1.9.10.jar file shows up in my dependencies, and I can see all of the packages and class files inside it:

gdx-tools-1.9.10.jar

Normally, when I want to run a file, I open the file by double-clicking it in the "Projects" panel, right click anywhere in the file, and then click the "Run File" option. However, when I use the same process to try to run a class file in gdx-tools, the "Run File" option appears to be grayed out:

Run File (Shift+F6)

I have also tried using the Shift+F6 shortcut, with no effect. Just as a sanity check, I did also make sure that the class file I am trying to run has a main method:

main method

I have also tried running the Particle Editor from the command line (I’m using Windows). I navigated to the gdx-tools directory using the following command:

cd C:\Users\<user>\.gradle\caches\modules-2\files-2.1\com.badlogicgames.gdx\gdx-tools.9.10\<hash> 

I then tried to run the Particle Editor using the following command:

java -cp gdx-tools-1.9.10.jar com.badlogic.gdx.tools.particleeditor.ParticleEditor.class 

And the result is simply:

Error: Could not find or load main class com.badlogic.gdx.tools.particleeditor.ParticleEditor.class 

How do I run the Particle Editor? I would prefer to be able to run it in Netbeans, but I would be happy to get it to run at all. I am using LibGDX 1.9.10, Netbeans 8.2, and Java (JDK and JRE) 8u111 on Windows 10. I installed LibGDX using their setup app found here.

Display custom field under image in TinyMCE editor

I have a custom media field called “Source” with the key media_author. I would like to display it under the image in the TinyMCE editor, like the caption field is:

The caption under the inserted image.

The caption field is editable, but that’s not necessary for what I want to add. I found this code in /wp-includes/js/tinymce/plugins/wpeditimage/plugin.js. It looks like it’s part of how the caption is displayed.

return '<div class="mceTemp"><dl id="' + id + '" class="wp-caption ' + align + classes + '" style="width: ' + width + 'px">' +        '<dt class="wp-caption-dt">'+ img +'</dt><dd class="wp-caption-dd">'+ caption +'</dd></dl></div>'; 

How to enable the option “edit physics shape” in the Sprite Editor?

I can successfully import .png files, create tilesets, and use them in my tilemaps in Unity. Thanks to DMGregory, I just learned that there exists an option to customize the Tilemap Collider 2D in the Sprite Editor, which allows me to set a custom collider for every tile instead of going through them one by one.

The steps I follow while creating a tileset in Unity is as follows.

  1. Import the .png file.
  2. Open the Sprite Editor.
  3. Select the option Multiple for Sprite Mode.
  4. Select Slice from the Sprite Editor.

Then, I create a Tile Palette in a folder, drop and drag my created tiles, and start creating my level.

I have never encountered the option to modify the colliders tile by tile. What am I doing wrong?

Classic editor throws 403 error based on post content

In an updated and unadorned WordPress installation, with only the Classic Editor plugin enabled, and the 2017 theme, I get a weird error.

When I try to save a draft of a post containing this

<code>curl "http://localhost:64410/api/yoyo?value1=val&value2=val2"<code> 

I always get a 403 Forbidden error on a splash page from WordPress. If I change it to

<code>curl -X GET "http://localhost:64410/api/yoyo?value1=val&value2=val2"<code> 

or

<code>curl "localhost:64410/api/yoyo?value1=val&value2=val2"<code> 

I don’t get the 403 and the post goes through. Whisky Tango Foxtrot? I’m pretty sure I don’t have anything misconfigured in my installation.

This looks like it might be some built-in cross-site-scripting-prevention trap or something. But it’s an awfully crude error message.

Do you know how I can get my desired content into my post?

(I’m writing a tech post about web service development.)

As a Software Industry Editor, how to avoid my software being quarantined?

I’m a well established software company. For more than 30 years, my business has been delivering both hardware and software.

My Windows software is being quarantined by some of my customer’s antivirus.

How I handle it, up to now, is that I have been asking Symantec to whitelist every single executable binary I build, but this is a real pain because : – I don’t know inadvance which AV provider my customer will use, so I should also tacket with Kapersky, MS … – The whitelisting request could be denied by the AV provider, making my customer not to be able to use my software, unless the customer creates manual exceptions. And many Tier-1 customer will definitely not accept this. – The whitelisting process is manual, and lengthy

From my understanding, signing the installer/executables would probably help, but with no guarantee.

What is the ideal procedure to gain reputation and being able to deploy installers/executables not being quarantined ? How do new software editors make it possible to deploy their applications without being quarantined ?

It’s difficult to find a “one-size fits all” resource on the Web, all are AV specific.

Change default template in the block editor (Gutenberg)

I want to change the default template for my pages to a template called fullwidthpage.php.

I have seen this question posted and answered for pre-Gutenberg WordPress, but I have not found a working answer for Gutenberg WordPress (version 5.3.2 at the time of this question).

This is the non-working answer I found. When I try the non-working answer the template is set to fullwidthpage.php but when I try to update the page I get a message that says “Updating failed.”