Author: Greg

Python: Where to Start?

Docs Bookmark these! Python 2 documentation Python 3 documentation Downloadable PDF of some changes Why Python 3? New to Python? …but not to programming in general? Start with Transforming Code into Beautiful, Idiomatic Python The official Python tutorial! (or for python 2) How do I choose between Python 2 or 3? Learn Python2 in Y Minutes Learn Python3 in Y Minutes Learn Python 3 uses animated stepping and data structure visualization New to programming? Try one of these online books! Introduction to Python (Python 2 and 3) Automate the Boring Stuff with Python (Python 3) Build applications in Python the anti textbook (Python 3) Introduction to… Read More

What is an API?

If you spend time around software or internet tools you’ve likely heard the term “API”. API stands for “application programming interface”. There are tons of APIs available online for software developers to use to integrate information from other applications into their own software. What is an API? An API is a system of tools and resources in an operating system which lets developers create software applications that interact with other services. APIs are what allow two separate applications to communicate with each other. APIs let users interact with other services or websites without leaving your website. APIs are important because… Read More

Docker Containers: Common Issues

Issue: I am trying to build a development SQL Server that I can continue to learn SQL on and use Microsoft SQL Server Management Studio (SSMS) to access on a Windows PC. However I wish to use SSMS on my Windows PC and am unsure how I begin to connect to the remote box. In the picture below, there are no options to specify an SSH key or to even login in to the Ubuntu box, only to access the SQL server. Solution: Connect via SSMS using the public IP address, followed by comma separator and then the port (,port).You’ll… Read More

Docker Containers: Additional Commands

Rename a Container Change the SA password The SA account is a system administrator on the SQL Server instance that gets created during setup. After creating your SQL Server container, the MSSQL_SA_PASSWORD environment variable you specified is discoverable by running echo $MSSQL_SA_PASSWORD in the container. For security purposes, change your SA password. Choose a strong password to use for the SA user. Use docker exec to run sqlcmd to change the password using Transact-SQL. In the following example, replace the old password, <YourStrong!Passw0rd>, and the new password, <YourNewStrong!Passw0rd>, with your own password values. Remove your container If you want to remove the SQL Server container used in this tutorial, run the following… Read More

Docker Containers: Creating a SQL Server Demo Environment

Running SQL Server in a Docker Container In order to run our SQL Server container we have to execute the following code in PowerShell:  Note The password should follow the SQL Server default password policy, otherwise the container can not setup SQL server and will stop working. By default, the password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols. You can examine the error log by executing the docker logs command. The following table provides a description of the parameters in the previous docker run example: Parameter… Read More

Docker Containers: Getting An Image

I will be working with Docker running on Windows (although sometimes on Linux). Docker appears to be the most popular and has a strong standard. You can go here to get the appropriate Docker installation. If you are unfamiliar with what a container is or why they are used Docker has a great explanation here. Basically, a container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to… Read More

Docker Containers: Why?

Since discovering Docker, I rarely find my self directly installing software on my computer or home lab. Whether is it a database server (Microsoft SQL Server) or I am just wanting to explore something new  I try to find or build an appropriate Docker image. Installing software is not hard, however using Docker saves time and provides consistency by reducing the task of installing and running software to just two commands (docker run and docker pull). In my next post I will show this process in action by taking a step by step look at how easy and simple it… Read More

CCNA Routing and Switching Updated

Cisco is announcing updates to its most popular certification, CCNA Routing and Switching which will enable customers to fully benefit from the power of Cisco’s latest technologies. The role and skills required of a core network engineer will evolve significantly.  Through these next generation training and certification offerings, IT professionals will be able to demonstrate to hiring managers that they are ready to design and deploy the best in industry solutions. The CCNA R&S certification has been updated to meet these latest shifts in technologies.