Home Interests Minecraft

How To Install OptiFine in Minecraft

howchoo
howchoo   (467)
August 11, 2023
8 minutes

Share

Interests
Posted in these interests:
READY PLAYER 1
gaming • 85 guides
Minecraft is an epic sandbox video game developed by Swedish game developer Mojang Studios.
minecraft • 66 guides

Have you ever wanted Minecraft trees to look less blocky, but don’t want to install multiple mods to do so? What about seeing the water animated and clear? Both are possible, courtesy of a mod called OptiFine! This optimization mod allows Minecraft to run faster and look better with full support for HD textures, and paired with shaders, can change how your Minecraft world feels.

Not only does OptiFine add leaf texture to trees, it also adds swaying movement to foliage and lanterns. Plus, it turns grass blocks dynamic, so you no longer need to see excessive dirt on the side of mountains due to the limitations of the vanilla grass block. Even a non-modded Minecraft world can use OptiFine! This guide will go through the steps and to installing OptiFine with the Minecraft launcher.

1 – Download OptiFine

To install OptiFine, you’ll need to download the OptiFine JAR file from their website. Make sure to choose the latest version of Optifine that matches your game version.

  1. Click the Download button to the right of the OptiFine version you want.
  2. On the next page, you may need to wait for the Skip Ad button to appear after five seconds.
  1. Click the Download OptiFine link in the middle of the next page.
  2. We recommend saving OptiFine somewhere you can find it later.
  3. Depending on your browser, you may need to click Keep or Allow if a warning pops up stating that OptiFine might be dangerous. Which, as long as you’re downloading from OptiFine’s official website, it’s not.

2 – Find your Minecraft file path

Before moving into the actual installation of OptiFine, it’s important to know where your Minecraft game is installed. To do so, follow these steps:

1. Open the Minecraft Launcher.
2. Make sure the launch option is the game version you plan on using with OptiFine.
3. Go to the Installations tab at the top of the window.
4. Hover your mouse over the game version you want to find and click the folder icon to the right of the Play button. See the image below for help.

5. The file path that opens in a new window is where you’ll install OptiFine in the next step!
6. Once finished, close the Minecraft Launcher.

3 – Install OptiFine

Return to where you downloaded OptiFine onto your computer. Double-click to run the OptiFine setup file.

  1. In the window that pops up, click the ... button and go to the file path you found in the previous step.
  2. Click Install on the OptiFine Installer window.
  3. A new window will pop-up to confirm OptiFine has been installed. Click the Okay button to close the installer.

If you can’t open OptiFine to install it, then you’ll need to download Java SE Development Kit 16. On this page, choose the installer for your operating system.

4 – Finish setting up the Minecraft Launcher

It’s time to make sure everything is working properly and configure the Minecraft Launcher with OptiFine.

  1. Reopen the Minecraft Launcher.
  2. Click the drop-down menu for Launcher Options at the bottom left of the window, as shown in the image above.
  3. Choose OptiFine.

You’re now ready to begin playing Minecraft! Click Play and enjoy an upgraded version of Minecraft!

If you’re interested in adding more customization to your game, follow our guide on how to install shader packs to your Minecraft game as well!

NEXT UP

Top 10 Enchantments in Minecraft

howchoo   (467)
March 25, 2024

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

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Home Interests RetroPie

RetroPie: Build Your Own Raspberry Pi Retro Gaming Rig

build your own raspberry pi retro gaming rig
How to install (and use) RetroPie!
howchoo   (467)
August 11, 2023
32 minutes

Share

You’ll Need 9

What you’ll need
Interests
Series
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.
Posted in these interests:
pi • 92 guides
retrogaming • 29 guides
retropie • 17 guides

For around 50 bucks, you can build your very own vintage gaming rig that will hook up to any HDMI-enabled TV or monitor. This guide will show you everything you need to do to get playing.

For this build, we’re going to use RetroPie, an awesome software package that handles all your emulation needs.

What is RetroPie?

RetroPie is a software library used to emulate retro video games on the Raspberry Pi computer. It’s one of the most popular Raspberry Pi projects out there and the most popular emulation system for the Raspberry Pi. RetroPie features a user-friendly interface and an even friendlier setup process.

RetroPie runs Emulation Station and supports all major retro video game emulators, allowing you to play games from the NES, SNES, Genesis, Atari, and more on your Pi, thus becoming your own Raspberry Pi emulator. I always wondered why the developers called it RetroPie instead of RetroPi… but I digress.

