Helder Correia

autodidact, programmer

  • About me
  • Português
  • Go to the profile of Helder Correia
    Helder Correia
    Jan 15

    About me

    I started to get interested in web development in 1999 (15 years old), when I built my first HTML page. I started in programming with BASIC…

    Read more…
    Go to the profile of Helder Correia
    Helder Correia
    Nov 5, 2014

    Run a simple HTTP server

    Opening a set of html files locally in the browser is not a good reflection of what happens in a real web server. It’s ok for a javascript library demo but for other purposes it’s easy enough to have a basic HTTP server so why not?

    Read more…
    Go to the profile of Helder Correia
    Helder Correia
    Nov 4, 2014

    Pretty print JSON in terminal

    When I’m developing code that uses a web service, and since I always have a terminal window open, I like to check or test responses with curl.

    The problem is it’s difficult to read JSON responses without indentation and line breaks, but that’s easily…

    Read more…
    Go to the profile of Helder Correia
    Helder Correia
    Nov 3, 2014

    How to keep a process running

    Sometimes you want to let some program running in SSH even after you logout. Putting it in background with & won’t work. Some people use GNU Screen, others nohup, but I prefer tmux.

    tmux is a terminal multiplexer

    Read more…
    Go to the profile of Helder Correia
    Helder Correia
    Nov 3, 2014

    How to check a PTR record (rDNS)

    You have a site that sends emails once in a while, but you’re not using SMTP. You need to implement some authentication checks to avoid falling into SPAM. Besides SPF, it’s important to create a PTR (pointer) record, if at all possible by your ISP.

    Read more…
    Go to the profile of Helder Correia
    Helder Correia
    Jun 11, 2012

    IP from the command line

    A Google search for what’s my ip gives us our public IP, but sometimes it’s useful to have that information in the command line to be used in scripts for automation.

    Last week I created a script to automatically add my IP to a server’s firewall that I manage…

    Read more…
    About Helder CorreiaLatest StoriesArchiveAbout MediumTermsPrivacy