
Sign up to save your podcasts
Or


What is Computer Science? - Computer logic, computational systems, process - Broad range of topics with a narrow base - Efficient step by step instructions
Core Curriculum - Basic computing (demonstrated with a high level language) - Algorithm Analysis (Big-O Notation, sorting, searching, etc.) - Data Structures (Array, Linked List, Trees, Graphs, Stack/Queue) - Computer Architecture and Operating Systems
Specializations - Programming Languages - Artificial Intelligence - Embedded Systems - Human/Computer Interaction - Bioinformatics Topics Going Forward - Operating Systems - Memory Management - Virtual Memory - Programming Languages -- Interpreters -- Compilers - Whatever tickles my fancy - Whatever tickles YOUR fancy!
## Devember Update
### Site is Live! - https://test.admindev.tech
### Development Efforts - Caching - Logging - Maintenance script
### What's Next - Caching - CI/CD Pipeline - Testing
### Upcoming - Computer Science - .NET, F#, and C# - Moar Guests - Operating Systems, Virtual Memory, Memory Management - Career Highlights: DevOps Engineer, Systems Administrator, Software Developer
Today I got to spend time with a great friend of mine, Mike Levan, and discuss his work in Azure, his experience being an author, and his experience as a leader in DevOps.
Azure Solutions - Azure Deployment Center - AzureSQL - Azure Arc - AZCLIREST - Bringing it all together
Azure Web Apps - What is it? - How does it help you? - Interesting problems/solutions
PowerShell - Scripts, tools, and applications - Azure CLI - Managing Cloud with PowerShell - Managing OS/Azure Functions/Azure Web with PowerShell
Cloud Ops & Scripting - Terraform - Kubernetes - Python
Tech Outside of Azure - Microsoft Talks - DevOps Recipes with Azure
Josh Duffney joins me today to discuss his list of accomplishments and transforming his learning an education into a tech powerhouse.
- Analysis Paralysis and Imposter Syndrome - Becoming more aggressive in learning and career - Current path
- Azure - Getting certified - Azure services and problems
- Orchestration - Kubernetes and Docker - Pros and benefits of containers - https://hyper.is/ - Security with containers
- The software side - Ansible - PowerShell - Infrastructure as code/Configuration management - Accomplishments
- Life - Deadlift milestone & Brazilian Jiu-Jitsu - Joining PluralSight - Reading, writing, and science fiction - Extreme Ownership & Jocko Willink
### My Promise - New site - Golang web server - Better aesthetics
### SysOps Too - Make time for yourself - 1 hour is all it takes - 30 days to form a new habit - Don't fail on your "New Years Resolution"
### Next Episodes - Josh Duffney - Mike Levan
### Man Page Sections 1. User Commands - Programs supplied by GNU C library - git - htop 2. System Calls - System calls provided by Linux kernel - write - read 3. Library Functions - Standard C library functions - pthread_create - rand 4. Devices - Devices in /dev and other places - loop - zero - sd 5. Files - File formats and processes - resolv.conf - passwd 7. Miscellaneous - UTF-8 - cgroups - daemon
### How to Read a Man Page - Command, section number, implementation (Linux Programmers Manual vs POSIX Programmers Manual) - Synopsis - Many (all) options - Can be read literally or as an example - Description - Technical details, brief explanation and history, program associations - Commands - How to interface with application - In the case of `less`, you are given navigation instructions - Options - Arguments or flags - Some documentation (sed) will use "Commands" and "Description" for technical usage - Additional Information - Environment Variables - Application specific commands or arguments (not POSIX or Linux, such as git) - Technical documentation such as security concerns, additional interfaces, and use cases - "EXAMPLES" sometimes included in this area - Author or Organization information - See Also
### Things to Lookout For - Look for underlines or italics (underlines are not literal, but implications) - Learn to navigate and search - / - h, j, k, l - n, b - Ctrl f, Ctrl b - gg and G - A and 0 - b/e, W/E - q
### Resources - https://explainshell.com/ - https://stackoverflow.com/questions - https://unix.stackexchange.com/ - https://www.reddit.com/r/bash/ - https://nostarch.com/absfreebsd3 - https://codingblocks.slack.com/ (go to their main page to join)
### Practical Scripts
Personal Task Manager - Two scripts - Add a task - Find and display tasks -- Weekly, annual, and single entry -- Test for bad/incompatible formatting -- Save the data to a hidden file -- Second script changes current date into dayname, day and month, or day, month, and year -- String comparison -- Print tasks
Largest Disk Occupancy - Loop through /etc/passwd (use cut to grab username and awk to iterate only UID over 99) - Use find and -xdev to specific certian directories (saves time) - Closing awk statement that only prints to accounts that have exceeded specified disk space - Modify/evolve script to e-mail users that have excessive disk space
Provisioning Tool - Uses virt-install - Default values for RAM, CPU, and disk size - CLI arguments to include values and override defaults if necessary - Test for empty name and break out of script
Additional Resources - The Linux Command Line - Linux Command Line and Shell Scripting Bible - Linux Academy - Wicked Cool Shell Scripts - learnshell.org - linuxcommand.org
### Reading from Files and Databases - Files -- List of commands -- The "read" command - Databases -- MySQL .my.cnf file, Postgres .pgpass -- Save path to variable -- <
### GUI Menus - dialog -- msgbox: Short message followed by OK button -- yesno: msgbox with Yes/No options -- Use status option to proceed -- textbox: Presents data (disk usage, memory info, message/e-mail) -- menu: Create a menu with title, selector, and text
- kdialog -- For KDE environment -- Not as flexible -- Similar widgets as dialog - zenity -- Gnome environment -- Installed out of the box on Fedora -- Similar to kdialog, more aesthetically pleasing (personal preference)
- Why GUI Menus -- Installer/Setup -- Reporting -- Analytics -- Ease someone (dev/QA) into sysadmin
### E-mail - mailx -- Send messages through SMTP -- Provide complete information via arguments -- Pipe message to mailx command -- Simple notification system for successful/failed script
## Shell Scripting
### Why Bother? - Despite the length of automating or scripting, the time you save in the end is worth it. - Understanding your system; baseline computer logic; thinking "programatically" - 31337 f***ing h@x
### Scripting Conventions - She Bang(s?) - /usr/bin/env python3 - /usr/bin/env ruby - chmod u+x ("YOU" can execute) chmod g+x (Your "GROUP" can execute) - Throw it in a crontab
### Scripting Logic - variables - while loops - for - until - if/then/else - case/switch statements
### Automation - Reading from files - Reading from databases - Arguments, environment variables, and user input
### User tools - dialog package - kdialog (KDE is the best, btw ;) )
## The *BSD Sides of Things
Using *BSD For More Than Routing - Software Development - Systems Administration - Engineering Beast Mode 1. Netflix 2. Google 3. Cisco 4. Palo Alto
Using *BSD For Routing - pfSense - OpenBSD - NetBSD
Accessible Desktop - FuryBSD -- Enable Networking -- Configure x.org -- Trackpad utilities -- https://wiki.freebsd.org/SynapticsTouchpad Package Management - Latest and Greatest -- Clean sweep with updating -- Fetching updates and upgrades