There are many ways to move and resize windows on a Mac without requiring third-party apps. Learn how to set up your windows like you want them, and even a method for saving windows positions.
I worked on something to help me with a daily task, and I thought I would share it. I know regular expressions are pretty technical, but I hope some of you find this interesting anyway. Here's the JavaScript for the Shortcut, and the website is: <a href="https://regex101.com" rel="nofollow noopener" target="_blank">https://regex101.com</a> <blockquote><strong>function run(input, parameters) {</strong></blockquote><blockquote><strong> var str = String(input[0]);</strong></blockquote><blockquote><strong> str = str.replace( /(.*) ((dd)s)/gm , `00:$2 $1`);</strong></blockquote><blockquote><strong> str = str.replace( /(.*) ((d)m (dd)s)/gm , `0$2:$3 $1`);</strong></blockquote><blockquote><strong> str = str.replace( /(.*) ((d)m (d)s)/gm , `0$2:0$3 $1`);</strong></blockquote><blockquote><strong> return "00:00 Intron"+str;</strong></blockquote><blockquote><strong>}</strong></blockquote>
I recently needed to generate some random time values in Numbers that included both a random date, and a random time of day. It isn't immediately obvious how to do this, so I thought I'd share what I came up with. Here's the function: =DATE(RANDBETWEEN(2000,2021),RANDBETWEEN(1,12),RANDBETWEEN(1,28))+DURATION(0,0,RANDBETWEEN(8,20),RANDBETWEEN(0,59),0,0)
So here's a long rambling video on the subject. I want to find a way to present this material better (and in under 10 minutes). But the basics are: <ul> <li>Apple cables seem better than cheap cables, but that's only worth it some of the time.</li> <li>Apple adapters also seem better, but it is rarely worth it to spend the extra money.</li> <li>Apple power adapters are good, but too expensive and you should get cheaper third-party ones that are also smaller and have more features.</li> <li>Apple Keyboards and Mice are more expensive by far, but worth it.</li> <li>Trackpad is better than a mouse and nothing compares to Apple's Trackpad.</li></ul>What do you think? Let me know if you disagree and why.