Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Category: Code

This area of the site is dedicated to code snippets for quick and easy reference

Red Hat – Check Subscription / Register Server

Posted on February 21, 2017February 25, 2021 By David Kittell

Check subscription manager status

Read more

MSSQL – Datetime In Local Timezone

Posted on February 2, 2017March 26, 2021 By David Kittell

This function will get the local time based on the time zone difference from UTC

Read more

Mac Terminal – PowerShell on Mac OS

Posted on February 2, 2017 By David Kittell

Resource: https://blog.azureandbeyond.com/2016/11/11/powershell-azure-and-macos-absolutely/

Read more

Mac Terminal – Random Readable Password

Posted on February 1, 2017 By David Kittell

I recently was challenged to create a random readable password for Mac OS. While I designed this for Mac OS it’s likely it will work with little to no changes on any UNIX system. Password format was two digit number then a word followed by another word with special characters…

Read more

UNIX – List Files With Permissions In CHMOD Numbers

Posted on January 24, 2017April 13, 2020 By David Kittell

If you’re on UNIX you know ls will list files in a directory but typically you’ll get something like You can simily stat the file(s) with the below What if we work with stat and make it easier?

Read more

UNIX – SED Remove Comment Lines

Posted on January 23, 2017 By David Kittell

This script will remove all lines that start with # along with all comments. Whatever file you choose I suggest you view first then execute

Read more

Mac OS X Terminal – Parallels – Reset Windows User Password

Posted on January 20, 2017 By David Kittell

Forgot your password to your Parallels Windows Virtual Machine? Power up your Windows VM then run this script to list all machines as you need the ID You’ll see something like this Copy the UUID minus the { } brackets Run this next piece for each user you want to…

Read more

Mac OSX Terminal – Get Stored Wireless (Wi-Fi) Password

Posted on January 18, 2017June 6, 2025 By David Kittell

Addition to Find & Scan Wireless Networks the additional line will require a password but then display the stored password for the defined router name.

Read more

UNIX – Terminal – Oh My Zsh Setup

Posted on January 17, 2017June 12, 2020 By David Kittell

As much as I like Oh My Zsh sometimes you have to go back to original terminal as not all things are supported. NOTE: This is part of a setup I do for new computers, see HomeBrew – Mac OS Setup For more information on Oh My Zsh, see https://github.com/robbyrussell/oh-my-zsh

Read more

Mac OS X Terminal – New Computer Setup Script

Posted on January 13, 2017August 22, 2018 By David Kittell

This is a collection of configurations for the setup a new Mac in a business environment.

Read more
  • Previous
  • 1
  • …
  • 12
  • 13
  • 14
  • …
  • 63
  • Next

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • PHP - Create Dynamic Breadcrumb
  • Mac OS X - Remove Users In Terminal/SSH
  • PowerShell - Windows Active Directory - Compare User Groups
  • PowerShell - UNIX SED Equivalent - Change Text In File

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • PHP - Create Dynamic Breadcrumb
  • Mac OS X - Remove Users In Terminal/SSH
  • PowerShell - Windows Active Directory - Compare User Groups
  • PowerShell - UNIX SED Equivalent - Change Text In File
  • C# Get URL Details From Browser
©2025 David Kittell | WordPress Theme by SuperbThemes