Nice little Sublime plugin by davidpeckham that allows you to find all lines matching a string or a regular expression in Sublime. After installing, on Mac, you’ll search to include lines with Regex ⌘+K then ⌘+R. That will bring up the search box. To include lines with a string use ⌘+K then ⌘+S.
Plugin available at https://github.com/davidpeckham/sublime-filterlines
I needed a quick way to take my several thousand plus list of numbers and remove all duplicates. Just a one off task where I didn’t care about the original order of the list, only that there should be no duplicates. Enter python! Here’s how I did it.
- Open Terminal on Mac
- Type “python” and execute
- Format my numbers in an array like [39213123667, 532092995671, 659203651894,… in a text editor for easy copy and paste
- Use python’s set to remove duplicates and then convert back to a list and print out:
listWithDuplicates = [39213123667, 532092995671, 659203651894,...
# sets are unordered collections of distinct objects
deduplicated = list(set(listWithDuplicates))
# used this to see how many duplicates were removed
# print out list to start doing real work
I was curious about how much time it would take to be a seminary teacher when I was asked to be a seminary teacher on June 17, 2014. Since I was running my own business at the time and tracking all of my work hours by project, I added seminary as a project in my time tracking app as well.
I think the amount of time it takes to be a seminary teacher in one year is going to very from person to person based on several factors. This was my first time teaching seminary and the class was an early morning class. So how much time did I spend on seminary in one year?
488.5 hours total
Let’s break that down since that is not the amount of time I spent teaching.
283 hours 5 minutes teaching in class, setting up class, traveling to/from class.
152 hours 5 minutes preparing lesson plans, study, etc.
51 hours 32 minutes for teacher training.
19 hours 27 minutes for administrative and other tasks.
Let’s use 2,087 hours as our standard for a years worth of full-time work. That means that my first year teaching seminary equalled about 1/4 of a full time job. Fascinating stuff. Hope this helps others who might be getting into teaching seminary for the first time and wondering just how much time they might expect to put into the endeavor.
For those times when you find yourself yelling “My package never arrived!”…
When your Amazon shipment has been marked as delivered but you haven’t received it yet, bet sure to follow the steps outlined at https://www.amazon.com/gp/aw/help/id=201117310
After following those steps, if you still don’t have the package in your hands, visit http://amazon.com/gp/help/customer/contact-us/ and follow the steps to contact Amazon support about your missing package.
In my case, the carrier had marked the package as delivered on a Friday and upon contacting Amazon, they said it would be delivered by end of day Monday.