CoreyMS

Development, Design, DIY, and more

  • Contact
  • Portfolio
  • Development
    • Python
    • Git
    • Terminal
    • JavaScript
    • WordPress
  • Design
    • CSS
  • DIY
    • Woodworking
    • Home Improvement
  • Contributors
  • Support
  • Giveaway

Linux/Mac Terminal Tutorial: The Grep Command – Search Files and Directories for Patterns of Text

March 29, 2018 by Corey Schafer Leave a Comment

In this Linux/Mac terminal tutorial, we will be learning how to use the grep command. The grep command allows us to search files and directories for patterns of text. You can also pipe the output of one command into grep to get certain matches. It’s extremely useful once you learn the ins and outs. Let’s get started…

Filed Under: Development, Terminal Tagged With: Command Line, Computer Science, Linux, OS X, Programming, Terminal, Video

How to Run Linux/Bash on Windows 10 Using the Built-In Windows Subsystem for Linux

March 29, 2018 by Corey Schafer Leave a Comment

In this video, we will be learning how to run Linux on Windows using the new Windows Subsystem for Linux that comes with Windows 10. This is an excellent way to run Bash on a Windows machine. It allows you to use all of the Bash commands we are used to using on Linux within a Windows system. We will be showing how to enable and install Linux on Windows and also go over a quick overview to see how this works. Let’s get started…

Filed Under: Development, Terminal Tagged With: Bash, Command Line, Computer Science, Linux, Programming, Windows

Python Quick Tip: Hiding Passwords and Secret Keys in Environment Variables (Windows)

March 29, 2018 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to hide passwords and secret information within environment variables on Windows machines. Hard-coding secret information is a common mistake that beginners make when learning Python. Hiding this information within environment variables allows you to access your secret information within your code without anyone else being able to see these values from your source code. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Programming, Video, Windows

Python Quick Tip: Hiding Passwords and Secret Keys in Environment Variables (Mac & Linux)

March 29, 2018 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to hide passwords and secret information within environment variables on Mac and Linux machines. Hard-coding secret information is a common mistake that beginners make when learning Python. Hiding this information within environment variables allows you to access your secret information within your code without anyone else being able to see these values from your source code. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Linux, Mac, OS X, Programming, Video

Python Tutorial: Calculate Number of Days, Weeks, or Months to Reach Specific Goals

March 29, 2018 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be writing three different scripts to estimate how long it will take to reach certain goals. Our first script will calculate how many months it will take us to pay off a credit card. Our second script will calculate how many weeks it will take to lose a certain amount of weight. And our third script will estimate how long it will take to reach a certain number of subscribers. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Programming, Video

Python Tutorial: Context Managers – Efficiently Managing Resources

December 22, 2017 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to use context managers to properly manage resources. Context Managers are great for when we need to setup or teardown some resources during use. So these can be used for: open and closing files, opening and closing database connections, acquiring and releasing locks, and much much more. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, context manager, contextlib, Programming, Video

Channel Update: Look Back on the Year and Big Plans for 2018

December 18, 2017 by Corey Schafer 1 Comment

In this Channel Update, we will be looking back on 2017 and what we’ve done this year. We will also be looking forward to 2018 and discussing the future plans for this channel. This year was the best year for this channel yet and I can’t thank you all enough. I have plenty planned for the future and I look forward to putting out great tutorials next year!

Filed Under: General Tagged With: Channel Update, Computer Science, Programming, Video

Python Tutorial: Working with JSON Data using the json Module

December 6, 2017 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to work with JSON data. We will learn how to load JSON into Python objects from strings and how to convert Python objects into JSON strings. We will also see how to load JSON from a file and save those Python objects back to files. Let’s get started…

Filed Under: Development, Python Tagged With: API, Computer Science, JSON, Programming, Video

Python Tutorial: Web Scraping with BeautifulSoup and Requests

November 8, 2017 by Corey Schafer 2 Comments

In this Python Programming Tutorial, we will be learning how to scrape websites using the BeautifulSoup library. BeautifulSoup is an excellent tool for parsing HTML code and grabbing exactly the information you need. So whether you’re pulling down headlines from news sites, scores from sports websites, or prices from an online store… BeautifulSoup and Python will help you get this done quickly and easily. Let’s get started…

Filed Under: Development, Python Tagged With: beautifulsoup, Computer Science, parse html, Programming, requests, Video, web scraping

Python Tutorial: re Module – How to Write and Match Regular Expressions (Regex)

October 24, 2017 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to read, write, and match regular expressions with the re module. Regular expressions are extremely useful for matching common patterns of text such as email addresses, phone numbers, URLs, etc. Learning how to do this within Python will allow us to quickly parse files and text for the information we need. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Programming, re module, regex, regular expressions, Video

  • « Previous Page
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 17
  • Next Page »

Main Contributor

  • Andre Nevares

Top Contributors (17)

  • Andre Nevares
  • Cyril Hediger
  • Abhilash Rajan
  • Hien Nguyen
  • Alan Hawse – iotexpert.com
  • Just a Guy
  • Alex Canady
  • Sergey Trubin
  • Justin Presley
  • Sirake
  • chris
  • Jerome Massey
  • Robert Butler
  • Jonathan Llovet
  • David Myers
  • Karthik
  • Michael Zoitas

Thank You! If you would like to have your name listed as a contributor and support the website, you can do so through my Patreon Page. I am extremely grateful for any support.

Search CoreyMS.com

Subscribe to Future Posts

Recommended Books

Podcasts I Listen To

Tech Related:
Talk Python To Me
Shoptalk Show
Software Engineering Radio
HanselMinutes
CodePen Radio

Non-Tech Related:
Dan Carlin's Hardcore History
Bill Burr's Monday Morning Podcast
Waking Up with Sam Harris
StarTalk Radio
Talk Nerdy with Cara Santa Maria

© 2023 · CoreyMS · Corey Schafer