Hybrid Hacker

👾 Technical notes and hybrid geekeries

Code Articles

  • Thu 27 February 2020
  • Code

Retrieve Pagerduty on-call schedule with Python

When you are experiencing an incident, the first thing you need to know is who is on call in your team. With my team at Namecheap, obviously we got everything automated, so if something happens, our alerting system triggers Pagerduty who calls the on call designated person. But in such …

  • Wed 09 January 2019
  • Code

Automatically enable/disable L2TP on TPLink access point

As many expats (I'm Italian and I live in Berlin), I make extensive use of VPN to act as I was in my home country. There are tons of services out there (I personally use PrivateVPN), but that's not the topic of this post. Unfortunately this kind of VPN services …

  • Sun 15 November 2015
  • Code

Ask for sudo password in graphical mode on MacOS X

I do lot of bash scripting under MacOS and usually, if I need administration privileges, I run sudo from my terminal. Anyway, sometimes you need to let non-technical users run these scripts and I'm sure that they wouldn't be happy to open terminal and run your script with sudo command …