Profile cover photo
Profile photo
James J. Attard
58 followers
58 followers
About
James J.'s posts

Post has attachment
How I fixed the OSX Sierra battery drain issue
tl;dr Boot to safe mode, restart after some minutes and you should be back to normal! So a couple of days ago I decided to upgrade my flawless El Capital setup to Sierra OSX 10.12.3. You may say "Aren't you too late for the party?"  and that is normally tru...

Post has attachment
Putting Jenkins behind auth_basic Nginx reverse proxy
We have all been there and done that. And a simple Nginx reverse proxy with basic password authentication is no different. But what about putting Jenkins behind the reverse proxy? What? So you're saying Jenkins changes the whole alchemy? Yeah boy. Jenkins a...

Post has attachment
Refactoring React components to ES6
Refactoring components to ES6 is going to be inevitable. The trickier parts imho are to refactor state initialisations and state functions. State Initialisation React is encouraging to move from getInitialState() to using constructor() method. Example: Befo...

Post has attachment
Muse - Knights of Cydonia (Bass Cover + Tapping solo)
Sloppy galloping, but this is a great song to play!

Post has attachment
Oracle XE 11g master-slave (standby replication) on Docker
In this demo I show how to setup two oracle XE 11g instances as Master Standby replication configured on two Docker containers.

Post has attachment
Malta to introduce super unleaded fuel
Enemed, a Maltese Government owned company which will be taking operation of Enemalta's petroleum division, has yesterday informed the public that it will be distributing super fuel in 60 stations. This is great news for all the petrol heads (including myse...

Post has attachment
How to fix an overheating Macbook (running sluggish and fan noise)
MacBooks are notorious for overheating - there is a plethora of information out there how to fix this issue. In this post I am going to help you fix it especially if it is a MacBook Pro 2010 in which case it is likely to be a hardware related issue. In my o...

Post has attachment
Shakey Ground - The Temptations (Bass Cover)


Post has attachment
Calling non-static method from static method in Java
You might find it useful to call non-static methods from a main method in Java. You can easily do this by creating a class instance and calling the non-static method using that instance in your static method. Sounds complicated? Checkout the example:

Post has attachment
Psycho - Muse (Bass Cover // 5 String)
Surprisingly this only took me an hour to learn and record!
Wait while more posts are being loaded