Return user roles in Auth0

I wanted to play with SAML Authentication in Splunk and decided to use Auth0 is my SAML Identity Provider (IdP).
Since i’ve never worked with Auth0 I just followed the SAML SSO with Auth0 as Service Provider and as an Identity Provider tutorial,, which worked well, but when I tried to use Splunk as Service Provider(SP), i.e. SAML service consumer, I noticed that roles are not returned by Auth0 SAML assertion, so I had to find a way to return user roles in Auth0 together with other user’s information.

Continue reading Return user roles in Auth0

Colour code Google calendar events automatically using Google Apps Script

Sometimes you want to have a certain colour for the Google Calendar events. I know that you can do it manually, but what if you want it to be colour coded automatically based on some filters. In my case it was based on meeting organizer (my wife to be precise 🙂 ). So decided to try and colour code Google calendar events automatically using Google Apps Script.

Continue reading Colour code Google calendar events automatically using Google Apps Script

How to ssh from Mac via socks proxy

In order to ssh from Mac via socks proxy you will need to use ncat utility.


You will need to use ncat utility which is not available on OSx by default, and is not directly in homebrew, but you can get it by installing nmap (as nmap installation includes ncat utility with support of socks5)

Install nmap

brew install nmap

Connect to your target host

ssh -v -o 'ProxyCommand=ncat --proxy-type socks5 --proxy proxyhost:proxyport --proxy-auth proxyuser:proxypass %h %p' -p22 username@serverhost

That’s is, the only disadvantage is that you need to fill in your user:pass in the command itself. If you have any idea how to overcome it please let me know.

Reference https://stackoverflow.com/questions/34348720/osx-ssh-to-server-through-socks5-proxy

Sites and Games that teach kids to code

Hi, I have a 7 years old son and wanted to introduce him to coding. So I have started to collect information about Apps, Sites and Games that can teach kids to code or introduce them to coding mindset. Below are the ones that I’ve found. Please help me and others by commenting here or contributing in the GitHub repository and recommending the ones that you are aware of and have used. Continue reading Sites and Games that teach kids to code

Use Gmail with your own domain for free

Well, if you are looking at this post you (1) have your own domain name, (2) love using gmail and want to use it as to send and receive email for your domain and (3) prefer not to pay for this. If not the 3rd point you could easily do it using G-Suite (message me if you want to get a 20% discount code for your first year, as a comment here or on Twitter @IlyaReshet), but then you will have to pay $5/month, but fear not, there is a way to use Gmail with your own domain for free. Continue reading Use Gmail with your own domain for free

Is it healthy to…

I went to donate blood recently and if you have not done so yourself recently (or at all) I strongly recommend you doing it.

Just go to https://www.donateblood.com.au/ to find the closest location to you.

When I came in they said “Hey looks like you have donated blood a lot of times before and currently we have plenty of your blood type in the bank, but would you consider donating plasma today?” I said why not , read some material, signed some forms and proceeded with it.

Later when I came to office (I did the donation 7:30AM on my way there, YES they open this early so there is no excuse not to donate) I decided to google how healthy it is to donate plasma vs regular blood donation.

So I’ve opened a new tab and typed “Is it healthy to” and here is what I’ve got as the suggested searches

Suggested Search results for Australia

Continue reading Is it healthy to…