Categories
ajoBlog workflow

Batch commands for GAM on Mac OS

I use the GAM tool a lot to make updates to the Google domain at Streetsboro – it let’s me do things faster, and more efficiently that hitting each user in the domain admin panel.

But, using a Mac brings its own issues, and while I could get a PC for this, I’ve just figured out how to do things on the Mac.

Here’s how I run batch commands (to update hundreds of accounts in one go).

  1. Create the GAM command line
    1. Start with a spreadsheet that contains all the users’ emails you want to use / update.
    2. I use Google sheets, and usually use the =CONCATENATE or some other formula to create the command line for each account.
      1. Something like =CONCATENATE(“gam update user “,A1,” org /STAFF”), where A1=user account / email address.
    3. For example, to add the user to a specific org unit, your GAM command line might look like:
      1. gam update user asmith@email.com org /STAFF
  2. I copy the resulting command lines (the whole column), and paste into a new sheet, with Paste Special > Paste as Values Only…
  3. Download as resulting sheet as a .csv file
  4. Place the file in the GAM folder –> in my case, in /bin/gam  <– but, this depends on your GAM install!
  5. Rename the file to end in .sh  <– for shell
  6. Your file should now be something like    staffupdate.sh
  7. In Terminal on the Mac, run this command, making sure to point to the file:
    1. gam batch bin/gam/staffupdate.sh
  8. Terminal will now run the shell file as a batch, and run all the GAM commands for you!
  9. Done!
Categories
ajoBlog

Brewing coffee using an AeroPress (inverted method)

I’ve been brewing coffee a couple of different ways lately, and here’s one I really like – the inverted method, using an AeroPress. It yields a good cup every time, and it’s quick and easy to do, with minimal cleanup. Enjoy!

Here’s another method… (just mix & drink!)

Categories
ajoBlog

Drowning does not look like drowning…

Having rescued my own two kids last year from drowning in a pool, it’s important to know what it really looks like.

And guess what?

It’s not the thrashing, yelling & screaming behavior we see in the movies.

Drowning is often silent, with kids (or anyone) slipping quietly below the surface of the water to never again breathe.

Drowning does not look like drowning—Dr. Pia, in an article in the Coast Guard’s On Scene magazine (p.14), described the Instinctive Drowning Response like this:

  • Except in rare circumstances, drowning people are physiologically unable to call out for help. The respiratory system was designed for breathing. Speech is the secondary or overlaid function. Breathing must be fulfilled before speech occurs.
  • Drowning people’s mouths alternately sink below and reappear above the surface of the water. The mouths of drowning people are not above the surface of the water long enough for them to exhale, inhale, and call out for help. When the drowning people’s mouths are above the surface, they exhale and inhale quickly as their mouths start to sink below the surface of the water.
  • Drowning people cannot wave for help. Nature instinctively forces them to extend their arms laterally and press down on the water’s surface. Pressing down on the surface of the water permits drowning people to leverage their bodies so they can lift their mouths out of the water to breathe.
  • Throughout the Instinctive Drowning Response, drowning people cannot voluntarily control their arm movements. Physiologically, drowning people who are struggling on the surface of the water cannot stop drowning and perform voluntary movements such as waving for help, moving toward a rescuer, or reaching out for a piece of rescue equipment.
  • From beginning to end of the Instinctive Drowning Response people’s bodies remain upright in the water, with no evidence of a supporting kick. Unless rescued by a trained lifeguard, these drowning people can only struggle on the surface of the water from 20 to 60 seconds before submersion occurs.
  • This doesn’t mean that a person that is yelling for help and thrashing isn’t in real trouble—they are experiencing aquatic distress. Not always present before the Instinctive Drowning Response, aquatic distress doesn’t last long—but unlike true drowning, these victims can still assist in their own rescue. They can grab lifelines, throw rings, etc.

Look for these other signs of drowning when persons are in the water:

  • Head low in the water, mouth at water level
  • Head tilted back with mouth open
  • Eyes glassy and empty, unable to focus
  • Eyes closed
  • Hair over the forehead or eyes
  • Not using legs—vertical
  • Hyperventilating or gasping
  • Trying to swim in a particular direction but not making headway
  • Trying to roll over on the back
  • Appear to be climbing an invisible ladder

