Share
How to Preview in InDesign

Share
What you’ll need
Interests
1 – Press “W” on your keyboard

2 – Change via the View menu

- Go to View in the top toolbar.
- Go to Screen Mode.
- Select either Preview or Normal.
How to Resize an Image in InDesign

Share

Share



Share
Share
There are many reasons you might want to copy Kubernetes secrets from one cluster to another. In recent months, I had to migrate to a new GKE cluster in order to get some new functionality. And in this particular project, some secrets are created by processes that are too complicated to recreate on the new cluster. The easiest solution was simply to copy the secrets over.

Secure Your Sensitive Data with Kubernetes Secrets
Learn how to create and use Kubernetes secrets
So in this guide, I’ll show you a few simple ways of copying secrets from one Kubernetes cluster to another.
For the purposes of this guide, I’ll refer to the two clusters are “source” and “destination”. We want to copy a secret from our “source” cluster to our “destination” cluster.
So first, ensure you’re authenticated with your source cluster.
kubectl config current-context
This should show the name of the context configured to access your source cluster.
Now export the secret, and store the secret config data in a file.
kubectl get secret my-secret-name --export -o yaml > my-secret-name.yaml
Now, you can import the secret into the new cluster. So go ahead and authenticate with the destination cluster, and simply apply the config file you just exported.
kubectl apply -f my-secret-name.yaml
Now confirm your secret was created properly.
kubectl get secret
This should show your newly created secret.
Now, a quick note on security. There are security risks associated with storing sensitive information on your file system (even if the file is deleted). In any case, you’ll want to delete the file that was used to temporarily store the secret data, and only use this method if you understand the risks and are happy to accept them.
The first two steps were broken out, but can be combined into a single command.
First you’ll need to get the context names for your two clusters. This command will help:
kubectl config get-contexts
Now you can run:
kubectl get secret my-secret-name --context source_context --export -o yaml | kubectl apply --context destination_context -f -
Hopefully you recognize some of the component parts of this script. We’re skipping the part where we export the config to a file, and instead piping the config into kubectl apply. Notice that we can set the context for each kubectl command, this allows us to send data from one cluster to another. Beautiful!
Kubernetes is compatible with Superset which can help visualize data between multiple sources. Visit our guide for steps on how to install Apache Superset on a GKE Kubernetes Cluster.
Kubernetes secrets are objects that store and manage sensitive data inside your Kubernetes cluster. One mistake developers often make is storing sensitive information like database passwords, API credentials, etc in a settings file in their codebase. This is very bad practice (hopefully for obvious reasons). Most developers know this, but still choose the option because it’s easy.
Share
Share
Your NETGEAR router login allows you to set up and secure your wireless network. This guide will show you how to log into your NETGEAR wireless router to perform common setup tasks.
You can do this using your phone, tablet, or computer.
Connect to your wireless network using WiFi or your wired network using an Ethernet or CAT5 cable.
Launch a web browser on your connected device: Google Chrome, Mozilla Firefox, Apple Safari, Microsoft Internet Explorer, Microsoft Edge, or any other browser.
Visit any URL from the list below:
After a few seconds, you should see the login page.
If the login screen doesn’t appear, try the next URL on the list. If that one doesn’t work, visit the NETGEAR router IP instead:
| 🛈 If your browser warns you that the connection is not secure, accept the alert and proceed to the router login screen. |
Once on the NETGEAR router login screen, enter the username and password you chose when you first set up your router. If you never set one, continue below.
Use the default login credentials below:
Username: admin
Password: password
If you forgot your NETGEAR password or username (and the default login info isn’t working), not to worry! You can easily reset your NETGEAR router to factory default.
| 🛈 If you’re using a NETGEAR ReadyNAS or fully managed switch, the default password is either “netgear1” or simply left blank. These cases are highly unlikely. |
You should now be logged into your the admin panel. Need help? Post below and I’ll do my best to help you out. Average response time: less than one day.
There are a few reasons you might want to update or reset your WiFi password: making your network more secure, and making your password easier to remember and type. Improved network security You can add an extra layer of security to your network by changing the WiFi password. As long as your new password is
Share
Share
Synology is one of the most popular creators of Network Attached Storage devices on the market today, and for great reason — they’re really good at what they do. They consistently make devices that stand the test of time and feature top-notch software that makes the process of running a home server as easy as eating a slice of pie.
Still, if this is your first time setting up a Synology NAS, you probably have a few questions, and the most pressing is probably “How do I log into the darned thing?”
Luckily, Synology has made it really easy to log in securely. You can either set up Synology QuickConnect, the absolute best method for securely signing in to your NAS dashboard, connect using the Internet Protocol (IP) address of your NAS, or follow this guide to log into your server via the Synology Assistant desktop app.

