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

Swift – iOS – Read Language JSON File Into Controls

Posted on February 20, 2018 By David Kittell

If you have an app that doesn’t use the internet or can’t use the internet but still want basic multi-language capability the below will help. First add some labels and buttons. In adding the buttons add it twice (once as IBOutlet and then IBAction) Create a JSON file, in my…

Read more

Ubuntu / Raspberry Pi – Install NGINX Load Balance DNS

Posted on February 20, 2018 By David Kittell

Replace the IP addresses with your IP addresses Modify your config file to look like this When done you need to test the config You should see something like nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Reference: https://www.nginx.com/blog/load-balancing-dns-traffic-nginx-plus/

Read more

Ubuntu / UNIX – Enable / Disable WiFi

Posted on February 17, 2018 By David Kittell
Read more

UNIX – List USB Devices With lsusb

Posted on February 12, 2018February 12, 2018 By David Kittell

On the Mac “lsusb -v” is rather clean in comparison to other systems.

Read more

UNIX – Start Service If Not Running

Posted on February 2, 2018June 18, 2019 By David Kittell

Currently this script is developed for my Raspberry Pi (Debian, Raspbian) but in time I will have it working for RHEL (Red Hat, CentOS, Fedora). In the example above I’m checking if OpenVPN is running, if it is not running it will start the service. I set this script up…

Read more

Debian/Ubuntu LAMP Setup

Posted on January 18, 2018January 31, 2019 By David Kittell

The following code is for Debian 9 Stretch but should work on older Debian with minor changes

Read more

Mac OSX Terminal – Rename TTF/OTF Fonts

Posted on January 18, 2018 By David Kittell

If you have ever received a list of fonts from a client where the font names didn’t make sense this code below will help. Caution: Backup your fonts directory just in case.

Read more

UNIX – Set SSH Banner

Posted on January 17, 2018May 4, 2025 By David Kittell

Obviously it will be slightly different depending on your network and version but it will look something like this. Kittell.net WARNING This computer system is the property of Kittell.net. It may be accessed and used only for authorized Kittell.net business by authorized personnel. Unauthorized access or use of this computer…

Read more

PowerShell – Set DHCP DNS or Set Static DNS

Posted on January 16, 2018February 12, 2019 By David Kittell

Execute with

Read more

OpenSSL – Decode/Read CSR

Posted on January 5, 2018 By David Kittell

Sometimes you when a SSL CSR isn’t named properly you need to get the details of it, the code below will help. Note: Depending on version and OS the placement numbers (-f5 for example) may be slightly off. Once you have created the shell script call to it with the…

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

Code

Top Posts & Pages

  • Bleaching Wool using Hydrogen Peroxide
  • Front Page
  • PowerShell - Get Text Encoding Type
  • PowerShell - IPv4 Range
  • Open On Screen Keyboard (OSK)

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
  • Open On Screen Keyboard (OSK)
  • PowerShell - Install .NET 4.5.2
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes