Javascript: How to Make a Simple Web Map

Today’s tutorial is a quick dive into the world of online mapping. We’re going to bounce in and out of different programs and services to do that, so be prepared to do some account set-ups/downloads. The good news is these all are free. You might get prompted for upgrades and such, but the base-level plans are no cost for small, non-commercial projects.

A basic understanding of HTML is helpful, but not necessary for this. If anything, JavaScript would be good to know; though, really if you’ve done any coding, you’ll know enough to modify the existing code for a functional map.

Continue reading “Javascript: How to Make a Simple Web Map”

Java: How to Use an If/Else Statement

Header

Last week we covered how toast happens in Android Studio. Today, we’re going to make it a tad more dynamic with an if/else statement. Going back to this Riddler App, I want to add hints for the user if they can’t guess the answer outright. Quick reminder, our test riddle was “What has a neck but no head?” Most people start guessing insects for that one (isn’t an earthworm basically all neck? you might argue), but the answer we’re looking for is “A Bottle.”

To keep the mystery alive, we’re going to keep hints semi-living creatures related. If a user hits the Hint button once, a toast message will pop out reading, “It has no fingers or toes either.” Otherwise, the toast will say, “And lives all over the world.”

Continue reading “Java: How to Use an If/Else Statement”

Python: What the heck is Regex?

Header

Regex is one of those massive pains in the ass that’s just too helpful not to learn. I won’t pretend it’s fun. I’d put Regex at the same level of No-Dear-God-Why-Is-This-Happening as an enema or a certified letter from the IRS. But once you wrap your head around it, you’ll be wanting to use them all the time because they make everything else just… stupid easy.

Continue reading “Python: What the heck is Regex?”

JavaScript: How to Automate a Google Doc

Header

Did you know Google Docs are equipped for macros?! Meaning you can script some automation right into Google. Best thing since sliced bread.

Google Apps Script is based on JavaScript, so if you already know that, you’re well ahead of the game.

I know nothing about JavaScript. But I know other stuff. So… Consider this a beginner’s guide for users of other languages.

Continue reading “JavaScript: How to Automate a Google Doc”