So how do you know?

One way to be sure is to ask them, “Are you all right?” If they can answer at all—they probably are. If they return a blank stare, you may have less than 30 seconds to get to them.

And parents—children playing in the water make noise. When they get quiet, you get to them and find out why!

Emelie and Oskar are okay, now.

At the time, it was a real scare and eye-opener for me. I saw it happen as they literally walked the bottom of the pool toward the deeper end, smiling and giggling. Then they started to lose contact with the bottom and started bobbing.

When Oskar clung to his sister and panic started to firm his grip, I was already in motion to save them.

I jumped in, wrapped my arm around both of them, and got them out of the water. We cried together amidst the coughing of water.

I am their lifeguard.

It’s my job to make sure they survive childhood. No matter how deep the pool is, I’ll be there for them.

Categories
ajoBlog Books

Book Review | Start with Why: How Great Leaders Inspire Everyone to Take Action

Start with Why | by Simon Sinek

TLDR: The reason some companies and people do better and are more successful, in the long term, is because they know WHY they do what they do. Others, who focus on WHAT, and HOW they do what they do, suffer.

What Amazon Says

Sinek starts with a fundamental question: Why are some people and organizations more innovative, more influential, and more profitable than others? Why do some command greater loyalty from customers and employees alike? Even among the successful, why are so few able to repeat their success over and over?

People like Martin Luther King Jr., Steve Jobs, and the Wright Brothers had little in common, but they all started with WHY. They realized that people won’t truly buy into a product, service, movement, or idea until they understand the WHY behind it.

START WITH WHY shows that the leaders who’ve had the greatest influence in the world all think, act, and communicate the same way — and it’s the opposite of what everyone else does. Sinek calls this powerful idea The Golden Circle, and it provides a framework upon which organizations can be built, movements can be led, and people can be inspired. And it all starts with WHY.

What I Say

One of the better books on basic leadership, as it approaches the WHY someone does something. Many people focus on what they produce, or how they produce results, but most forget the reason why they do it in the first place.

Sinek uses plenty of stories to explain his thinking, and some become redundant after a while, but still serve a good purpose. Part of the book reads as an Apple commercial, and he even proposes you’d might prefer one after his pitch (no worries, I already am an Apple fan).

Sinek uses Apple as an example throughout the book to point to a company that at its core focuses on ‘why’, and henceforth, all their products reflect their simple message or ‘Think Different‘.

‘’Everything we do, we believe in challenging the status quo.
We believe in thinking differently…
The way we challenge the status quo is by making our products beautifully designed, simple to use and user-friendly.
And we happen to make great computers’’

Sinek, about Apple, Inc.

Other companies sell computers, too, but too much effort is spent on specs, and results, and selling using rebates and incentives – all mechanisms that lead to short term gains, but long term unrealized loss, or even upending the business. Tivo is noted as a counter example, where everyone knows, still, what they do and what the service is all about, but few realize why they do it… and so the company has suffered greatly.

Sinek shares a few models to take away, and while these are not shortcuts to reading the book, and appreciating the surrounding stories (which Sinek is very good at), there were three major take aways for me – the Golden Circle model, the Law of Diffusion of Innovation model, and the ‘How’ and ‘Why’ types of people.

If you’re in a hurry, see the video below for two of the major concepts from the book. Pick up the paperback for extended stories and explanations.

the Golden Circle model

This is how Sinek explains the Golden Circle model:

WHAT: Every single company and organisation on the planet knows WHAT they do. This is true no matter how big or small, no matter what industry. Everyone is easily able to describe the products or services a company sells or the job function they have within the system. WHATs are easy to identify.

HOW: Some companies and people know HOW they do WHAT they do. Whether you call them a ‘’differentiating value proposition’’ or ‘’unique selling proposition,’’ HOWs are often given to explain how something is different or better. Not as obvious as WHATs , and many think these are the differentiating or motivating factors in a decision. It would be false to assume that’s all that is required. There is one missing detail.

WHY: Very few people or companies can clearly articulate WHY they do WHAT they do. This isn’t about making money – that’s a result. WHY is all about your purpose, cause or belief. WHY does your company exist? WHY do you get out of bed in the morning? And WHY should anyone care?

