Coder Social home page Coder Social logo

Comments (3)

csadorf avatar csadorf commented on June 3, 2024

I've started developing a little script for my own environment that performs something akin to a factory reset. I plan on keeping the following snippet up-to-date as I develop it further:

#!/bin/bash

echo "Performing factory reset!"

set -e
set -u

# Remove the .local environment (w/ backup):
if [[ -d "~/.local" ]]; then
  mv "~/.local" "~/.local~backup_$(date --iso-8601)"
fi

# remove all temporary notebook files
rm -vf ~/apps/**/.*.ipynb

# I think we want to reset the Jupyter environment
rm -rfv .jupyter

echo "Done."

To be clear, this is by no means a comprehensive factory reset as of yet.

Furthermore, the actual implementation may be build around these commands, but should be released with proper CLI, documentation, and ideally as part of the home app or as a stand-alone app.

from aiidalab-docker-stack.

yakutovicha avatar yakutovicha commented on June 3, 2024

@csadorf should we close it? The feature has been added in #184.

from aiidalab-docker-stack.

csadorf avatar csadorf commented on June 3, 2024

@yakutovicha The feature added in #184 would not actually allow the function described here, so I'd recommend we close it with the merge of #186 .

from aiidalab-docker-stack.

Related Issues (20)

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.