What Theia image to use inside Che? - eclipse-che

https://github.com/eclipse/che, upcomming che 7 could use Theia as the default editor.
Which docker image and which tag is to be used ?

It is eclipse/che-theia, which is located here.
The version of this image consists of two parts:
[THEIA_VERSION]-[CHE_VERSION]
- first one - the version of Theia inside the image
- second one - the Che version itself (ex. eclipse/che-theia:0.3.10-nightly, eclipse/che-theia:0.3.10-6.7.0, etc)

Related

how use ckeditor full version in react component

I'm using the react-ckeditor in project this is load ok.
but I need to use ckeditor full version as editor in the page
how could I use react-ckeditor full version not the standard version?
From the documentation:
By default, the CKEditor 4 React component loads the standard preset of the latest CKEditor 4 release from the CDN when creating the first editor. This behavior can be altered by changing the value of the CKEditor.editorUrl variable to point to the desired CKEditor script location:
CKEditor.editorUrl = 'https://your-website.example/ckeditor/ckeditor.js';
A zip file can be downloaded from https://ckeditor.com/ckeditor-4/download/ and upzipped inside your source code (e.g. inside public/ckeditor-4 folder if using create-react app).
I was also facing the same issue as I wanted to include all the available options in my toolbar. Turns out all you need to do is mention the type of distribution in your CDN link as full-all, to include full preset together with all other plugins created by CKSource.
I changed it from standard to full-all in my CDN link as given below-
<script src="https://cdn.ckeditor.com/4.16.0/full-all/ckeditor.js"></script>
Also, check the version. This is my source of info: https://cdn.ckeditor.com/
Hope this helps :)

source path does not exist : resources\android\icon\drawble-hdpi-icon.png?

ionic platform add android
and
ionic build android
source path does not exist :
resources\android\icon\drawble-hdpi-icon.png
so any one know how fix this ?
Save an icon.png file within the resources directory at the root of the Cordova project. The icon image’s minimum dimensions should be 192x192 px, and should have no rounded corners. Note that each platform will apply it’s own mask and effects to the icons. For example, iOS will automatically apply it’s custom rounded corners, so the source file should not already come with rounded corners. run below command that will generate icons for you.
ionic resources --icon
Or you can place drawble-hdpi-icon.png(72x72) file at resources/android/icon/ folder. you have to create file with name drawble-hdpi-icon.png and size (72x72)
i change the backslash (\) to slash (/) in config.xml under <platform name="android"> in resources\android\icon\drawable-hdpi-icon.png and it works for me ...
The error can be fixed by running the command :
ionic resources
Docs : https://ionicframework.com/docs/cli/cordova/resources/

How do I rename the context root of Application Center in Worklight 6.2?

I want to rename appcenterconsole to devappcenterconsole, and applicationcenter to devapplicationcenter. I am running Worklight 6.2 on Tomcat. I wonder if this is as simple as rename the war file, deploy it and update the server.xml?
See the Context container in the Tomcat documentation : http://tomcat.apache.org/tomcat-7.0-doc/config/context.html
Especially the path attribute description.
You can for example modify the path attributes with : /devappcenterconsole and /devapplicationcenter.
Be aware also that if you modify the default context root of applicationcenter you must configure the endpoint property as documented in http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/appcenter/r_ac_endpoint_tomcat.html?lang=en

How to find out which version of Silverstripe a site is using, looking at the source code?

I have been given a Silverstripe site to maintain. How do I know which version of Silverstripe it's using, by looking in the source code?
If your SS installation was made through composer you can have a look to composer.json in the root directory.
If it's a 3.x.x version you can also leave the mouse on the SS logo in backend (upper left corner) and the anchor title wil show you the version. Maybe it works also for 2.x.x versions, but I'm not sure.
The Depreciation class provides the version.
$version = Deprecation::dump_settings()['version'];
There is a function in the LeftAndMain class called CMSVersion. This is the function which is used to fill in the version information in the title attribute on the ss logo in the cms as mentioned in the accepted answer. This function attempts to get the version information from the composer.lock file. It will fallback to the /framework/silverstripe_version and /cms/silverstripe_version files if the composer.lock file doesn't exist. So to find the version in the source code, look in composer.lock, then /framework/silverstripe_version and /cms/silverstripe_version
In the folder "framework" is a file "silverstripe_version" with the Silverstripe version.
Inside the Folder Framework there is a README.md file. Inside that you'll finde the Version Number.
Also inside framework Folder there is _config.php, there you have a variable like Deprecation::notification_version('3.1.0'); In this example, Version 3.1.0

problems configuring qooxdoo Inspector component

I am trying to configure the Inspector component as per instructions here: http://manual.qooxdoo.org/current/pages/application/inspector_selenium.html#pages-application-inspector-selenium-using-the-qooxdoo-inspector-to-write-selenium-tests
I am having problems following the configuration instructions, where it says to configure the Selenium window with the selenium-core zip file. I cannot find this file at the provided address: http://seleniumhq.org/download/
Any suggestions as to what I should use instead of that zip file?
Thanks
You can just press the "Use default URI" button in the Inspector's Selenium Options window and it will load the scripts from the Selenium SVN repository on Google Code. If that doesn't work for you it gets a bit complicated since the Inspector requires a deprecated version of Selenium:
Download Selenium RC from here and unpack it:
https://code.google.com/p/selenium/downloads/detail?name=selenium-remote-control-1.0.2.zip
Then extract
selenium-remote-control-1.0.2/selenium-server-1.0.2/selenium-server-standalone-1.0.2.jar to a directory named e.g. "selenium-server" and enter the path to that directory in the Inspector's Selenium Options window.

Resources