GithubHelp home page GithubHelp logo

devashree-shukla / osx-locker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anil-dewani/osx-locker

0.0 0.0 0.0 17 KB

Setup to lock your macbook until next day after your work for the day is over and done with

License: MIT License

Shell 50.59% Python 49.41%

osx-locker's Introduction

osx-locker

OSX Locker Demonstration

This utility changes password of your current osx user to a random word and notifies you of the new password automatically on the next working day. You will not have access to the newly set password until next working day arrives.

Usual server and client architecture is being used to code this utility.

Server Side: An Django web application which keeps a log of all your password changes and its verification status.

Client side: An bash shell script to fetch current password from server and set a new random word as password. Once password is changed, it locks you out of your macbook automatically.

A useful utility to bring about a good balance to your work and personal life. Use this utility to lock yourself from your work macbook until next working day so you can shift your focus to other valuable things instead of ruminating and fiddling into your work even after your work hours are over.

Steps to Create Dock Shorcut to execute shell script:

  • Open Shortcuts app on your macbook
  • Click the '+' sign on the top to create a new shortcut
  • Give your shorcut an intuitive name and select an icon
  • From right sidebar, select 'Run Shell Script'
  • Paste the script located at /scripts/lock.command in this repo
  • Select /bin/bash as your shell from dropdown
  • Run to test the execution, Allow permissions if prompted
  • Go back, right click on your shorcut and select 'Add to Dock'
  • Keep using it from your dock to lock your macbook everyday after work!
  • Focus on other aspects of your life apart from your work system

osx-locker's People

Contributors

anil-dewani avatar devashree-shukla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.