Top 10 Trucks tips

System-Wide Drag and Drop

You really need to use this trick in person to check its awesomeness. You can long-press any image/video/file from one app, open another app, and drop it there. Keep the content pinned using one hand and open another app using another finger and drop the content. It works seamlessly across Apple apps. For example, you can select a photo from the Photos app and use the drag and drop method to attach it to an iMessage conversation.

Clean Up Your Inbox in One Click

Taking time off is wonderful until the moment you open your email after returning to work. If you work in an email-heavy company, you may have received hundreds of emails while you were out of the office, and now you’re faced with the difficult task of sorting through each one. With Outlook’s clean-up function (introduced in Outlook 2010), you can drastically reduce the number of emails you have to deal with in just a few clicks—whether you're coming back from vacation or you just have too many emails piled up. The clean-up function removes all email replies that are duplicated in a later thread, allowing you to read a single thread instead of dozens of individual emails. To clean up your inbox quickly:

  • While viewing your inbox, click the "Clean Up" button, and select "Clean Up Folder."
  1. Click the "Clean Up Folder" button in the popup to confirm the action. Outlook will automatically remove all duplicate emails, leaving you with significantly fewer emails to sort through. The clean-up function can be a little disconcerting to use initially. What if it deletes something important like a reply that contained an attachment that was removed in a later thread? Rest assured: the tool is sophisticated and will not delete any emails with attachments or text that aren’t exactly duplicated in later threads, and you can always review deleted items in the trash folder if needed.

Turn off your camera

In the same fashion you can turn on and off you video camera. You can either use the meeting setup panel (item 2 above) to disable your camera; or simply use the meeting control panel to enable video again.

Use Rules to Automatically Sort Emails and Stop Receiving Irrelevant Emails

Unfortunately, not all emails in the workplace come with an unsubscribe link. Day after day, emails arrive in your inbox that are just a distraction. Some common examples include:

  • Automatic Notifications: If you’re assigned to a team on one of the platforms you use at work—such as customer relationship management (CRM) software—that platform may send an email every time a change is made in the system.
  • "Fun" Emails: Sometimes a team leader or department will send daily/weekly emails with trivia, memes, or jokes designed to make work feel more fun.
  • Threads You Shouldn’t Have Been Included On: Occasionally, someone will send a mass email that gets dozens of replies—none of which have anything to do with you or your job. These emails keep you from focusing on your important work. Use Outlook’s rules function to skip the inbox and send those emails straight to the trash—or to another folder for review. You can also use Outlook rules to automatically sort incoming emails to the appropriate folder, such as always sending emails that are from your boss with a certain subject line to the To-Do folder and emails from a newsletter you regularly read to the Someday folder.
  • Right-click the email, hover over "Rules," and select "Create Rule."
  1. Choose the criteria for the rule:
  • "From [Sender]" will execute the rule any time you receive an email from a specific email address or contact.
  • "Subject contains" will execute the rule any time a specified subject line is used.
  1. Select what happens when the rule runs. To sort emails out of your inbox and into the appropriate folder, check "Move the item to folder," and select the folder where you want the emails to be sent. You can choose the "Deleted Items" folder if you never want to see them, or you can create a separate archive folder if you may need to review the emails in the future. Click "OK" to apply the rule. Want to prevent getting future emails on a specific thread? In that case, instead of creating a rule, you can just use Outlook's ignore function. Right-click the email, select "Ignore," and confirm the action. Ignore automatically sends future replies to that thread to your "Deleted Items" folder so you don’t receive them in your inbox.

Create Quick Parts for Default Responses to Common Questions

If you spend a lot of time typing the same answers to questions you get repeatedly, create Quick Parts to insert that text into email replies in just a few clicks. No need to keep typing the same thing over and over again or having to find an old response to copy and paste. When you’ve finished typing a response that you expect to need to send again, follow the steps below to save the text as a Quick Part:

  • Highlight the text you want to save in the email, and click the "Insert" tab.
  1. Within the "Insert" menu, click "Quick Parts," and select "Save Selection to Quick Part Gallery."
  2. Give your new Quick Part a descriptive name, and click "OK." With this Quick Part saved, you can now add that text to any email with just a couple clicks. With your cursor in the body section of the email, click the "Insert" tab. Click "Quick Parts," and then select the Quick Part you want to insert. The prewritten text will automatically appear in the body of your email, and you can edit and customize it as needed for your new response.

Use Magnifier App

Need to zoom in for specific details using iPhone? You no longer need to open the Camera app and use digital zoom. iOS 15 now comes with a new Magnifier app. As the name suggests, you can use it to zoom in on elements, text, use a bunch of filters, flashlight, play with the brightness slider, and more.

Access Spotlight Search from the Lock Screen

Spotlight Search also gets a major boost with new features. Spotlight uses intelligence to search photos by location, people, scenes, or objects. Using Live Text, Spotlight can also find text and handwriting in photos. Spotlight now offers web image search and all-new rich results for actors, musicians, TV shows, and movies. The good news is, you can access all these goodies right from the iPhone lock screen. Use the same swipe-down gesture from the lock screen, and Spotlight Search is ready to serve you.

Blur your meeting video background

If you use Teams for video meetings, this might sound familiar. Your home office is a mess and you need to join this video call. Two solutions for that: first off, you can use the Background Settings function (item 3 above) to blur your video background right on from the meeting setup or the meeting controls. The second solution is way more elegant : use a virtual background (we’ll go through the process later). If for some reason, the Background setting button seems inactive in the Meeting Setup panel; make sure you turn on your video camera first.

BelongsTo Default Models

Let’s say you have Post belonging to Author and then Blade code:

1{{ $post->author->name }}

But what if the author is deleted, or isn’t set for some reason? You will get an error, something like “property of non-object”. Of course, you can prevent it like this:

1{{ $post->author->name ?? '' }}

But you can do it on Eloquent relationship level:

1public function author()2{3    return $this->belongsTo('App\Author')->withDefault();4}

In this example, the author() relation will return an empty App\Author model if no author is attached to the post. Furthermore, we can assign default property values to that default model.

1public function author()2{3    return $this->belongsTo('App\Author')->withDefault([4        'name' => 'Guest Author'5    ]);6}

Order by Mutator

Imagine you have this:

1function getFullNameAttribute()2{3  return $this->attributes['first_name'] . ' ' . $this->attributes['last_name'];4}

Now, you want to order by that full_name? This won’t work:

1$clients = Client::orderBy('full_name')->get(); // doesn't work

The solution is quite simple. We need to order the results after we get them.

1$clients = Client::get()->sortBy('full_name'); // works!

Notice that the function name is different – it’s not orderBy, it’s sortBy.

;