Just another WordPress site

    • About
    • Pace Super Star
    • Sample Page
    • Vegily search app
  • Hello world!

    September 22, 2024
    Uncategorized

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

  • A new follow-on log4j vulnerability has been discovered and fixed in 2.16.0

    December 16, 2021

    A new follow-on #log4j vulnerability has been discovered and fixed in 2.16.0: (CVE-2021-44228 + CVE-2021-45046) following on from my first post regarding the initial exploit and fixed version 2.15.0 TL;DR: You now need to update your #log4j library to 2.16.0 As you would expect, both sides of the community are active. With that, the previous fixed version 2.15.0 and…

  • Log4J zero-day exploit explained and proposed fixes – a Critical Security Vulnerability (CVE-2021-44228)

    December 12, 2021

    Overview There is a new zero-day exploit of the famous log4j library reported and fixed in the latest version, 2.15.0.  In brief, this vulnerability is critical and can give the offender complete server control. For more, please see the Apache Log4j security page.   Everyone in the Java-sphere should be aware of it. Actually, no!…

  • How to configure JEST to test a Typescript React or NodeJS

    March 20, 2021

    This is an opinionated guide that would illustrate how to configure Jest for testing NodeJS/React projects written in Typescript. It assumes Typescript is already installed. For new projects or projects without Typescript, needless, to say this guide can still be used upon completing the initial project setup to add React and or Typescript. There is a lot of guides out…

  • React Code Snippet Generators with IntelliJ Idea

    March 11, 2020

    I am a big fan of anything than can be automated, especially when it comes to boiler plate plumbing.  Even more so for a Java developer like myself taking up React.  The following snippets have saved me lots of typos and errors, I will suspect it will for you too! How to generator snippets in IntelliJ…

  • Upgrading from a Spring boot application with JUnit 4 to JUnit 5, Jupiter

    December 26, 2017

    I realised this is only doable with spring 5 To migrate from JUnit 4 to JUnit 5 you can replace @RunWith(SpringRunner.class) with @ExtendWith(SpringExtension.class). Unfortunately, spring-boot version 1.5.9-RELEASE is based on Spring 4 and the SpringExtension is only available since Spring 5. Source: https://stackoverflow.com/questions/48019430/junit5-with-spring-boot-1-5 and  http://www.baeldung.com/junit-5-runwith   Current dependency: Exclude the transitive Junit 4 dependency from the Spring boot test dependency Current: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope>…

  • Graph DB Connectors – elasticsearch example

    June 30, 2017

    Semantic Search gets the power of Full Text Search   Pre-requisites: An installed instance of GraphDB (currently only the OntoText Enterprise edition has connectors) An installed instance of Elasticsearch With port 9300 open and running (this can be configured in */config/elasticsearch.yml or through your puppet/chef) If you are running this on Vagrant ensure all ports…

  • TypeScript is great but I just want to write my Angular2 app in Java8

    February 16, 2017

    It is really hard to look at any other alternative to TypeScript for Angular2 development. Not only is it easy to learn it is also far less error prone compared to developing in JS as you get static type checking for classes interfaces and so on. Sometimes you just want to write Angular2 app in…

  • Elasticsearch Ransomware

    January 13, 2017

    TLDR: Use X-Pack if you can, Do not expose your cluster to the internet, Do not use default configurations e.g. ports, Disable http if possible, If it must be internet facing: run behind a firewall, reverse proxy – Nginx (see example config), VPN etc, Disable Scripts, Regular back-up of your data with curator if you…

  • Cleaning Elasticsearch Data being indexed

    May 23, 2016

    Sometimes we just don’t have control over the source of data coming into our elasticsearch indices.  In such cases cleaning Elasticsearch data and removing unwanted data such as html tags before they are put into your elasticsearch index.  This is to prevent unwanted and unpredictable behaviour. For instance given the text bellow: [bash]<a href=\"http://somedomain.com>\">website</a>[/bash]  …

1 2 3
Next Page

Just another WordPress site

  • Instagram
  • Facebook
  • Twitter