Which Raspberry Pi should I use for RetroPie?

Any Raspberry Pi model can run RetroPie, but I recommend using the Raspberry Pi 4 since its more powerful GPU, CPU, and RAM capabilities will maximize the range of games you can play. I recommend the 2GB version of the Raspberry Pi 4; RAM doesn’t matter too much beyond a certain point for emulating retro games. In other words, at a certain point, the limitation is on CPU and GPU, not RAM.

1 – Place your Raspberry Pi into its case

putting a raspberry pi into its case
This photo is not of the FLIRC case, but a clear case.

The Raspberry Pi ships by itself, without a case. I recommend you buy a case to avoid damaging your Pi. Using a screwdriver, place your Raspberry Pi into its case. Some cases do not require the use of a screwdriver — however, I prefer cases that use screws to secure the Pi for extra stability.

If you’re using the Raspberry Pi 3 or 4, I recommend choosing a case with a built-in heatsink. I highly recommend this FLIRC case since it provides passive cooling for the Raspberry Pi 4. Basically, the entire case is a giant heatsink, keeping your Pi cool. There’s also a version for the Raspberry Pi 3.

If you don’t use a passive cooling case, you’ll want to pick up a case that comes with heatsinks. If you’re using a Raspberry Pi Zero, you can also use an NES cartridge as a case for your RetroPie gaming rig.

🛈 Your Pi may look different than mine! This photo shows a Raspberry Pi 3, though I’ve now updated this guide for the Pi 4.

2 – Download the RetroPie SD-card image

download the retropie sd card image

RetroPie is a software package for the Raspberry Pi that is based on the Raspberry Pi OS, a Linux distribution. It combines a full suite of tools and utilities that will allow you to quickly and easily run retro game ROMs for various vintage gaming emulators.

We’re going to perform our RetroPie setup using an SD card image — essentially a snapshot of an entire working installation of RetroPie rather than doing a manual RetroPie install.

Because the Raspberry Pi doesn’t have an internal hard drive, it uses a microSD card for storage of the entire operating system and all files contained therein.

To set up RetroPie, Download and unzip the latest RetroPie SD-Card Image. There are two versions of the RetroPie SD-Card Image:

  • One for the Raspberry Pi Zero, Zero W, A, B, A+ and B+
  • One for the Raspberry Pi 2 and Raspberry Pi 3
  • One for the Raspberry Pi 4

Select the appropriate image for your Pi.

🛈 The Raspberry Pi A and B use a full-sized SD card; the Raspberry Pi B+, 2 and 3, and Zero use a MicroUSB card. I recommend using a 32GB card at the minimum so that you have lots of space for game ROMs; however, a smaller SD card will also work. Note: the Raspberry Pi requires a minimum 4GB card to operate.

3 – Format your SD card to work with Raspberry Pi

format your sd card to work with raspberry pi

First, you’ll need to format the SD card as FAT. Insert the SD card into your SD card reader. Your SD card will now show up as a mounted drive on your computer.

Format Type

If your SD card is 32GB or smaller, we’ll format it as MS-DOS (FAT). If your SD card is 64GB or larger, we’ll format it as ExFAT.

Formatting on Windows

Open up Explorer, locate the SD card, right-click it, and select Format from the context menu. Select the desired format and click the Start button.

Formatting on Mac

Open Disk Utility by navigating to Applications > Utilities > Disk Utility. Select your SD card in the left pane. Click the Erase button, select the desired format, give it a name, and click the Erase button. For OS X Yosemite and older, you’ll need to navigate to the Erase tab first.

🛈 Reformatting your SD card destroys all the data on it.

4 – Install the RetroPie image

install retropie image

To install RetroPie, we’ll use a third-party utility called Etcher. Etcher works on both Windows and Mac.

Download and install Etcher, open it, and select your SD card drive and downloaded image to “flash” the image to your SD card.

5 – Put the SD card into your Raspberry Pi and connect your peripherals

connect your peripherals

Safely eject the SD card and slide it into your Raspberry Pi.

Next, connect your USB game controller and connect the HDMI cable to a monitor or TV. Finally, connect the MicroUSB power supply. Always connect the power supply after connecting your other peripherals so that your Pi will detect all of the peripherals properly on boot.

Your Pi will now boot!

🛈 If you have a USB keyboard, you can connect it now and use it for further configuration (more on this later).

6 – Connect your Pi to the Internet

connect your pi to internet

