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

Ubuntu – Remove Preloaded Applications

Posted on January 4, 2018January 10, 2020 By David Kittell

Installing Ubuntu for a server OS? The code below will remove some of the preloaded applications that are needed on a server. Arguably you could remove Gnome in general and all Gtk but that depends on how you want to run your server.

Read more

DirecTV – API JSON Service

Posted on January 3, 2018January 3, 2018 By David Kittell

If you have your DirecTV Unit plugged into your network at home you could run a couple fun commands.

Read more

Mac OSX Terminal – Lynx HTML Parsing

Posted on January 1, 2018 By David Kittell

Lynx has a lot of good purposes but in this example below I’m simply going to strip URLs from a bookmarks HTML file exported from Chrome. If you have created folders and links all over the place in Chrome or Firefox this below will be helpful

Read more

Red Hat / CentOS / Fedora – Create Jailed SFTP User

Posted on December 26, 2017 By David Kittell

If you are working on a project and need SFTP capabilities but don’t want users to see each other’s files create a SFTP Jailed server. Assumptions for the code below is that you are running Red Hat, CentOS, or Fedora and already have the OS running. NOTE: In this first…

Read more

Azure CLI – List All VMs with Details

Posted on December 24, 2017 By David Kittell
Read more

UNIX – SED Replace Tab with Space(s)

Posted on December 20, 2017 By David Kittell

Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces

Read more

Azure – CLI – Build Windows/UNIX VM Function (With or without public IP)

Posted on December 19, 2017 By David Kittell

In the functions below the VM name is used in all of the pieces to build the VM to simplify documentation. Important Items: As I use a Firewall appliance in Azure I do not set Network Security Groups (NSG). I have a predefined virtual network (VN) and predefined network subnet…

Read more

Swift – iOS – Get Device Identity

Posted on December 13, 2017December 13, 2017 By David Kittell

This code will help you determine what phone or device is using your app. In your ViewController put this under your imports In ViewDidLoad or somewhere else as needed you can call to the above with Sorry but I do not remember the location that I originally found this.

Read more

Mac OSX Terminal – Create New Admin User

Posted on December 8, 2017 By David Kittell
Read more

Ubuntu – Require Sudo Rights To Shutdown

Posted on November 28, 2017 By David Kittell

If you are working with UNIX and you need to remove the ability for normal users to shutdown you can make this file change. This change will simply require a user with sudo access to type in their password before the machine can shutdown. There’s a couple changes I made…

Read more
  • Previous
  • 1
  • …
  • 8
  • 9
  • 10
  • …
  • 63
  • Next

Code

Top Posts & Pages

  • Bleaching Wool using Hydrogen Peroxide
  • Front Page
  • PowerShell - Get Text Encoding Type
  • PowerShell - IPv4 Range
  • PowerShell - Rename Pictures to Image Taken

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

  • Bleaching Wool using Hydrogen Peroxide
  • PowerShell - Get Text Encoding Type
  • PowerShell - IPv4 Range
  • PowerShell - Rename Pictures to Image Taken
  • Mac OS X - Remove Users In Terminal/SSH
  • PHP - Create Dynamic Breadcrumb
©2025 David Kittell | WordPress Theme by SuperbThemes