Menu
Zero One Labs
  • Home
  • About
  • Scripts
  • Snippets
Zero One Labs

New COVID-19 Data Demographics Dashboard

Posted on June 10, 2021June 10, 2021 by Zan

A while back I heard someone talk about COVID statistics and how Seniors were the majority of COVID deaths. I tried to find a place to look up this information, but it was really hard to find. Most data dashboards out there usually would list cases with “rolling averages” or “7-day averages” and all sorts…

+

“Open with VS Code” shortcut in Finder

Posted on March 17, 2021March 17, 2021 by Zan

Here is how to create your own “Open with…” right-click menu item under MacOS’s “Quick Actions” menu: Open the Automator app on your Mac Choose “New Document” -> “Quick Action” On the left-hand column, search for “Run Shell Script” and add it to the workflow on the right. For the shell script, you’ll want to…

+

Python: Show your friends playing games on Steam

Posted on April 11, 2020April 12, 2020 by Zan

This requires the following: A Steam account (set to “public”) A Steam API Key Your SteamID64 ID Friends (public, online, and playing a game) Simply replace “YOUR_STEAM_API_KEY” with your Steam API key and “YOUR_STEAM_UID64” with your SteamID64 ID. Copy the script below and save it as “steam_snake.py”, then run the file: $python3 steam_snake.py It should…

+

How to combine videos on macOS’s Terminal

Posted on December 11, 2019December 11, 2019 by Zan

Here’s a quick tech tip on how to combine multiple small videos into one on the Mac with the command shell (Terminal). Let’s say you saved an Instagram story that contains multiple videos to your phone and you want to combine them into a single video to share with your loved ones. It’s pretty simple….

+

Wi-Fi persistence

Posted on August 13, 2019August 13, 2019 by Zan

I’ve noticed that sometimes I come home and my iMac has lost its connection to my Wi-Fi network. I’ve had enough, so I wrote a script (which I wrapped with a LaunchDaemon to keep it running), to check and make sure the Wi-Fi card is on and joined to my preferred network. Caution: Use this…

+

Clean up your Desktop with Folder Actions

Posted on January 15, 2019January 15, 2019 by Zan

Familiar with the scenario of “Screen Shot” files filling up your Desktop space? Sick and tired of manually moving them to a folder? What about moving all images on your Desktop to a custom folder? What about documents? Well, you can with Apple’s “Folder Actions” using Automator. It’s very simple! Start with creating a folder…

+

Give your Mac users temporary admin

Posted on December 18, 2017January 13, 2019 by Zan

Lately I saw a post on JAMF’s user forums with someone wanting to give temporary admin access to their users for a set amount of time. This reminded me that I had such a script and that I should share it with the world. So here you go! The script basically takes an argument with…

+

Mac OS and the Keychain Experience

Posted on October 30, 2017October 31, 2017 by Zan

“So, I’m getting these prompts when I log in that I need to enter my Keychain password? Like, does it want my new password or my old one?” This is a typical question I’ve been hearing for almost 10 years in regards to Macs that are bound to a directory of some kind (usually Windows…

+

How I downloaded a video from Twitter using Curl

Posted on August 22, 2017February 17, 2019 by Zan

Update 1: It appears that Twitter has changed their scheme in how they display videos. They are now using a JavaScript method that obfuscates the video URL via a blob mechanic. The URL is only able to be decoded by the user’s web browsing device and cannot be “CURL’d” by a command line. For reasons…

+

Troubleshooting Apple’s PackageMaker

Posted on June 28, 2017June 28, 2017 by Zan

Troubleshooting Apple’s PackageMaker can be a hassle. Especially when you’re getting generic errors, such as The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance Recently, I ran into an issue with compiling packages on a Mac that was bound to an Active Directory environment. When I was…

+
  • 1
  • 2
  • Next

Categories

  • Articles
  • Bash
  • Mac
  • PackageMaker
  • Python
  • Scripts
  • Terminal
  • Uncategorized
My LinkedIn
©2023 Zero One Labs | Powered by WordPress & Superb Themes