Thứ Tư, 14 tháng 10, 2020

How to Stop Google Calendar From Opening Maps in the Sidebar

How to Stop Google Calendar From Opening Maps in the Sidebar


How to Stop Google Calendar From Opening Maps in the Sidebar

Posted: 14 Oct 2020 07:10 AM PDT

The Google Calendar Google Maps sidebar.

Google Calendar integrates several other Google apps on the web. One is Google Maps, which is in the sidebar and opens when you select an address. If you don't like this feature, though, you can disable it.

If you click an address in an event, it will open a preview of the location in the right sidebar. To open the location on the Google Maps website, you click "Open in Maps." This is an extra step some people might want to avoid.

Thankfully, eliminating it is very simple. If you're unfamiliar with the Google Maps sidebar feature, here's how it works.

Head to the Google Calendar site in a web browser and find an event with a location.

An address in a Google Calendar event.

When you click the link, the sidebar opens with a Google Maps preview of the location. Click "Open in Maps" to see the location on the Google Maps website.

Click "Open in Maps."

To disable this, you simply need to hide the sidebar. Close anything that's open in the sidebar so you only see the app shortcuts.

A closed sidebar in Google Calendar.

Next, click the Arrow (>) at the bottom right to hide the sidebar.

Click the Arrow (>).

The sidebar will now be hidden. You'll only see a little tab with an arrow to expand the applet window.

sidebar tab

Now, whenever you click an address, it will take you directly to Google Maps.


See details

How to Use the seq Command on Linux

Posted: 14 Oct 2020 05:44 AM PDT

A terminal prompt on a Linux PC.
Fatmawati Achmad Zaenuri/Shutterstock

The Linux seq command generates lists of numbers in the blink of an eye. But how can this functionality be put to practical use? We'll show you how seq might come in handy for you.

The seq Command

At first glance, the Linux seq command appears to be something of an oddity. It allows you to generate sequences of numbers quickly and that's it! The keyword here, though, is "quickly." In a moment, you'll see just how fast this little command can run.

Regardless of how they're generated, though, how useful is a list of numbers? The seq command was added to the 8th edition of Unix in 1985. It's been there ever since, so it must do something worthwhile.

The philosophy of Unix is that it's full of little utilities that do one thing and do it well. One of the central tenets of this philosophy is to write programs that accept input from other programs. Of course, that also means these programs have to generate output that can be used as input by other programs.

The seq command comes into its own when it's used with other commands that make use of its output, either through pipes or command-line expansion.

Basic List Generation

If you launch seq with a single number as a command-line parameter, it counts from one to that number. It then prints the numbers in the terminal window, one number per line, as shown below:

seq 6

The "seq 6" command in a terminal window.

If you type two numbers on the command line, the first will be the start number and the second will be the end number, as shown below:

seq 4 10

seq 4 10 in a terminal window.

You can set a step size by including a third number. It sits between the start and end numbers. We type the following to ask seq to create a list of numbers that starts with six, ends at 48, and uses a step of six:

seq 6 6 48

seq 6 6 48 in a terminal window.

Counting Backward

We can also ask seq to create a list of numbers from highest to lowest. To do so, however, we must provide a step that's negative.

The following command produces a list that counts from 24 to 12 in steps of 6 because we type the step as a negative number:

seq 24 -6 12

seq 24 -6 12 in a terminal window.

Counting With Decimals

The start, end, and step numbers can also be decimals. If any of the numbers is a decimal, the others are also treated as decimals. The following command generates a list of numbers with a step of 0.2:

seq 1 0.2 2

seq 1 0.2 2 in a terminal window.

The Speed of seq

seq is blazingly fast—the only bottleneck is the time it takes you to type the command in the terminal window. To test its speed, let's ask for a list of 250,000 numbers.

We type the following, using the time command to see how long the process takes to complete:

time sqe 250000

time seq 250000 in a terminal window.

The results are displayed below the list. Even on our moderately powered test PC, seq is surprisingly fast.

Timing results for the seq 250000 command in a terminal window.

The entire list was created and written to the screen in about 1/3 of a second. If we redirect the list into a file, we can even avoid the overhead of typing in the terminal window.

To do so, we type the following:

time seq 250000 > numbers.txt

