Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

unmount

How to unmount drive in Google Colab and remount to another drive?

September 16, 2023 by Tarik

I have found the ‘Restart runtime…’ not to work, and changing permission too much of a hassle. Luckily, the drive module is equipped with just the function you need: from google.colab import drive drive.flush_and_unmount()

Categories google-colaboratory Tags drive, google-colaboratory, unmount Leave a comment

How to unmount, unrender or remove a component, from itself in a React/Redux/Typescript notification message

November 15, 2022 by Tarik

Just like that nice warning you got, you are trying to do something that is an Anti-Pattern in React. This is a no-no. React is intended to have an unmount happen from a parent to child relationship. Now if you want a child to unmount itself, you can simulate this with a state change in … Read more

Categories reactjs Tags reactjs, unmount Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa