Kids project for Easter holidays

Advertisements
Posted in Uncategorized | Leave a comment

Install WIFI adapter for Ubuntu 18.04

Compile Realtek rtl8812AU/8821AU USB WiFi driver on Debian Jessie

 

Posted in Uncategorized | Leave a comment

Do you still have these questions ?

If you still having the following questions, its worth reading. Each question is explained in simple terms.

Brief Answers to the Big Questions – by Stephen Hawking 

 

 

Posted in Uncategorized | Leave a comment

Just missed the C# expert level

C_expert.png

Image | Posted on by | Leave a comment

Difference between ActivatedRoute and ActivatedRouteSnapshot .

Good explanation I found in stackoverflow.

1. About instantiation

2. Difference

Posted in Uncategorized | Leave a comment

Issue with Quartz scheduler – its running twice

Recently I integrated quartz job scheduling to spring boot application and noticed a single thread is triggered twice after the scheduler is instantiated.

The simplest way I found to fix the issue is to use a simple lock. However I’m not sure if its the proper solution.

public void execute(JobExecutionContext context) throws JobExecutionException {
logger.info(“Job ** {} ** fired @ {}”, context.getJobDetail().getKey().getName(),                   context.getFireTime());

       synchronized (lock) {
           try {
                    methodToBeCalled( context);
           } catch (UnknownHostException e) {
                e.printStackTrace();
           }
        }
       logger.info(“Next job scheduled @ {}”, context.getNextFireTime());
}

 

 

Posted in Uncategorized | Leave a comment

Add WOL( Wake On Lan) feature to EdgeMax router

EdgeMax router is one of the affordable router with lots of features. One of most useful on is WOL. You can add this feature following the steps explained in this thread,

 

Posted in Uncategorized | Leave a comment