How do you open an external Vim editor containing the active Eclipse editor file

There’s two ways to do this, the canonical way, and the hack. First: The Canonical Way Window > Preferences… Fold out General > Editors > File Associations. Choose the file type you want to edit Click the “Add” button beside the “Associated editors” box. Click “External programs” and “Browse…”, then find gvim, or enter /usr/bin/gvim, … Read more

Where to put static files for Spark Web Framework?

First you have to tell Spark where to search for the static files like this: Spark.staticFiles.location(“/public”); In Spark versions prior to 2.5, you should use: Spark.staticFileLocation(“/public”); Then your project should have a public folder under the resources folder like this /src/main/resources/public/style.css For example I added a style.css file there, so you should then access it … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)