Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Copy the raw text from the get_moving_bookmarklet.min.js file. Open the Bookmark Manager in your web browser. Add a new bookmark and paste the minified javascript into the url field.
Go to the Fitbit website and log in. Once logged in, click your newly created bookmark and a table should show up at the top of the page. While the bookmarklet will work from any page on Fitbit's site, I've found that it looks best when launched from the Food Log page.
Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).
docker run -it --rm --privileged --pid=host justincormack/nsenter1
more info: https://github.com/justincormack/nsenter1
#!/bin/bash | |
# Super basic script outlining the steps to enable namespace support for Docker on | |
# el7-base systems (CentOS7, RHEL7, etc). | |
set -e | |
echo "Enabling user_namespace kernel option..." | |
grubby --args="user_namespace.enable=1" --update-kernel="$(grubby --default-kernel)" |