yogaasfen.blogg.se

Geek tools for windows
Geek tools for windows













  1. GEEK TOOLS FOR WINDOWS HOW TO
  2. GEEK TOOLS FOR WINDOWS INSTALL
  3. GEEK TOOLS FOR WINDOWS UPDATE
  4. GEEK TOOLS FOR WINDOWS UPGRADE
  5. GEEK TOOLS FOR WINDOWS DOWNLOAD

There are a number of Twitter clients that can deliver your Twitter feed to the command line. Twitter on the Command Line Rainbow Stream is a Python-based terminal app that delivers tweets to the command line.

GEEK TOOLS FOR WINDOWS UPDATE

It won’t give you an update to an ongoing game.

geek tools for windows

Keep in mind this script is set up to give you the results of the last completed game. Once you make the selection a few seconds later, you’ll get your game information in a terminal-friendly format. Once you do that, the script will ask for the name of the team you’re interested in, and then ask if you want to see a box score or line score. The ~/ means look in the home folder, and then look at the bin folder in home and open the script ballgame.py. This tells the terminal to use Python 3 to interpret the script. Now, all we have to do is run our Python script using the python command:

geek tools for windows

The “py” file extension denotes that this is a Python script. This downloads a script called ballgame.py from the repository.

GEEK TOOLS FOR WINDOWS DOWNLOAD

Now, we’ll download the script with “wget”, a command line downloading tool.

geek tools for windows

“Bin” is a common name for folders that contain scripts and executables (binaries) in a Linux environment, but you can name the directory whatever you want. The mkdir command literally means “make directory.” Then, change to that directory with cd bin (“cd” means change directory). The script is coming from my own GitHub repository (a repository is just a place to store code) where I have a bunch of scripts that can get information about the current baseball season.įirst, let’s make a new directory ( or folder) called “bin” with mkdir bin. Now, we can grab our baseball script that relies on the statsapi. Once that’s done carry out the following command:

GEEK TOOLS FOR WINDOWS INSTALL

Like APT, PIP3 is a package manager, but only for programs written in Python.įirst we need to install it with sudo apt install python3-pip -y. It’s called statsapi, a community-based Python background application that we’ll install using PIP3. The first thing you’ll need is a set of helper scripts that’s going to grab all the baseball data we want. You can double-check this by typing in python3 -version, which will tell you the version of Python 3 you’ve got in your system. If you’ve installed the latest version of Ubuntu for WSL then you’ve already got Python 3, which is what we need for this. Instead, I turn to a trusty Python script to get all the information I need. I constantly have my terminal open, and sometimes I don’t want to bother with Google for details about the latest Yankees game. Get MLB Scores in the Terminal You can use MLB-StatsAPI to get baseball game updates in the terminal.

GEEK TOOLS FOR WINDOWS HOW TO

bashrc file, check out our previous tutorial on how to customize (and colorize) your Bash prompt. You can do that by adding the command curl wttr.in to the top of your. In a few seconds, you should have a weather forecast for your location similar to what you see pictured above.Īnother neat trick is to set up your system so that every time you open the terminal it shows the latest weather forecast. Now let’s see the weather in our terminal with curl wttr.in. If it isn’t, run sudo apt install curl to get it. To get the weather, you need the terminal program curl, which should be installed in your system by default. If you want a preview of what this will look like you can also visit the website in a regular browser. This website reads your IP address to get your approximate location and then delivers the weather back to you in a terminal-friendly format. The easiest thing to do is to get a graphical overview of the current weather with a three-day forecast using a website called wttr.in. Get the Weather Wttr.in delivers weather to your terminal.

geek tools for windows

Now that our system is up to date, we’re ready to play around with some tools on the command line. The -y is called a “flag,” and in this case, it stands for “yes.” This is an optional command that lets us skip the annoying part where the system tells us how much storage space the new updates are going to take, and then asks if we want to continue.

GEEK TOOLS FOR WINDOWS UPGRADE

We’ve already covered sudo and apt, but the new bits tell the system to upgrade our packages using the information from the list we downloaded in the previous step. Without updating the list, your system wouldn’t have enough information to carry out the next step. This is the first step in updating new versions of programs installed in the system. A dependency is another program that your desired program needs to work.įinally, we have update, which is an option for APT that tells it to update the lists of packages from the repositories your system uses. APT is smart enough to not only install the program you want, but any dependencies it requires. A package is all the files that come together to work as a Linux program or utility. The next part, apt (Advanced Package Tool,) is the package manager Ubuntu uses to install programs and utilities.















Geek tools for windows