time seq 250000 > numbers.txt in a terminal window.

The time it takes to complete the list and create the file is now about 1/7 of a second.

Using a Separator

A new line character is the default character displayed between each number in a list. That's why they appear as a vertical list, with each number on its own line. If you need to, you can provide another separator.

For example, say you need to create a comma-delimited list, a list divided by colons, or any other punctuation mark or symbol. The delimiter is actually a string, so you can use more than one character.

We'll use the -s (separator) option. The following command will produce a comma-delimited list:

seq s, 6 6 36

This command will use a colon (:) as the separator:

seq -s: 6 6 36

This command tells seq to use two hyphens (-) as the separator:

seq -s-- 6 6 36

seq s, 6 6 36 in a terminal window.

Using Format Strings

The seq command also supports C language-style format strings. These allow you to format the output with much more control than just specifying a separator. To use a format string, you use the -f (format) option.

The following command tells seq to use zeroes to pad the output to two characters:

seq -f "%02g" 6

seq -f "%02g" 6 in a terminal window.

We can format the string with any text we like, and place the number anywhere in the string, as follows:

seq -f "Number %02g in a C-like format string" 6

seq -f "Number %02g in a C-like format string" 6 in a terminal window.

A Quick Way to Set Zero Padding

The quickest way to set zero padding is to use the -w (equal width) option. This tells seq to use zeroes to pad the numbers, so they're all the same width as the largest number.

The following command counts from 0 to 1,000 in steps of 100, and all numbers will be padded with zeroes:

seq -w 0 100 1000

seq -w 0 100 1000 in a terminal window.

The longest number takes four characters, so all narrower numbers are padded with zeroes to that width (even 0 is padded to four zeroes).

Piping seq Into bc

By setting the separator as a mathematical symbol and piping the list into the bc command, we can evaluate the numbers in that list.

The following command generates a list of numbers separated by asterisks (*), starting at one and ending with six:

seq -s* 6

If we feed that list into bc, it evaluates the list using the asterisks (*) as multiplication symbols:

seq -s* 6 | bc

We can do this with other symbols, as well. The command below uses a plus sign (+) to create a list in which all the numbers are added:

seq -s+ 5

We type the following to pipe that into bc and evaluate the list:

seq -s+ 5 | bc

seq -s* 6 in a terminal window.

Creating Files With seq

The touch command updates time and date stamps on files. If the file doesn't exist, touch creates it. We can use command-line expansion with touch and seq to create a collection of thematically-named, but differently numbered files.

We'll create a set of 10 files with the same base name and a different number (file-1.txt, file-2.txt, and so on). We type the following:

touch $(seq -f "file-%g.txt" 1 10)

Then, we type the following to check the files:

ls file*

touch $(seq -f "file-%g.txt" 1 10) in a terminal window.

Using seq in Bash Loops

We can use seq in Bash scripts to control loops with decimals.

Type the following text into an editor, and then save it as "loops.sh":

#!/bin/bash
  
    for val in $(seq 5 0.2 6.6); do
  
    echo "The value is now: $val"
  
  done

Next, we type the following to make our new script executable:

chmod +x loop.sh

chmod +x loop.sh in a terminal window.

When we run the script, the loop counter is printed in the terminal window. We can then type the following to see the decimal loop counter increase with each iteration of the loop:

./loop.sh

./loop.sh in a terminal window.

Remember that seq can count backwards, too; you can use that in loops in the same way.

Nice and Simple

One thing about seq is there's not much of a learning curve. It has a refreshingly short man page, but you can still use it in interesting ways.

Because we often need to quickly create test files with realistic sizes, we use seq with a format string. We then redirect the output to create a file containing as many lines of dummy data as we want.

See details

How to Download Pixel 5 Wallpapers On Any Android

Posted: 13 Oct 2020 10:49 PM PDT

Earlier this month, Google launched two new flagship smartphones – Pixel 5 and Pixel 4a 5G. Out of these two, it was the Pixel 5 that is receiving love from all parts of the world. As expected, Pixel 5 comes with some great specs and price.

Along with the specs, the new smartphone also offers a set of wallpapers. What's more interesting is that Google has released two new categories of wallpapers in Google's Wallpaper app for Pixel devices.

Download Pixel 5 Wallpapers on any Android

