Skip to content

Productivity

Time tracking

Clockify

Clockify is a free time tracker that’s great for individual use. It works across web, desktop, and mobile platforms, and syncs seamlessly between devices.

Time tracking software used by millions. Clockify is a time tracker and timesheet app that lets you track work hours across projects. Unlimited users, free forever.

Avoiding distractions

Cold Turkey

Cold Turkey lets you block websites, applications, or lock your entire device for a set period. It's highly customizable and available on both Windows and macOS.

Other website blockers are easy to cheat. Cold Turkey Blocker makes it almost impossible to stop the block once you lock it.

Block anything from specific websites and applications to the entire internet with a few exceptions. Want to schedule breaks from your computer? You can do that too.

All of your settings and statistics are stored locally on your computer and everything you block is kept private. If you share your computer, an application password can be set for extra privacy.

Opal

Opal is a focus app that helps you stay on task by blocking distracting websites and apps. It is available on iOS, Android, and macOS.

Blocking on your computer

Websites

Cold Turkey can block individual websites on your computer.

Applications

Cold Turkey can block individual applications on your computer.

Directories

To temporarily restrict access to a directory, you can change its permissions:

  1. To remove write/read access to a directory and make it write-only/read-only:

    chmod -R a-w PATH/TO/DIRECTORY # remove write access for all users
    chmod -R a-r PATH/TO/DIRECTORY # remove read access for all users
    
    -R applies the command recursively to all files and subdirectories.

  2. To restore write/read access to a directory:

    chmod -R u+w PATH/TO/DIRECTORY # restore write access for yourself
    chmod -R u+r PATH/TO/DIRECTORY # restore read access for yourself
    

Git commits

To temporarily prevent yourself from committing changes in a Git repository:

  1. Create a file called pre-commit in .git/hooks:

    cd PATH/TO/REPO/.git/hooks
    touch pre-commit
    code pre-commit
    
  2. Put the following lines in pre-commit:

    #!/bin/sh
    echo "🚫 Commits are disabled for this repo"
    exit 1
    
  3. Make pre-commit executable:

    chmod +x pre-commit
    

Blocking on iOS

Applications

  • The easiest way to cut down on distractions is to hide certain apps from your home screen. You can still open them by searching.

  • Opal can block applications on your iOS device.