I recommend connecting your Pi to the Internet to more easily add game ROMs and access additional features such as game rating and description scraping. Also, connecting the Pi to your network will allow you to access it remotely via SSH to perform remaining configuration without needing a keyboard.

If you have a Raspberry Pi Zero W, 3, or 4, you have built-in Wi-Fi!

To connect, simply select the RetroPie menu icon and then select WIFI.

Then, connect to your Pi remotely via SSH by opening Terminal (Mac) or Command Prompt (Windows) and then running:

How to Connect to a Raspberry Pi Remotely via SSH
The preferred (and most common) method of connecting to your Pi to run commands.

ssh pi@retropie
# default password: raspberry

Note: If you’re using an older Pi or one without built-in Wi-Fi, you can still transfer ROMs via USB. But if you still want to add Internet functionality to one of these older Pis, simply connect an Ethernet cable or USB Wi-Fi dongle.

7- Expand your SD card to utilize all usable space

expanding pi sd card to utilize all usable space

If your SD card is larger than 4GB, you must expand it before your Pi can use the remaining space. To do this, you’ll need to launch the Raspberry Pi configuration tool (raspi-config).

You can use the Retropie interface to do this. On the main screen, select the RetroPie menu icon and then select RASPI-CONFIG.

Then, choose either Expand Filesystem or expand_rootfs from the menu (this option will vary based on your Raspberry Pi model). You now need to restart your Pi. You may have noticed there’s no reset button (unless you’ve added one).

8 – Connect to your Pi

We now need to connect to your Raspberry Pi from your computer so that we can copy over game ROMs and easily edit configuration files.

Again, this step is optional as you can also transfer ROMs via USB and accessing your configuration and other additional features isn’t strictly required.

There are numerous ways to do this; my favorite method is via SSH/SFTP using an FTP client. As far as free FTP clients go, I recommend FileZilla since it’s very well documented and supported and is available for both Mac and Windows.

Download FileZilla from their downloads page and install it. I recommend you uncheck all the “additional components” that FileZilla will ask you to install, such as the Yahoo search page and toolbar crap.

**Note: As of the latest version of Raspberry Pi OS, SSH is disabled by default for security purposes; you will need to enable SSH on your Pi before proceeding. Thankfully, this process is super easy and painless.

Use the following credentials to connect to your Pi. The default Pi username and password are pi and raspberry, respectively.

Host:  (see below)
Username: pi
Password: raspberry
Port: 22

For security purposes, I highly recommend you change the default Raspberry Pi password to something else. It only takes a minute.

To find your Pi’s IP, open Terminal (Mac) or Command Prompt (Windows) and enter the following command to ping your Pi and return its network IP:

ping retropie

or, for older versions of RetroPie, use:

ping raspberrypi

It may take a few tries to get a response. If you see a “Request timeout” response when you run the ping command, then the command has failed. If you have a USB keyboard handy, you can boot up your Pi, press F4 to get to the shell, and run the following command:

 ifconfig

This alternate method will list your Pi’s IP immediately after inet addr: under eth0.

9 – Configuring your controller

configuring your controller

You’ll now want to configure your USB gamepad to work with your Pi. I recommend the Buffalo Classic USB Gamepad since it’s inexpensive, highly compatible with the Pi, and comes in sweet Japanese packaging. You can find an Amazon link to that USB controller at the top of this guide.

You can use any type of USB controller — including a USB NES controller, though your games are more limited since it has fewer buttons than most newer games use.

Be sure to check out our guide to the best RetroPie controllers!

best controllers for retropie

The Best RetroPie Controllers – Top 10 (2023)
Don’t skimp on your RetroPie controller—get the best!

To configure your controller to work with the menu system and games, boot up your Pi. Your Pi will automatically launch the RetroPie UI where you will be prompted to configure the controller. If you mess up, don’t worry — you can access this configuration menu again later by pressing Start in the RetroPie UI.

🛈 Some games require additional in-game controller configuration. This can be done by going into a game’s menu system and mapping the controller there (though this isn’t necessary for most games).

10 – Finding game ROMs

game roms

A ROM is an entire port of a particular video game. RetroPie contains a copy of EmulationStation, which both provides the user interface for your new retro gaming rig and interprets these ROM files appropriately. RetroPie comes with a few games preinstalled — such as QuakeDuke Nukem 3D, and Cave Story. These games are best played using a keyboard, however, since the gamepad doesn’t have enough keys to map the controls for some PC-ported games. You can emulate just about any console using the built-in RetroPie emulators.