The Synology download center has everything you’ll need to manage your new NAS. Open the above link in a new tab or window and follow the steps in this guide to get yourself linked up.

You can search through the list or simply type in your NAS model.

In the Synology download center, select “Desktop” and download the Synology Assistant.


Once you’ve downloaded the right app for your device, open it and run search. The app should automatically start searching when you open it, however in some cases you’ll need to manually start the search. The most common reason why your Synology NAS fails to appear is the security settings on your Antivirus. Avast Antivirus is especially problematic. Just temporarily pause your antivirus while you run the search again.
| 🛈 Your NAS will need to be on and plugged into your local network for this step to work. |

Once your NAS has appeared in the list, you just need to click “Connect” and a new browser tab will automatically open, directing you to the Synology NAS dashboard!
Synology is one of the most popular creators of Network Attached Storage devices on the market today, and for great reason — they’re really good at what they do. They consistently make devices that stand the test of time and feature top-notch software that makes the process of running a home server as easy as
Share
Share
A Potion of Night Vision in Minecraft is a brewable item that gives players the Night Vision status effect when consumed. This effect allows you to see better in the dark, increasing the brightness level of your surroundings to 15. Essentially this makes everything appear to be at max light level. This works anywhere including underground and underwater locations.

If you want to explore caves or be able to see better at night, using a Potion of Night Vision is a great option. However, light sources like torches are far easier to make than any potion, so players are likely to use these in most situations.
On the other hand, if you don’t want to bring too many light sources or clutter your surroundings with them, the potion may be what you’re looking for. Mobs also don’t spawn naturally in well-lit places or blocks with light levels above 7. Thus, players may choose Night Vision over light sources so they can still farm mobs in certain areas.
In the end, using the potion comes down to personal preference and what players consider the more convenient option for them.
One more thing to note is that Night Vision does not affect mobs. It was made only to affect the players’ visibility. If hostile mobs somehow pass through a cloud of Night Vision, rest assured this won’t give them the ability to detect you faster. Most mobs don’t even need the enhancement to find their way to you, so we recommend using this potion and its variants only on yourself or other players.
To brew a Potion of Night Vision, gather the required ingredients and follow the recipe below:
1 Water Bottle
1 Nether Wart
1 Golden Carrot
Brewing Stand
Blaze Powder

To make a Water Bottle, craft a Glass Bottle by putting 3 Glass Blocks in a Crafting Table. Then, look for a water source and interact with it.
You can use up to 3 Water Bottles to make 3 potions, but this recipe only needs 1.

Golden Carrot is the base ingredient for the Potion of Night Vision. You can get one through crafting, looting chests, or trading with farmer villagers. To craft it, put 8 Gold Nuggets and 1 Carrot in a Crafting Table.

Next, you need Nether Wart and Blaze Rods. Both can be found in Nether Fortresses. Nether Warts are typically found growing on Soul Sand while Blaze Rods can be obtained by defeating Blazes.
Once you get some Blaze Rods, turn them into Blaze Powder using a Crafting Table to serve as fuel for the Brewing Stand.

With all the ingredients gathered, put the Blaze Powder, Water Bottle, and Nether Wart in the Brewing Stand.
It will take some time to finish brewing, but once it’s done, you’ll get an Awkward Potion.

Keep the Awkward Potion in the potion slot and put the Golden Carrot in the base ingredient slot.
Wait for it to finish brewing to get a Potion of Night Vision! Drinking this potion allows you to see better in the dark for 3 minutes.
You need to drink a Potion of Night Vision to use it.
For the Java and Education Editions, you drink the potion by equipping it and holding the right-click until the drinking action is finished.
Bedrock Edition uses the following controls:
Consuming the potion in any version leaves you with an empty Glass Bottle. Green particle effects will appear to show that the Night Vision status effect is active. You can check this by navigating to the inventory menu. Here, you can also see how long the effect will last.

To extend the duration of a Potion of Night Vision, place a Potion of Night Vision (03:00) in the potion slot and Redstone Dust in the base ingredient slot of a Brewing Stand. This will brew an extended Potion of Night Vision that lasts for 8 minutes.

