Skip to content

Instantly share code, notes, and snippets.

View bjornhol's full-sized avatar

Bjørn Harald Vognild-Olsen bjornhol

View GitHub Profile
@subeeshb
subeeshb / rm_node_modules.py
Created May 28, 2014 04:38
Python script to delete node_modules on windows
import os, shutil
folders = []
for path, dirs, files in os.walk("./node_modules"):
head, tail = os.path.split(path)
if tail == 'node_modules':
folders.append(path)
os.mkdir('./temp_node_modules')