Just a quick 2 "tricks" when working with PowerPoint files.
1. When saving, instead of doing the usual save as .ppt...instead save your slides as a .pps. When you open this, it will go directly into presentation mode.
2. When you're going to be doing a presentation from another computer, consider saving your slides to .pdf format. This will ensure you don't run into any weird software mishaps if the computer you're presenting on has a different version of PowerPoint than the one you created the slides on.
Friday, March 16, 2018
Finding Inactive Computers With Powershell
Here is a quick script I ran at work yesterday to find inactive computers in our active directory. It checks the last time a system was logged on for a given amount of days specified by the user in the script.
Here's the code:
# Michael L. Kelley Jr.
# March 15, 2017
# InactiveComputers.ps1
# A script to find inactive computers via days not logged on
$DaysInactive = 90
$time = (Get-Date).Adddays(-($DaysInactive))
Get-ADComputer -Filter {lastlogontimestamp -lt $time} -Properties Name.OperatingSystem , lastlogintimestamp| Select Name.OperatingSystem,
@{N='lastlogontimestamp'; E={[DateTime]::FromFileTime($_. lastlogontimestamp)}}
Read-Host -Prompt "Press enter to exit"
Here's the code:
# Michael L. Kelley Jr.
# March 15, 2017
# InactiveComputers.ps1
# A script to find inactive computers via days not logged on
$DaysInactive = 90
$time = (Get-Date).Adddays(-($DaysInactive))
Get-ADComputer -Filter {lastlogontimestamp -lt $time} -Properties Name.OperatingSystem , lastlogintimestamp| Select Name.OperatingSystem,
@{N='lastlogontimestamp'; E={[DateTime]::FromFileTime($_. lastlogontimestamp)}}
Read-Host -Prompt "Press enter to exit"
Running this script on your AD server, will check for computers that haven't been logged on for 90 days or more. It will return the AD computer name, operating system, and time last logged on. Perfect for cleaning up active directory for systems that are no longer around. Just change the $DaysInactive variable as needed.
Monday, March 5, 2018
Ridge View Coffee
Over the weekend, I got the chance to drive up to Uniontown to meet an old college friend. Josh and I shared a lot of the same programming courses at Cal. He currently has an IT gig up that way and has recently began acquiring, roasting, and packaging coffee. At lunch he presented me with a sample of his product, Ridge View Coffee:
Ridge View Coffee is a little side project of his. This coffee gets it's start in Ethiopia and is yirgacheffe. This was the sample packet that he gave me that he had just roasted and packaged that very morning. Ridge View Coffee will also (hopefully) be used to aid in funding for his church and the many mission projects that him and his family are so passionate about.
Last night, I made a cup as it was suggested that after roasting, to wait at least a day before brewing. I opened the packet and the aroma hit me. It smelled so fresh and good:
I just added a tiny bit of whole milk after snapping this photo and jumped in. This is good coffee. If you looked at the packaging photo above, you'll see that it has tasting notes of: blueberry, strawberry, and chocolate. I picked up on the blueberry right away and the chocolate. It was light, but packed full of flavor. It was a nice cup to have right after I had finished my dinner.
Josh is still currently streamlining his sources, processes, packaging, and marketing. When he gets his site up, I'll be sure to let everyone know. In the meantime, if you would like to reach out to Josh about buying a sample or you think his product might be a good fit in your shop, you can reach him at: ridgeviewcoffee@gmail.com and know that it would be benefiting a worthy cause.
Ridge View Coffee is a little side project of his. This coffee gets it's start in Ethiopia and is yirgacheffe. This was the sample packet that he gave me that he had just roasted and packaged that very morning. Ridge View Coffee will also (hopefully) be used to aid in funding for his church and the many mission projects that him and his family are so passionate about.
Last night, I made a cup as it was suggested that after roasting, to wait at least a day before brewing. I opened the packet and the aroma hit me. It smelled so fresh and good:
I just added a tiny bit of whole milk after snapping this photo and jumped in. This is good coffee. If you looked at the packaging photo above, you'll see that it has tasting notes of: blueberry, strawberry, and chocolate. I picked up on the blueberry right away and the chocolate. It was light, but packed full of flavor. It was a nice cup to have right after I had finished my dinner.
Josh is still currently streamlining his sources, processes, packaging, and marketing. When he gets his site up, I'll be sure to let everyone know. In the meantime, if you would like to reach out to Josh about buying a sample or you think his product might be a good fit in your shop, you can reach him at: ridgeviewcoffee@gmail.com and know that it would be benefiting a worthy cause.
Friday, March 2, 2018
Printing the HTML of a Web Page Using Python & Beautiful Soup 4
Below is some code I wrote today in Python to quickly parse in a web page and then print out the HTML found in the page.
Feel free to use/modify/share the code as needed. Was getting Beautiful Soup 4 on my new computer and doing a couple little things to make sure it is working correctly. More code to come!
Feel free to use/modify/share the code as needed. Was getting Beautiful Soup 4 on my new computer and doing a couple little things to make sure it is working correctly. More code to come!
Thursday, March 1, 2018
New Laptop Day! Lenovo IdeaPad
Hi all,
Just got a slick new laptop for work today. A Lenovo IdeaPad:
It's a pretty slick machine with the following specs:
Win 10 Pro
Intel i7 @ 1.80GHz
512GB SSD
16GB RAM
Nvidia GeForce MX150
14-inch screen
back-lit keyboard
Still getting all of my software setup, but my first impressions are good. Really liking the keyboard and the display is beautiful. Hope to be posting lots of content in 2018 so keep a look out!
~ Michael
Just got a slick new laptop for work today. A Lenovo IdeaPad:
It's a pretty slick machine with the following specs:
Win 10 Pro
Intel i7 @ 1.80GHz
512GB SSD
16GB RAM
Nvidia GeForce MX150
14-inch screen
back-lit keyboard
Still getting all of my software setup, but my first impressions are good. Really liking the keyboard and the display is beautiful. Hope to be posting lots of content in 2018 so keep a look out!
~ Michael
Subscribe to:
Posts (Atom)