| Result: Potion of Night Vision (08:00) |
The Potion of Night Vision has Splash and Lingering variants which can be made by using Gunpowder and Dragon’s Breath respectively. Follow the recipes below to find out how to make each variant.

To create a Splash Potion of Night Vision, add Gunpowder to a Potion of Night Vision (03:00) in the Brewing Stand. Once it finishes brewing, you’ll get a regular Splash Potion of Night Vision which you can throw at other players. Its effect lasts for 3 minutes in the Java Edition or 2 minutes and 15 seconds in the Bedrock Edition.
| 🛈 Obtain Gunpowder by killing Creepers, Ghasts, or Witches. Gunpowder can also be found in chests or bought from Wandering Traders. |
To extend the duration of a Splash Potion of Night Vision, add Redstone Dust to a regular Splash Potion of Night Vision (03:00/02:15). This Splash Potion will last for 8 minutes in the Java Edition and 6 minutes in the Bedrock Edition.
| 🛈 Alternatively, you can add Gunpowder to an extended Potion of Night Vision (08:00) to get a splash variant with an extended duration. |

Brew a Lingering Potion of Night Vision by adding Dragon’s Breath to a Splash Potion of Night Vision (03:00/02:15). The resulting cloud from a regular Lingering Potion of Night Vision lasts for 45 seconds when thrown at a block or an area.
| 🛈 Obtain Dragon’s Breath by using a Glass Bottle on the Ender Dragon’s breath attack or the purple particles it leaves behind. |
Extend the duration of a Lingering Potion of Night Vision by adding Redstone Dust to a Lingering Potion of Night Vision (00:45). The Lingering Potion will then last for 2 minutes.
| 🛈 You can also get the extended version of the Lingering Potion by adding Dragon’s Breath to an extended Splash Potion of Night Vision (08:00/06:00). |

Craft Arrows of Night Vision by placing 8 Arrows and a regular Lingering Potion of Night Vision (00:45) in a Crafting Table. Shoot your allies with an Arrow of Night Vision to give them Night Vision for 22 seconds.
If you want to extend the duration of the status effect, use 8 Arrows and a Lingering Potion of Night Vision (02:00) instead. This variant allows the Night Vision effect to last for a minute.
In Creative Mode, you can get a Potion of Night Vision and its variants by browsing the Creative Inventory Menu or typing their names in the search bar.

If your cheats are enabled, you can opt to use console commands. To do this, enter the following in the chat window:
/give @p potion{Potion:"minecraft:night_vision"} 1
Keep in mind that the above syntax can only be used in the Java Edition. In Bedrock Edition, the following syntax is used:
/give @p potion 1 5
If none of these syntaxes work for your version, you can visit the Minecraft Wiki where the /give command is tackled in more detail!

The best alternative to using a Potion of Night Vision is investing in light sources. A light source illuminates your surroundings permanently as long as it remains unbroken, whereas a Potion of Night Vision only does so for a limited time. If you want to light up certain areas that you already frequent, this may be a better option for you.
Torches and Campfires make for affordable lighting. Lanterns, Candles, and Glowstones may be slightly harder to acquire, but they are more accessible compared to the potion’s ingredients. Beacons are on the expensive end, but there are still many light sources to choose from if you want to save resources and permanently light up an area.
Another alternative is to eat a Suspicious Stew that gives you Night Vision. This recipe does not require a Potion of Night Vision, but it only lasts for a very short time. To make one, combine 1 Bowl, 1 Poppy, 1 Brown Mushroom, and 1 Red Mushroom in a Crafting Table. The Suspicious Stew (Night Vision) will give you Night Vision for 5 seconds when consumed. The duration is short but you can make multiple Suspicious Stews to reapply the effect if you prefer this method.

The longer you play Minecraft, the more you realize that early-game tools just won’t cut it. Exploring the enchantment feature of Minecraft can be exciting, but also intimidating. Rather than worry about researching enchantments, below are the best enchantments in Minecraft! To learn how to enchant items, check out this guide! In this guide, you’ll see
Share

Share






@outlook.com, @live.com, and @hotmail.com. If your work email address has a different extension on the end, you probably need to use the Other option.




