Category Archives: Uncategorized

Auto redirect to an STS server in an Angular app using oidc Implicit Flow

Excellent npm package for Angular and Identity Server 4 Implicit flow implementation

Software Engineering

This article shows how to implement an auto redirect in an Angular application, if using the OIDC Implicit Flow with an STS server. When a user opens the application, it is sometimes required that the user is automatically redirected to the login page on the STS server. This can be tricky to implement, as you need to know when to redirect and when not. The OIDC client is implemented using the angular-auth-oidc-client npm package.


The angular-auth-oidc-client npm package provides an event when the OIDC module is ready to use and also can be configured to emit an event to inform the using component when the callback from the STS server has been processed. These 2 events, can be used to implement the auto redirect to the STS server, when not authorized.

The app.component can subscribe to these 2 events in the constructor.

The onOidcModuleSetup function handles the onModuleSetup…

View original post 189 more words


How to find Azure Subscription ID in the new Azure Portal

Nice thing to know if u r starting learning Azure

PR Code

Just a quick step by step on how to get you Subscription ID from the New Azure Portal.

1) Browse to and Sign into your account.

Screen-Shot-2017-02-18-at-16.26.jpg2) Once you are in the portal you should see the sidepanel with a tab for’Subscriptions’. Click on this to get to the next section. If the tab is not visible, then click on the ‘More services’ tab to find it.

3)In the new open panel you will see all the subscriptions you have access to and in the ‘Subscription ID’ column is the what you are looking for.


View original post

Multilingual app in Android

Android considers English as primary language by default and loads the string resources from res ⇒ values ⇒ strings.xml. When you want to add support for another language, you need to create a values folder by appending an Hyphen and the ISO language code. For example if you want to add support for Urdu, you should create a values folder named values-ur and keep a strings.xml file in it with all the strings translated into French language.

So for example if in your strings.xml you have a value like

<string name=”new_equipment”>Nouveau Équipement</string>

the corresponding entry in strings-ur.xml would be

<string name=”new_equipment”> نئی مشین</string>

After created respective strings.xml files for all your supported languages all you have to do is change the Language under the Settings ⇒ Language & Input and it will change the language of the app.

10 Tips for Boosting Team Performance

As a Project Manager, your success depends on how well your team performs. So if you want to improve your team performance, then read these:
10 Tips for Boosting Team Performance
There are lots of different ways that you can boost your team performance. We’ve listed here our Top 10 Tips. We hope they help you…
Show them the vision
People only perform well in a role if they understand what it is that they need to deliver and why. For this reason, we suggest you get your team together to reinforce the project vision, objectives, timeframes and deadlines. Make your team feel wanted and needed by showing them that the project is critical to the success of the business. You will gain their buy-in and their commitment going forward.
Meet them individually
After your meeting, take each team member aside and tell them what it is that you need from them to help you deliver the project. Make sure they have a clear Job Description and they know how you are going to measure their performance. Ask them how they like to be managed, what motivates them and how you can support them in their role.

Give them room
At this point, you need to back off a little and give them room to perform. And if the pressure increases in your project, you need to give them more room than less. It’s hard to do this, but you mustn’t over-pressurize them or their performance will reduce, rather than improve.

Count the goals
As you back off, you need to put in place checks to measure their performance regularly. Meet with them individually every month to discuss their achievements, what’s outstanding and how they can improve. Make sure you don’t “bottle up” your concerns. Instead speak to them openly, keeping constructive at all times.

Be positive
If you’re stressed and weary, ease off on your staff. Shouting or being negative will only rub off on them. It’s incredibly difficult but you need to be positive, reassuring and supporting them at all times, even if the project is delayed.

Shake hands and pat backs
It’s easy to forget to praise your team’s successes. So every time you deliver a great quality product, finish a difficult task on time or get great feedback from a customer—congratulate those responsible in your team.

Meet at half time
Get your team together regularly to build a strong team spirit. Get them socializing together, so that new friendships are formed. The stronger the bond your team have with each other, the more likely they will work together as a single cohesive unit and achieve the objectives you have set.

Take time out
Don’t be afraid to give team members time off for working hard. By taking time out, it will reduce sick leave, improve motivation and increase efficiency.

Give them what they need
Everyone is motivated by different things. You need to know what motivates every different member of your team. Get to know them well. If you can reward each person differently based on their motivations, then you’ll improve their performance every time. This is the hardest trick in the book, but the one that pays the biggest dividends.

Celebrate your wins!
Staff all too often finish a project and move straight onto the next one without celebrating its success. When they do this, they carry their stress and pressure into the next project they work on. So help your team to “start afresh” by celebrating your success at the end of the project.

By taking these 10 tips seriously, you will improve the performance of your team and boost your chances of success.