A Legal Note

Most retro games are owned by a company (yes, even the very old ones!) and are protected by copyright laws. Thus, unfortunately, downloading ROMs for those games constitutes piracy.

While you can find tons of RetroPie ROMs on any Torrent site, keep in mind that you should not download any copyrighted titles.

Free ROMs

Luckily, there are some free ROMs out there that we can use for now! MAMEdev.org has a nice list of these free, legal ROMs. We’ll use these as examples and you can find more ROMs on your own.

Our list of the best of the video games from the year you were born contains links to some old arcade ROMs.

Let’s use Gridlee and Super Tank as examples. Download each ROM.

11 – Installing game ROMs

installing roms via sftp

ROMs can be installed via SSH/SFTP (over your network) or by plugging a USB flash drive into your USB port. Additional methods for copying ROMs to RetroPie can be found on the RetroPie Wiki.

I wrote a separate guide on installing RetroPie ROMs using a USB drive. Or, if your Pi is connected to the internet, you can use the instructions below.

Reconnect FileZilla and browse to the following directory:

/home/pi/RetroPie/roms

Unzip each game ROM and upload each game folder into its respective game system folder. For example, if you had a Super Mario Bros 3 ROM, you would upload the game’s folder into the “nes” directory.

Gridlee and Super Tank go in the “mame” directory since MAME handles the arcade emulation for most vintage arcade-style games that don’t belong to a specific home video game system such as the NES, SNES or Atari.

After you’ve copied these directories over, restart your Pi.

12 – You’re ready to play!

ready to play

Your Pi will boot into RetroPie automatically. Bask in the glory of simple graphics, bolstered by highly addictive gameplay. Whether you’re playing on your couch or building a RetroPie arcade cabinet or bartop arcade, I hope this guide was helpful to you!

Looking for that perfect controller?

Want a great classic or contemporary controller to play those new RetroPie games? Check out our list of the best PC gaming controllers that will work with your new setup.

The 10 Best PC Gaming Controllers (2022)
Customize your PC gaming experience.

🛈 Cave Story is actually a pretty sweet game.

13 – Exiting an emulation (game)

To exit a game, press the START and SELECT buttons at the same time. This will bring you back to the RetroPie UI.

14 – Saving a game

Check out my other guide on saving games in RetroPie to learn how to save and load saved games!

How to Save and Load Saved Games in RetroPie
No more marathons. Unless you want to.

15 – Optional: Back up your Raspberry Pi’s SD card

Now that everything is configured and working splendidly, I recommend you back up your Raspberry Pi’s SD card image. This way, if you’re feeling adventurous and want to attempt some further Retropie customizations, you have a safe restore point.

I’ve written a short guide on how to back up your Raspberry Pi.

16 – Questions?

Post in the comments section below and I’ll be sure to help you out. Also, stay tuned for more guides on customizing your RetroPie installation.

Did you know you can play games on RetroPie with your friends? Check out our guide to learn how to set up multiplayer on RetroPie.

NEXT UP

How to Run a Minecraft Server on the Raspberry Pi

A whole world trapped inside your Pi.
howchoo   (467)
December 7, 2023

There are several ways to go about running a Minecraft server on the Raspberry Pi. In this guide, I’ll cover how to install Nukkit—a cross-platform Minecraft server that’s super easy to set up on the Raspberry Pi. This server should work with PCs, consoles, and tablets running Minecraft 1.14. I’ll be using a Raspberry Pi

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Home Interests Frontier

How to Log into a Frontier FiOS or Frontier Internet Router

howchoo
howchoo   (467)
August 11, 2023
5 minutes

Share

Interests
Series
Posted in these interests:
frontier • 2 guides
internet • 36 guides
router • 32 guides

Need to log into your Frontier FiOS or Frontier Internet router to change settings or apply updates? This guide will show you how to log into your router using the default IP address, username, and password.

1 – Connect to your Frontier network

Connect to your network using either a wired (LAN) or wireless (WiFi) connection.

2 – Open a browser and navigate to your router’s IP address

In your browser, navigate to http://192.168.1.1. This is the router gateway for your Frontier router.

A login screen should appear. If it doesn’t, then the IP address for your particular model might be different. If this is the case, look at the sticker on the back of the router to identify your model and use the corresponding IP address below:

Frontier Router ModelRouter IP
Actiontec F2250http://192.168.0.1
Actiontec GT784WNVhttp://192.168.1.1
Actiontec WR424 (E, F and I)http://192.168.1.1
Arris NVG443B, NVG448B, NVG448BQ, NVG468MQhttp://192.168.254.254
Arris NVG589http://192.168.1.254
D-Link DSL-2750Bhttp://192.168.1.1
Greenwave G1100http://192.168.1.1
Netgear D2200Dhttp://192.168.254.254
Netgear 7550http://192.168.254.254
Pace 4111N, 5031NV, 5168NVhttp://192.168.1.254

3 – Enter username and password

Use your Frontier router credentials to log in. For most routers, the default administrator password is located on a sticker on the side of your router:

Username: admin
Password: (your password)

For some routers, the username and password will vary. Find your model below to find your Frontier router login info:

Frontier Router ModelUsernamePassword
Actiontec F2250adminadmin
Actiontec GT784WNVadminpassword
Actiontec WR424 (E, F and I)adminpassword or password1
Arris NVG443B, NVG448B, NVG448BQ, NVG468MQ(prompted)(prompted)
Arris NVG589(prompted)(prompted)
D-Link DSL-2750Badmin(from sticker)
Greenwave G1100admin(from sticker)
Netgear D2200Dadminadmin
Netgear 7550(prompted)(prompted)
Pace 4111N, 5031NV, 5168NVadmin(from sticker)

You’re logged in!

4 – Changing your Frontier router password

Now that you’re logged in, you might as well change the default password to something more secure.

If the default password is in use and written on the router, anyone with access to your house can gain access to your router configuration, which is far worse than gaining access to the network itself!

To change the default administrator password, click Change Admin Password in the left navigation.

NEXT UP

How to Change Your Frontier WiFi Password

howchoo
howchoo   (467)
November 25, 2023

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

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Home Interests Xfinity

How to Change your Comcast Xfinity WiFi Password

howchoo (467)
August 11, 2023
5 minutes

Share

You’ll Need 1
What you’ll need
Interests
Series
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.
Posted in these interests:
comcast • 7 guides
router • 32 guides
xfinity • 2 guides
Routers provided by Internet Service Providers, like Xfinity, often come with really long and hard-to-remember WiFi passwords. You may want to change the password to make it easier for friends and family members to use your wireless connection. This guide will show you three ways to log in to a Comcast Xfinity router and change the WiFi password.

1 – Log in to your Xfinity router

If you’ve never logged in to your Xfinity router, simply follow my Xfinity router login guide. We’ll summarize it here for you.
Xfinity Router Login: How to Log in to a Comcast Xfinity Router
  1. Visit 10.0.0.1.
  2. As long as you haven’t changed the credentials, you can use the username admin and the password password to log in.
  3. Go to Gateway > Connection > WiFi.
  4. Press EDIT next to your wireless network.
  5. Edit your new password. (You can change the network name too, if you wish.)
  6. Click SAVE SETTINGS.
If you ever forget your password, simply reset your Comcast Xfinity router.
How to Reset a Comcast Xfinity Router or Modem Network troubles? Reset your gateway.

2 – With the Xfinity “My Account” app

📷 Xfinity
You can easily change your Xfinity WiFi password with the Xfinity “My Account” app.
  1. Make sure you have the Xfinity “My Account” app downloaded to your phone.
  2. Open the “My Account” app.
  3. Log in with your Xfinity username and password.
  4. Select Internet.
  5. Select Wireless Gateway.
  6. Click Change WiFi settings.
  7. Enter a new password.
  8. Click Save.
Visit this guide for help logging into your Xfinity account.

3 – With the Xfinity online website

📷 Xfinity
Finally, you can visit your account page at the Xfinity website to change your WiFi password.
  1. Head over to the Xfinity “My Account” page.
  2. Log in to your account with your Xfinity username and password.
  3. Click on Settings.
  4. Click Internet.
  5. Click WiFi Credentials.
  6. Select Edit on the right-hand side of the window.
  7. Enter your desired WiFi password (and network name, if you wish to change that too).
  8. Click Save.
After a few minutes, you should have a new updated Xfinity WiFi password! Make sure to log in again.
NEXT UP

How to Change Your Frontier WiFi Password

howchoo
howchoo (467)
November 25, 2023
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
Continue Reading

howchoo

 467 guides
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
Home Interests Ruby

How to Install a Specific Version of a Ruby Gem

howchoo
howchoo (467)
August 10, 2023
2 minutes

Share