Share
For a few years now, I’ve been using iTerm 2 and tmux. But only recently did I find out about a pretty important feature of iTerm: tmux integration. I found out because I was getting tired of tmux as a window manager and started looking for alternatives.
The tmux integration basically means that you use iTerm 2 as you normally would for window management, except it uses tmux on the backend for multiplexing.
tl;dr
tmux -CC
tmux -CC attach
You can download iTerm 2 from the website.
tmux must be installed on whichever machine you plan to use it.
On OS X:
brew install tmux
Debian/Ubuntu:
apt-get install tmux

Using iTerm 2, log into the machine you want to work with. This can be your local machine or a remote server over ssh. Start a new tmux session using the -CC option.
tmux -CC
You will see a message saying tmux mode started with a Command Menu.

With this setup iTerm is your window manager. So if you’re going to open new tabs, split panes, or open new windows you do so using all of the shortcuts you may be familiar with:
cmd + t: open a new tab cmd + n: open a new window cmd + d: split vertically cmd + shift + d: split horizontally
You can choose whether you want to do this using the same profile or not. If you choose to use the same profile, iTerm will use tmux to create virtual windows.

When you’re done working and you’re ready to detach you can simply close the tab or window. iTerm will ask you whether you want to detach tmux or kill the windows. Clicking Detach tmux Session will cleanly detach and allow you to re-attach in the future.
If you’ve got a tmux session already running and you want to attach, simply use:
tmux -CC attach
This guide will show you how to install SSHFS on various operating systems. 1 – On macOS Using brew, install FUSE. Now install SSHFS: 2 – On Ubuntu/Debian 3 – On Windows Find the desired version of win-sshfs from this page and download it.
Share
Share
This short guide will show you how to update or upgrade OctoPrint and OctoPi on your Raspberry Pi. Updating is important to keep your setup running smoothly. Updates generally include bug fixes, security patches, and new features.
This process is actually super easy and largely automated.
As with any update process, it’s recommended that you back up your Raspberry Pi just in case. Fortunately, we have a guide for that!

How to Back Up a Raspberry Pi SD Card in Windows
Create a Pi backup using Windows.

How to Back Up and Restore Your Raspberry Pi SD Card on Mac
Easily backup, restore, or clone your SD card!

Open the OctoPrint interface in your browser, as you normally would. If there’s an update available, a modal will appear automatically.

OctoPrint: Control Your 3D Printer Remotely with Raspberry Pi and OctoPi
Untether your printer!

Click Update now to begin the update process. Then, click Proceed to confirm.
| 🛈 Do not disconnect the Pi or close your web browser until the update process is complete. |

OctoPrint will prompt you when it’s time to reload your browser. If you run into any issues, simply restore your SD card backup using an application such as Etcher.
You’re all done!
Blender is one of the most popular open-source 3D creation suites today. It doesn’t cost a dime to use and everything you create is yours to own for good. The community is robust and the dev team still releases new updates on the regular. If you want to get the latest version, you may have
Share
Share
I have a pair of wireless bluetooth headphones that states the name of the device it’s connecting to — and with a long or unrecognizable name, this is quite annoying.
This short guide will teach you how to change your computer’s bluetooth name in MacOS and OS X.

Navigate to Apple Icon > System Preferences.

Click the Sharing icon.

In the Computer Name field, enter the new name you’d like to use. Your Mac’s Computer Name is also its bluetooth name, as well as its network sharing name. Change this to whatever you’d like you computer’s new bluetooth device name to be. The name is saved immediately after changing it — there is no save button. 🙂

You can also change the name of your bluetooth devices themselves (headphones, etc.) To do this. return to system preferences, click the Bluetooth icon, right click a device and select Rename.
Starting with MacOS Sierra and High Sierra, your Mac will no longer play a “pop” sound when you adjust your volume. If you prefer to have this sound when you adjust volume up and down (as I do), this guide will teach you how to reenable it. 1 – Open Sound System Preferences Navigate to System
Share
Share
Want to minimize an application by double-clicking its title bar? Here’s how to do it.

Navigate to System Preferences > Dock.

Select the checkbox next to “Double-click a window’s title bar to..” and select “minimize” as the option in its dropdown.
Did you know you can also minimize applications in macOS by double-clicking the menu bar? Check out our guide to see how it’s done.
Starting with MacOS Sierra and High Sierra, your Mac will no longer play a “pop” sound when you adjust your volume. If you prefer to have this sound when you adjust volume up and down (as I do), this guide will teach you how to reenable it. 1 – Open Sound System Preferences Navigate to System