So, if you are interested in trying out the new wallpapers of Google Pixel 5, then you are reading the right article. In this article, we are going to share the best method to get Pixel 5 wallpapers on any smartphone.

1. Using WalP

Well, WalP is an Android app that extracts and lists all stock wallpapers of different phones. As of now, WalP has over 30+ brands stock wallpapers. You can use the WalP Android app to download the Pixel 5 wallpapers.

Step 1. First of all, download & install WalP on your Android smartphone from the Play Store.

download & install WalP

Step 2. Once installed, open the app and grant the permissions.

open the app and grant the permissions

Step 3. Now tap on the 'Home' button as shown in the screenshot below.

tap on the 'Home' button

Step 4. Now scroll down and find 'Google'. Next, tap on the 'Models' button.

tap on the 'Models' button

Step 5. On the next page, tap on the 'Google Pixel 5'

Step 6. Now you will see all available wallpapers of Pixel 5 smartphone.

Pixel 5 Wallpapers

Step 7. To download the wallpaper, tap on the 'Save' button.

tap on the 'Save' button to download the wallpaper

Step 8. If you want to set the wallpaper on the home screen, tap on the 'Set' button.

Tap on the 'Set' button to use the wallpaper

Step 9. On the next popup, select whether you want to set the wallpaper on Home Screen, Lock Screen, or Both.

2. Download Pixel exclusive wallpapers

As we have already mentioned above, along with the stock Pixel 5 wallpapers, Google also introduced two new categories of wallpapers in the Wallpapers by Google App. However, the exclusive wallpapers were only available for Pixel devices.

If you want to download the newly released Pixel exclusive wallpapers, then you need to check out this post from XDA developers.

Google Pixel 5 Specification

Compared to previous Pixel phones, Pixel 5 arrives with a fresh new design, with a punch-hole camera up front for selfies. On the front, there's a 6-inch display with a 90hz refresh rate. If we talk about the hardware specifications, the Pixel 5 smartphone is powered by a powerful Snapdragon 765G Processor.

Other than that, you get 8GB of RAM and 128GB of onboard storage. If we talk about the battery, the phone supports 18W of fast charging to fill up a 4,080mAh battery.

If we talk about the camera specification, Pixel 5 offers a 12.2 MP primary camera with EIS and OIS. Along with that, it also provides a 16 MP ultra-wide lens. On the front, there's an 8MP selfie shooter with Night shot capabilities.

So, that's all from us for today. You can easily download Pixel 5 wallpapers on any Android by following the method that we have shared. I hope this article helped you! Please share it with your friends also.

See details

How to Edit a Received Email in Microsoft Outlook

Posted: 13 Oct 2020 10:19 AM PDT

Microsoft Outlook logo

The subject and body of a received email are at the whim of the sender, but you can change the subject line to something better or add notes to the body quickly and easily using Microsoft Outlook.

Have you ever forwarded an email to yourself or created a new task instead of marking an email for Followup just so you could add notes to it? Maybe you've dragged an email into OneNote or Evernote so you can write a little context around it? Or perhaps you've just quietly cursed the sender for not adding a useful subject line or not adding a subject at all.

One way or another, received emails would sometimes be more useful if you could edit the subject or add notes to them. But there's no need for a clunky process or third-party software because, in Microsoft Outlook, you can edit a received email.

How to Edit the Subject Line of an Email

To edit the subject line of an email, open the email in Microsoft Outlook by double-clicking it. From there, place the cursor on the subject line and start typing.

An unedited subject line.

When you're finished, click the "Save" button and close the email.

An edited subject line and the "Save" button.

That's it—no settings to change, no buttons to click, no menus to navigate. Simply open the email and type in the subject line.

How to Edit the Body of an Email

Editing the body of an email in Microsoft Outlook is almost as simple as editing the subject line.

Open the email by double-clicking it, then select Actions > Edit Message on the ribbon.

The "Actions" option and "Edit Message" menu option.

Now place your cursor in the body of the email and add text or edit the existing text. When you've finished, click the "Save" button and close the email.

The edited body of an email and the "Save" button.

That's all there is to it. You can edit any email in Microsoft Outlook, no matter who sent it or what folder it's in.


See details

Related Posts:

0 nhận xét:

Đăng nhận xét