Skip to content

Content classified under "Tutorial"

Page 9 of 12

Make Tomcat Log Stuff to Console (in Eclipse)

December 7, 2016Categories: Software, Tutorial
TL;DR: in your project's src/main/resources add the CONSOLE setting to the log4j.properties file. While trying to add features to a web application, I stumbled on an odd situation: my Eclipse Console would show only log messages for tomcat processes, none of my logs. I've tried to add a…

Skip the EPSO Online Test

December 5, 2016Categories: EPSO, Tutorial
TL;DR: : Replace the end of the application URL from e.g. 1947_en to 1947/apply_en . These days, EPSO is in the habit of launching calls with multiple fields with a twist: each field has its own application page. So, if you just want to browse the fields for more details (e.g. Talent Screener…

Electron and WebPack - Live Reloads

December 2, 2016Categories: Software, Tutorial
I wanted to create a skeleton with Electron, Angular 2, capable of live reload while in development. I've settled on the following framework: Electron (d'oh!) Angular 2 Angular CLI (because it makes it easy to generate boilerplate code) SASS (SCSS in fact) Webpack 2 and Babel After a lot of trial…

Electron App - Is It Alive?

December 2, 2016Categories: Software, Tutorial
TL;DR: Yes, but it's limping badly. Now that I've created the angular app, I wanted to find out if I could develop an Electron app without actually adding the Electron dependency yet. My naive findings are: You can develop any ui-related bit I could not implement actual business logic. This is due…

Electron App. Why angular-cli?

December 2, 2016Categories: Software, Tutorial
The decision has been made for me since I'm new to Angular in general and the CLI offers a package deal particularly where code generation and initial package management is concerned. There's also the boon of webpack, which is used as engine. Although the balance tilts heavily in favour of using…

Change Packages Paths in NodeJS

November 25, 2016Categories: Software, Tutorial
TL;DR: Edit %appdata%\npm\etc\npmrc and add prefix and cache entries to specify the locations where node puts packages. Every time I install a new framework/dev environment I have to look where they put files. Having a roaming profile is a pain and I need to make sure it doesn't get too…

Select Rows Where Value from One Column Matches Other Column

November 23, 2016Categories: Software, Tutorial
TL;DR: Use a JOIN . I've got a table representing a tree, using two columns: and I want to select all children for parents whose CLASS_ID have a certain value (e.g. abcd ). The way I could do it was via a JOIN statement: This will: Perform a join where child.parent_prop_id = parent.prop_id…

Use Git Bash as Integrated Terminal in VS Code

November 18, 2016Categories: Software, Tutorial
TL;DR: : Install windows git to get bash and add "C:\\Program Files\\Git\\bin\\bash.exe" to "terminal.integrated.shell.windows" in VS Code's user settings. As I'm trying my hand at developing a node application today, I'm getting frustrated by the Terminate batch job (Y/N) every time I need to…

Pass Through a Corporate Proxy in Java

October 26, 2016Categories: Software, Tutorial
TL;DR: There's no easy way to create a proxy :) I've tried for a while to build a way to request something through a proxy, for testing an emulated android app. The solution came from Octavian who kindly provided me a snippet to run once per app lifetime. It tackles the problem from two fronts…

Get all Proposal Names from the Participant Portal

October 25, 2016Categories: Software, Tutorial
I've found out the participant portal for H2020 offers an API . This is quite neat as one can integrate with the data, e.g. by reading and listing the calls. I've written a proof of concept to list all calls from this and last years. First, we load the data in a JSON object: Then, we extract the…
PreviousNext

All categories