This file contains hidden or 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
1. see who the owner is w/ `ls -al` | |
2. use `chown <target-user-name>:<target-user-name> <target directory or file>` ie. `chown user:user dir/file` | |
-- use -R if needed (recursive) |
This file contains hidden or 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
source: https://maryrosecook.com/blog/post/freeing-disk-space-on-your-linux-server | |
1. ssh into box | |
2. sudo | |
3. get to root, run `du -h --max-depth=1` | |
4. follow the trail of the largest directories, removing what you don't need |
This file contains hidden or 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
http://www.codersatwork.com/ | |
https://twobithistory.org/ |
This file contains hidden or 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 | |
# heres the plan: | |
# - call strava w/ the max page size until we have all of our activities | |
# - as we come across a new id (not in the ".processed" file) we pull down its laps from strava | |
# - once we have the laps append them to the "data" file | |
# - append the completed id to the ".processed" file | |
touch data/strava/data | |
touch data/strava/.processed |