DirecTV – API JSON Service
If you have your DirecTV Unit plugged into your network at home you could run a couple fun commands.
This area of the site is dedicated to code snippets for quick and easy reference
If you have your DirecTV Unit plugged into your network at home you could run a couple fun commands.
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
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 script block it will restart…
Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces
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 configuration (NSC) UnixAdmin user is…
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.
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 to the file you can…
This script has only been tested on Ubuntu based OS but is possible it will work on other builds You can uses various icon options from /usr/share/icons/gnome/32×32 or /usr/share/notify-osd/icons I typically put a function like this in /opt so you will need to modify the examples below based on your location Note with urgency when…
You must be logged in to post a comment.