Posts

How to Sort Google Sheets Automatically with Apps Script

Image
This Google Spreadsheet on Udemy courses has about 50 sheets, one for each programming language, and the sheets are sorted in random order so it is difficult to find a specific sheet. It will take a while to sort the worksheets manually but we can easily automate the process with Google Apps Script and easily navigate through large spreadsheets. Automate Sheet Sorting with Google Apps Script The following code snippet will automatically sort the worksheets in a Google Sheet alphanumerically. The script can arrange the sheets in either ascending or descending order based on the sheet names. To get started, go to Extensions > Apps Script to open the script editor. Then, copy and paste the following code: const sortGoogleSheets = ( ascending = true ) => { const options = { sensitivity : 'base' , ignorePunctuation : true , numeric : true , } ; const compareFn = ( sheet1 , sheet2 ) => { return ascending ? s...

Essential Mac Apps and Utilities - 2023 Edition

Image
Whether you’re new to using a Mac or an experienced Mac user looking to take your productivity to the next level, you’ll find something new and useful in our collection of the must-have Mac Apps of 2023. Most of these apps are free and cater to general Mac users, not just the geek crowd. The Best  Mac Apps & Utilities This collection of essential Mac Apps includes mostly lesser-known apps so the popular ones — like Evernote, 1Password, Dropbox, Skype, OneNote, or Google Drive — aren’t listed here. Also, all the apps here are compatible with Big Sur and Catalina, the current versions of macOS. Wherever possible, I have included the Mac App Store links because the store not only makes it easy for you to install apps on your Mac but, in the case of paid apps, you also have an option for requesting refunds . Let’s get started. Raycast - A powerful Spotlight replacement for your Mac that lets you quickly search and launch apps, search the web, and more. You can also create c...

Find Free Udemy Courses with Google Sheets and the Udemy API

Image
Whether you are looking to learn a programming language , enhance your Microsoft Excel skills, or acquire knowledge in Machine Learning, Udemy probably has a video course for you. Udemy courses are usually affordable, there are no subscription fee and you can learn at your own pace. Free Udemy Courses on Programming While most video tutorials on Udemy require payment, the website also offers some of their highly-rated courses for free. I’ve prepared a Google Sheet that lists all the free programming courses currently available on Udemy. The spreadsheet is updated automatically every few hours. You can also access the web version for easy browsing. ✨ You may use the search function of the browser (Ctrl + F) to find courses for a specific programming language or topic. The courses are sorted by popularity. There’s no secret sauce. Udemy has an developer API that provides access to all the course data available on the website, including user ratings, number of students who hav...

New MX Records for Using Gmail with Google Workspace

Image
Mail Exchange (MX) records, in simple English, tell the internet where to deliver your emails. These records enable email servers to know which mail servers are responsible for accepting incoming messages for a given domain. When you are using Gmail with your Google Workspace domain, Google provides you with a set of MX records in the format ASPMX.L.GOOGLE.COM and you need to add five such records to your domain. These MX records point incoming emails to Google’s mail servers, which then deliver the emails to your Gmail inbox. Priority Host / Mail Server 1 ASPMX.L.GOOGLE.COM 5 ALT1.ASPMX.L.GOOGLE.COM 5 ALT2.ASPMX.L.GOOGLE.COM 10 ALT3.ASPMX.L.GOOGLE.COM 10 ALT4.ASPMX.L.GOOGLE.COM These MX records specify the priority and destination of email messages. The priority numbers indicate the order in which the email servers should be tried. When a sender sends an email to your domain, their email server will look up your domain’s MX records to determine where ...

How to Use Conditional Logic in Google Documents

Image
Conditional content allows you to customize your Google Docs template and generate different versions of the same document based on the user’s answers. In this tutorial, I’ll show you how to use conditional content in Google Docs using Document Studio , a Google add-on that automates document creation. If you are new here, please follow this step-by-step guide on how to generate documents from data in Google Sheets and Google Forms responses. Conditionally Display Content Let’s say you are a recruiter who wants to use a Google Docs template to send out job offer letters to candidates. You want to include specific information in the offer letter based on the candidate’s job title and location. The conditional statements that we would like to include in the document template are: Your office is located in San Francisco. Your offer letter should include a paragraph offering relocation benefits only to candidates who are located outside SF. If the candidate is offered an Ass...

How to Make Phone Numbers Callable in Google Sheets and Docs

Image
This tutorial explains how to make phone numbers clickable within Google Sheets, Slides and Google Docs. When someone clicks on the phone number link in your spreadsheet or this document, it will open the dialer on their mobile phone and initiate dialing of the specified phone number. How to Insert Clickable Phone Numbers in Web Pages Let’s start with the basics. If you click an email link on a webpage, it opens your default mail program. Similarly, you can make phone numbers on your website “callable” meaning when someone clicks on the phone number link, it will automatically launch the dialer on their mobile phone with the phone number filled in. You can use the tel protocol to convert a plain text phone number on a web page into a clickable telephone link. For instance, if you click this link on a mobile phone, it will open the phone dialer prefilled with the specified number. There’s no need to copy-paste numbers. How to Type Phone Numbers in Google Sheets It is a b...

Useful NPM Tips and Tricks for Developers to Boost Productivity

Image
NPM, short for Node Package Manager, is a widely-used tool for managing JavaScript packages in a project. It allows developers to install and update packages, as well as manage dependencies and scripts. NPM comes bundled with Node.js, so if you have Node installed on your machine, you automatically have access to NPM as well. npm Commands You Should Know This is not a tutorial for learning npm, the official docs are a good place to get started, but a collection of tips and tricks that will help you do more with the npm utility. Whether you’re a seasoned developer or just starting out, these tips can help you be more efficient and productive in your work with npm. Instantly run packages without installing The NPM registry is a treasure trove for finding packages that do useful stuff and they aren’t just for programmers . For instance, the speed-test package shows the speed of your internet connection. The emoj package helps you search for emojis from the terminal. And the...