Here’s the video of Sinek explaining both the Golden Circle, and the Law of Diffusion of Innovation:

the Law of Diffusion of Innovation model

From Wikipedia’s article:

Diffusion of innovations is a theory that seeks to explain how, why, and at what rate new ideas and technology spread. Everett Rogers, a professor of communication studies, popularized the theory in his book Diffusion of Innovations; the book was first published in 1962, and is now in its fifth edition (2003). Rogers argues that diffusion is the process by which an innovation is communicated over time among the participants in a social system. The origins of the diffusion of innovations theory are varied and span multiple disciplines.

Rogers proposes that four main elements influence the spread of a new idea: the innovation itself, communication channels, time, and a social system. This process relies heavily on human capital. The innovation must be widely adopted in order to self-sustain. Within the rate of adoption, there is a point at which an innovation reaches critical mass.

The categories of adopters are innovators, early adopters, early majority, late majority, and laggards. Diffusion manifests itself in different ways and is highly subject to the type of adopters and innovation-decision process. The criterion for the adopter categorization is innovativeness, defined as the degree to which an individual adopts a new idea.

The tipping point (an excellent book by Malcolm Gladwell) comes when the late majority adopts the new trait, behavior, or product, and the innovation becomes self-sustaining.

about How Types & Why Types (Mission & Vision)

Sinek discusses the friction between people that are either they ‘How’ type, or the ‘Why’ type, and how they can work together to accomplish something. If, however, you lack one or the other, things don’t get done… as efficiently, anyways.

My Rating 👓👓👓 / 4

Categories
ajoBlog

Suspicious Email? 5 Strategies to Protect Yourself

From time to time, suspicious email arrives in your email inbox. It doesn’t matter what email system you use, from Gmail, to Outlook, or any other tools to pickup mail – they’re all susceptible to hacking, phishing, and malicious link attacks. Here’s what to do when you get an email that looks suspicious.

Change Your Password Immediately

If you get a strange looking email, and you don’t click any of the links, you’re probably ok. But, if you clicked on a link, and you get some sort of “missing page” error, or you don’t see what you expected to see, chances are someone, or something, is trying to get your password.

Change your password immediately to secure your account. Sign out of all known sessions, too, if you can. If you work within a managed environment, like a school, contact your local IT crew to alert them, and to get some help.

Oftentimes, the IT team can help you mitigate threats at a different level, and often deploy quarantines and rules to shut the threat down, and keep it from spreading.

Know Your Mail, and What to Expect

Learn to recognize what legitimate email looks like, especially from people you regularly communicate with. Is Steve asking you to sign a document, but you haven’t heard from Steve in 6 months? It’s probably fake.

Is someone sharing a folder with you that you weren’t expecting? It’s probably fake, too. Learn to only work with stuff you expect to appear in your inbox.

Know Your Company’s / Organization’s Tools

Are you getting a file attachment, or something shared using an application you’ve never heard of? Or is it shared through an application like Google Drive, or G Suite (which your organization is using)?

It’s important to recognize valid applications and email attachments, just like you check before opening the door to strangers at your own home.

Brush Up on Your Geography

A lot of hacking / phishing attacks and attempts come from overseas. Some don’t, but the majority seem to originate from outside the USA. Learn to recognize links that end in something else than the regular .com, or .org. Have a link that ends in .id? That goes to websites in Indonesia…

docusignexample

Were you expecting something from Palembang? Didn’t think so. Don’t click that link! To check links, hover over suspicious stuff, and check your browser in the lower corner – it will show you the intended link targets. Don’t click if you don’t trust. It’s safer that way…

Why Won’t It Stop?

Because plenty of folks click the links. And it’s worth it to hackers to continue building up their system of compromised computers, rosters of user names and passwords, and best of all, credit cards and social security numbers.

Typical attempts target thousands of users (through a network of compromised email accounts) and some of them will click the link without thinking twice. It snowballs from there.

And once they have your stuff, it’s sold on the black market of the internets for cash money. And so far, it’s worth it for hackers in Indonesia, or Namibia, or China, or wherever they may be.

Categories
ajoBlog

Reading & Writing [Online]

Reading and writing online is different than reading and writing a paper. The format is different, the audience is different, and the objectives are different.

