Top 10 Trucks tips

Smart Lists in Apple Reminders

Apple Reminders gets a useful add-on called Smart Lists. They are basically your normal lists with a smart brain behind them. You can create any list into Smart list by adding conditions to the list. As soon as you create a task that meets all the Smart List conditions, the app will automatically send the task to the Smart List. No manual input is needed from users.

Use Tags in Apple Notes

This is one of our favorite iOS 15 tips. Apple Notes finally gets the fan-favorite tags add-on to organize your notes. While writing any note, you can add a #tag, and the app will create a tag out of it. The functionality also extends to the macOS Apple Notes app.

Enable iCloud Private Relay

iCloud Private Relay is one of our favorite new additions to iCloud service. Private Relay hides your IP address and Safari browsing activity from network providers and websites so that no one — including Apple can see who you are or what sites you are visiting. It shields your web traffic from prying eyes and spammers. Private Relay hides data from both the ISP and advertisers that aim to build your online profile. iCloud Private Rely is only available for paid iCloud users. You can enable the toggle from the Settings > iCloud > Private Relay menu.

Share Apple Health Data

iOS 15 allows you to share health data with your friends and family members. The data you share will appear in their Health app. You will also get an alert for important health metrics like elevated heart rate, etc. It’s all built with privacy and security in mind. Apple only shares a summary of each topic and not the details. The information is encrypted, and you can stop sharing at any time.

Move Complex and Non-Critical Emails Into a To-Do Folder

In Outlook 365, you can create a structure of folders for organizing emails. Many people use the folder structure for archiving emails, but folders are also a great way to manage incoming emails as tasks and get them out of your inbox view. We're going to use these folders to do email triage, organize the messy inbox, and overcome email overload. To do this, create three new folders under your inbox folder. The first is a "To Do" folder, and the second and third are subfolders called "Follow Up" and "Someday." These loosely follow the Getting Things Done® or GTD® methodology of organizing tasks. Getting Things Done® and GTD® are registered trademarks of the David Allen Company. To create these folders:

  • Right-click your "Inbox" folder, and select "New Folder."
  1. Title the first folder "To Do."
  2. Click the arrow next to the Inbox folder to view your new To-Do folder.
  3. Right-click the To-Do folder, select new folder, and name this folder "Someday."
  4. Repeat to create a "Follow Up" subfolder under the To-Do folder. Now you have four folders for incoming emails, and you can use all four to manage your tasks and keep your inbox clear. When new emails arrive, move them to the appropriate folder: Inbox – The only emails that stay in your inbox are those that you should answer immediately. They’re either urgent or can be handled quickly (in three minutes or less). To Do – Drag non-urgent emails and emails that will require more than a three-minute response into your to-do folder. You’ll follow up on these items later, but moving them immediately keeps your inbox empty while you process the emails. Follow Up – Move emails to this folder that are put on hold. Things like replies you're waiting to get or tasks that you've delegated. Someday – Some emails don’t require a response. Instead, they’re things you’d like read/review one day when you have time. Drag those into the someday folder to review at some point in the future when work slows down and you need something to do. This might be the equivalent of an Archive folder, but you can use it for items that you'll need to quickly access in the next few weeks. After processing your email, schedule time on your calendar every day to review and handle the items in your to-do folder. This method has three benefits: First, it keeps your inbox clear, allowing you to achieve inbox zero and avoid getting overwhelmed by a cluttered inbox. New emails that come in at a steady stream don't get mixed up with existing emails you've already read, pushing all the important emails down. Second, your emails are better organized! You have a set place to go now for emails that need your attention—just as many folders as you need to stay on top of your email, but no more than you need. Instead of creating countless folders (for different projects, clients, or other categories), you have just four to work with. Third—and perhaps best of all—it allows you to manage your time better throughout the day, focusing on important tasks instead of getting distracted by constant email questions and requests.

Order by relationship

A little more complicated “trick”. What if you have forum topics but want to order them by latest post? Pretty common requirement in forums with last updated topics on the top, right? First, describe a separate relationship for the latest post on the topic:

1public function latestPost()2{3    return $this->hasOne(\App\Post::class)->latest();4}

And then, in our controller, we can do this “magic”:

1$users = Topic::with('latestPost')->get()->sortByDesc('latestPost.created_at');

Use Outlook’s Task List Instead of Clogging Your inbox

Some emails don’t require an immediate response, but they do need to be handled before the time you have scheduled to review items in your to-do folder. These items can still be moved to your to-do folder so they’re not clogging your inbox, but you’ll want to make sure that you have a reminder to take care of them before a deadline. Create a reminder by adding these emails to Outlook’s task list:

  • Drag the email and drop it on Outlook’s task list icon.
  1. Add a due date and set a date and time to receive a reminder. Save the task. You can now hover your cursor over the task list icon to see a quick view of your task list, organized by due date. Click on the task list icon to open your to-do list and review the respective tasks. If you set a reminder, the task will pop up like a meeting reminder at the specified time. Once the task is complete, mark it as such to remove the task from your to-do list. Open the task by double-clicking it, and click the "Mark Complete" button—or just press the Insert key to quickly mark the item complete. Outlook’s task list is also useful if you’re in the habit of copying yourself on emails as a reminder to follow up, or if you’re emailing someone who is prone to ignoring your requests. Instead of keeping reminders as emails in your inbox, just move them to your to-do folder and add them to your task list.

Use iCloud Authenticator

iCloud Keychain gets a much-awaited two-factor authentication support built-in. When you view the password for any website in the iCloud Keychain, you will see an option to Set Up Verification Code for the app. iCloud Keychain users can replace the apps like Microsoft Authenticator and Google Authenticator on the iPhone.

Change your Teams theme

Did you know that you can change the look and feel of Microsoft Teams? Simply open Teams settings, navigate to the General tab and choose whether to use the traditional white background or alternatively apply the dark or high contrast modes.

Eloquent::when() – no more if-else’s

Many of us write conditional queries with “if-else”, something like this:

1if (request('filter_by') == 'likes') {2    $query->where('likes', '>', request('likes_amount', 0));3}4if (request('filter_by') == 'date') {5    $query->orderBy('created_at', request('ordering_rule', 'desc'));6}

But there’s a better way – to use when():

1$query = Author::query();2$query->when(request('filter_by') == 'likes', function ($q) {3    return $q->where('likes', '>', request('likes_amount', 0));4});5$query->when(request('filter_by') == 'date', function ($q) {6    return $q->orderBy('created_at', request('ordering_rule', 'desc'));7});

It may not feel shorter or more elegant, but the most powerful is passing of the parameters:

1$query = User::query();2$query->when(request('role', false), function ($q, $role) {3    return $q->where('role_id', $role);4});5$authors = $query->get();
;