Interests
Posted in these interests:
ruby • 1 guides
Installing gems is easy enough, but how do you install a specific version? Or a range of versions? In this guide, we’ll cover the basics of RubyGem’s gem install command.

Use `gem install -v`

You may already be familiar with gem install, but if you add the -v flag, you can specify the version of the gem to install. Using -v you can specify an exact version or use version comparators.

Install a specific version

gem install mypackage -v 1.0.0

Install a gem using version comparators

gem install mypackage -v '>= 1.0.0'

# or

gem install mypackage -v '~> 1.0.0'

howchoo

 467 guides
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
Home Interests Mac

How to Instantly Show and Hide the Dock on Mac

No more delay!
howchoo   (467)
August 10, 2023
2 minutes

Share

Interests
Posted in these interests:

Mac

mac • 24 guides

This guide shows you how to modify the dock such that it will hide or show the instant you roll over it, rather than the annoying default delay.

1 – Enable autohide

If you haven’t already, enable autohide. Navigate to System Preferences > Dock & Menu Bar and select the Automatically hide and show the Dock option.

2 – Open Terminal

Navigate to Applications > Utilities > Terminal.

3 – To make the dock hide and show instantly

Paste the following command and press enter:

defaults write com.apple.Dock autohide-delay -float 0.0001; killall Dock

Note: Prior to MacOS Mojave, you may need to use this command instead:

defaults write com.apple.Dock autohide-delay -float 0; killall Dock

4 – To undo this and restore normal dock behavior

Paste the following command and press enter:

defaults delete com.apple.Dock autohide-delay; killall Dock
NEXT UP

How to Enable the “Popping” Sound When Adjusting the Volume on Your Mac

howchoo
howchoo   (467)
December 13, 2023

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

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Home Interests Raspberry Pi

How to Power the Raspberry Pi Pico

Put some juice in your Pico project!
howchoo   (467)
August 10, 2023
8 minutes

Share

Interests
Posted in these interests:
pi • 92 guides
pico • 4 guides

The Raspberry Pi Pico is a little board with a lot of room for creativity. But like your brain, the Pico needs the right juice to work properly! Makers have a few options when it comes to supplying the Pico with power ranging from portable batteries to hard-wired setups.

What is the Pico?

The Raspberry Pi Pico is a $4 microcontroller board from the Raspberry Pi Foundation. It uses the new RP2040 chip and is the first official microcontroller from the Raspberry Pi team.

1 – Powering the Pico overview

The Raspberry Pi Pico can accept a range of voltages between 1.8V and 5.5V. This makes it incredibly versatile when it comes to incorporating the Pico into projects where power demand can easily vary between modules.

There are two power input options on the Pico: the micro USB port and the VSYS GPIO pin, labeled as number 39 on official documentation. Any use of the VSYS pin will require a ground for the battery’s negative line.

2 – Power the Pico from a computer with USB

Powering the Pico via USB on a computer is the easiest method. Most makers will have the hardware necessary to power the Pico this way. This connection is also required to program the Pico.

The biggest drawback to this method is that it requires constant tethering to the machine. This is generally a temporary method of powering the Pico.

3 – Power the Pico via AC using USB

If you have an AC to USB adapter, you can use the micro USB cable to power the Pico in a more permanent configuration. In this setup, the Pico accepts power from the micro USB port with a cable connected directly to a wall outlet.

This method is ideal when your project requires constant power and with no demand for portability. Make sure your cable and adapter won’t deliver more than 5.5V to the Pico.

4 – Power the Pico using a battery

If you want to take your Pico on the go, you can always incorporate a battery into the project design. The type of battery you choose to use can be as big as a power bank or as small as a couple of AA batteriess. How much you’ll need depends on how long you need the Pico to be powered for and how much current it draws with any connected peripherals.

Portable battery packs with USB output will work just fine with the micro USB port on the Pico. If you want to use the micro USB port for something else, you may want to use the GPIO to connect the battery. This will free up the micro USB port while supplying power to the board.

5 – Power the Pico via GPIO

Powering the Pico using GPIO is easy, but has to be done with caution. Make sure you aren’t working with hot wires and unplug any cables you plan to solder.

  1. Determine your power source – Determine what you will use to supply power to the Pico (battery, wall adapter, etc).
  2. Connect the positive and ground wires – If your Pico has male headers soldered into place, you will need to connect the positive and negative ground wires to the Pico. Pin 39 is the VSYS pin capable of accepting power. Pin 38 is an adjacent ground pin, but any ground pin will do. If you don’t have any headers, you can solder the power connecting wires into place.
  3. Test the connection – Double-check your wiring before implementing a test run. If everything looks good, connect your battery or plug your cable in.