Writing a paper for school, for example, may require you to follow certain guidelines (like MLA, or APA), but writing for online is different. And you may not be aware of the guidelines.

Here are some helpful tips when reading, and writing, for online publication.

Paragraphs are King

The shorter paragraphs are, the better. Move away from 5-7 sentences, and write shorter paragraphs that are more concise. Focus on clarity and quality over quantity. Reading shorter paragraphs is also easier on the eyes.

TLDR: Write shorter paragraphs.

Fonts Make it Happen

When you’re writing online, and you’re using a medium that you can control (your website, blog, or otherwise) be sure to use a font that’s easy on the eyes. Reading on a screen is different than reading a paper that’s set in Times New Roman size 12.

A sans-serif font like Verdana is much easier to read on-screen than a serif font like Times New Roman. Size matters, too, so make sure the text is large enough to read comfortably. Check out Google’s Font Library for the good stuff.

TLDR: Use sans-serif fonts if you can.

Headlines Drive Traffic

Writing on your own blog? Want people to read it? Then you’ll need to craft better headlines. Spend time doing it, too. A well-crafted headline is what causes articles and content to go viral. Your efforts here will pay off. Just make sure your server / host can manage the traffic.

TLDR: Write better headlines.

Make it Mobile

Most readers today use a mobile device to read content online. Make sure you cater to them. Shorter sentences. Shorter paragraphs. Better fonts. Mobile layouts. Easy navigation. Break points. Accessible menus. It’s important – design for mobile first. Tools like WordPress make this easy.

TLDR: People use their phones to consume your writing. Make them happy.

So?

Writing and publishing (and subsequently reading) online is different. Keep that in mind when you produce. White space is important. Fonts are important. Quality over quantity. Practice these skills, and you’ll make a great writer (and reader) in this new(er) medium. The era of 5-7 sentences per paragraph is over. Oh, and learn to write catchy headlines, too!

TLDR: Creating for online is different.

Categories
ajoBlog Lean Six Sigma workflow

What exactly are SMART Goals?

SMART is a mnemonic acronym, giving criteria to guide in the setting of objectives, for example in project management, employee-performance management and personal development. The letters S and M usually mean specific and measurable. Additional letters have been added by some authors.

SMART criteria are commonly associated with Peter Drucker’s management by objectives concept. The principal advantage of SMART objectives is that they are easier to understand and to know when they have been done.

  – “SMART Criteria.” Wikipedia. Wikimedia Foundation. Web. 13 Oct. 2016.

Here’s an easy to use slide deck when introducing the concept of SMART goals. Feel free to use with attribution.

Categories
ajoBlog

Important Ratios

There are plenty of ratios that we deal with every day. The ratio of clothing to body, or the amount of coffee we consume per person per day. You get the idea…

There are a few ratios that I use on a regular basis, that may benefit others, so I thought I’d share.

Swedish Pancake Batter

1 cup flour : 2 eggs : 3 cups milk

Mix, then let stand, then cook in frying pan.

Basic Pickling Liquid (sweet)

1 cup white vinegar : 2 cups sugar : 3 cups water

Combine, then heat but not boil, then either used warm or cooled, pour over stuff to be pickled, like cucumbers, onions, herring, etc.

Basic Bread

3 cups flour : 1.5 cups water : 1 tsp yeast

Combine, let stand covered on counter for 12-18 hours, then knead, and bake for 45 minutes at 450F (preferably inside a cast iron dutch oven).

Coffee

6 oz. water : 10 grams coffee

Make sure the water temperature is no greater than 185F. Makes a huge difference. And obviously, you grind the beans right before you brew, right? Unless you have access to Nescafe Lyx…

Hope you find them useful… What are some of yours?

Categories
ajoBlog

Lord Kelvin on Measuring

Lord_Kelvin_photograph

I often say that when you can measure what you are speaking about, and express it in numbers, you know something about it; but when you cannot measure it, when you cannot express it in numbers, your knowledge is of a meagre and unsatisfactory kind; it may be the beginning of knowledge, but you have scarcely, in your thoughts, advanced to the stage of science, whatever the matter may be.

— William “Lord Kelvin” Thompson. Lecture on “Electrical Units of Measurement” (3 May 1883), published in Popular Lectures Vol. I, p. 73