This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import shutil | |
def rename(dir): | |
for subdir, dirs, files in os.walk(dir): | |
for file in files: | |
srcLocation = os.path.join(subdir, file) | |
destLocation = srcLocation.replace('.html', '.twig') | |
if not os.path.isfile(destLocation): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
cd ~/Library/Containers/com.docker.docker/Data/database | |
git reset --hard | |
mkdir -p ./com.docker.driver.amd64-linux/disk | |
touch ./com.docker.driver.amd64-linux/disk/full-sync-on-flush | |
touch ./com.docker.driver.amd64-linux/disk/on-flush |