If everything worked, your Raspberry Pi Pico should be full of power and ready to run!

NEXT UP

How to Run a Minecraft Server on the Raspberry Pi

A whole world trapped inside your Pi.
howchoo   (467)
December 7, 2023

There are several ways to go about running a Minecraft server on the Raspberry Pi. In this guide, I’ll cover how to install Nukkit—a cross-platform Minecraft server that’s super easy to set up on the Raspberry Pi. This server should work with PCs, consoles, and tablets running Minecraft 1.14. I’ll be using a Raspberry Pi

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Home Interests Slack

How to View a Full List of Existing Reminders in Slack

howchoo
howchoo   (467)
August 10, 2023
3 minutes

Share

You’ll Need 1

What you’ll need
Interests
Slack x 1
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.
Posted in these interests:
slack • 5 guides

I use Slack reminders a lot. Reminders are a great way to remind yourself of common tasks without involving your calendar program.

Sometimes, it’s useful to see a complete list of reminders you’ve already set. This short guide will show you how to view a full list of existing Slack reminders.

1 – Launch Slack

Open Slack and navigate to any channel or direct message.

2 – Enter the Slack remind list command

Enter the following command and press enter:

/remind list

The /remind list command will return a list of all current reminders as well as past and incomplete reminders.

3 – Slack reminder list actions

There are several other actions you can also perform from this view, including:

  • Snooze Slack reminders by 15 minutes, 1 hour, or 1 day (to snooze them for a different time interval, simply delete the reminder and create a new one)
  • Delete individual Slack reminders
  • Mark Slack reminders as complete

I also recommend you click Delete all past reminders to remove old, obsolete ones.

Next, learn how to set up recurring Slack reminders to remind yourself to perform some task at a regular interval! I use this as a weekly reminder to check Howchoo’s site traffic (and if I’m busy at the moment, I simply snooze the notification).

How to Set Up Recurring Reminders in Slack
Set up recurring Slack notifications in minutes (without an app).

NEXT UP

How to Set Up Recurring Reminders in Slack

howchoo
howchoo   (467)
September 14, 2023

This short guide will teach you how to set up recurring reminders in Slack, sending a notification to you or your team every week, month, 13th, or whatever interval you choose. 1 – Open the channel you’d like to post in Open the channel where you’d like the reminder to occur. You can post reminders

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Home Interests Raspberry Pi

How to Transfer Files to the Raspberry Pi

transfer files to raspberry pi
Find the best method for your project.
howchoo   (467)
August 10, 2023
8 minutes

Share

You’ll Need 1

What you’ll need
Interests
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.
Posted in these interests:
pi • 92 guides

Some Pi operating systems come with specific instructions for transferring files—like RetroPie. However, I’ll assume your Pi is running Raspberry Pi OS (formerly Raspbian). It’s the most common operating system for the Raspberry Pi. Make sure your Pi is up to date by visiting our guide on how to update your Pi to the latest version of Raspberry Pi OS.

How to Install Raspberry Pi OS on Your Raspberry Pi
Get the new official Raspberry Pi OS on your Pi.

You will need a network connection. Be sure to connect an ethernet cable or log into your WiFi network.

1 – Transfer files to the Raspberry Pi using SCP

transfer files to the raspberry pi using scp

The fastest way to copy files to your Raspberry Pi is with SCP, which stands for “secure copy”. This method might be difficult at first for newer users, but it eliminates the overhead of a GUI application and is both fast and secure.

Enable SSH

Because SCP is based on the SSH protocol, you’ll need to enable SSH on your Pi before you can use this method.

How to Enable SSH on Raspberry Pi OS Without a Screen
The SSH protocol is disabled by default.

Find your Pi’s IP

Next you’ll need to find the IP Address of your Raspberry Pi.

Copy files with the SCP command

The SCP command is constructed as follows:

scp [source files] [user]@[host]:[path]

Note: The path can be relative or absolute. If relative, the path is relative to the user’s home directory.

Here’s an example:

scp file1.txt file2.txt [email protected]:folder1/

This command will ask you for the password for the pi user, which by default is raspberry.

In this example file1.txt and file2.txt are transferred to folder1 in your home directory: /home/pi/folder1. You can also specify an absolute path, like this:

scp file1.txt file2.txt [email protected]:/code/

This will move the files to /code in the root directory of your Pi, assuming you have the correct permissions to access this directory.

2 – Transfer files to the Raspberry Pi using SFTP

raspberry pi sftp file transfer

SFTP is even easier to use than SCP. Once you establish an SFTP connection with your Pi, you can drag and drop files with the click of a button.

To log into the Raspberry Pi via SFTP, first grab the IP Address of your Raspberry Pi. Then open your SFTP client (see below), and use your IP address with the default credentials:

username: pi
password: raspberry

SFTP client for Windows 10

Windows users can use WinSCP for SFTP file transfers. This program is recommended by the Raspberry Pi Foundation.

SFTP client for macOS

Cyberduck is one of the best SFTP options for Mac users.

3 – Transfer files to the Raspberry Pi over Network using Samba

transfer files to raspberry pi using samba

Samba makes it easy to access the Pi via shared network devices. This can be easier to manage than logging into the Pi for every file transfer.

Raspberry Pi OS does not come with Samba by default. However, it’s very easy to set up. The Rasberry Pi Foundation provides detailed instructions on how to install and set up Samba.

With network sharing enabled, you can access the Raspberry Pi by clicking on it from your list of available network devices. This makes it easy to move files over in a pinch.

NEXT UP

How to Run a Minecraft Server on the Raspberry Pi

A whole world trapped inside your Pi.
howchoo   (467)
December 7, 2023

There are several ways to go about running a Minecraft server on the Raspberry Pi. In this guide, I’ll cover how to install Nukkit—a cross-platform Minecraft server that’s super easy to set up on the Raspberry Pi. This server should work with PCs, consoles, and tablets running Minecraft 1.14. I’ll be using a Raspberry Pi

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Home Interests Kubernetes

Use “kubectl cp” to Copy Files to and from Kubernetes Pods

howchoo
howchoo   (467)
August 10, 2023
7 minutes

Share

Interests
Posted in these interests:
kubernetes • 6 guides

If you’re using Kubernetes, you may find the need to move files to and from containers running on pods. Before the days of containerization, we would use a tool like SCP (secure copy protocol) to move files to and from remote machines. Fortunately, Kubernetes provides a similar tool.

In this guide, you’ll learn how to use kubectl cp to move files to and from Kubernetes pods.

1 – Basic usage

From the docs, here’s the basic usage:

kubectl cp  

The kubectl cp command takes two parameters. The first is the source; the second is the destination. As with scp, either parameter (source or destination files) can refer to a local or remote file.

Before we begin

We need to make sure our kubernetes client is authenticated with a cluster. There are many ways to authenticate, but authentication is outside the scope of this guide.

Second, we’ll need to identify the name of a pod (or pods) that we want to work with. We’ll need to use kubectl get pod to find the name of the pod(s), and we’ll use these names in the following sections.

Copy file from local machine to pod

Suppose we want to move a file from our local machine to a pod.

kubectl cp /path/to/file my-pod:/path/to/file

In the above example, we copied a local file /path/to/file to a pod named, my-pod. We’ve specified an identical path on the pod to copy the file. Notice that we used an absolute path in both cases. We can also use relative paths:

kubectl cp my-file my-pod:my-file

In this example, we’ve specified a relative path to a local file, and a relative path on the pod. One key difference between kubectl cp and a tool like scp is that with kubernetes, the file is copied relative to the working directory, not the home directory.

Copy file from a pod to a pod

Similarly, we can copy a file from one pod to another. The same rules for absolute and relative paths apply.

kubectl cp pod-1:my-file pod-2:my-file

Copy file from pod to your local machine

As you might have guessed, you simply swap the parameters from the first example.

kubectl cp my-pod:my-file my-file

This will copy my-file from the working directory of your pod to your current directory.

Copying directories

When using scp to copy directories, we’re accustomed to adding the -r (recursive) flag. With kubectl cp this is implied. You use the exact same syntax to copy directories is you would files.

kubectl cp my-dir my-pod:my-dir

Specifying a container

In some cases, you may be running multiple containers on a pod. In which case, you’ll need to specify the container. You can do so with -c, which is consistent with most other kubectl commands.

kubectl cp my-file my-pod:my-file -c my-container-name
NEXT UP

Secure Your Sensitive Data with Kubernetes Secrets

Learn how to create and use Kubernetes secrets.
howchoo   (467)
November 26, 2023

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.

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.