Best "Command Line" Beginners Guide
It’s a short guide, but I think it covers everything a beginner needs to know.
It’s a short guide, but I think it covers everything a beginner needs to know.
This is a great article about the current state of workflow engines (and frameworks?): http://stackstorm.com/2015/04/10/the-return-of-workflows/
Taskflow looks especially interesting. The article is unfortunately missing Airbnb’s Airflow: https://github.com/airbnb/airflow
Edit 12/25/2020: I’d recommend using: https://postgresapp.com/
Ended up being surprisingly easy:
I’m finally switching to a Macbook Pro as my personal computer after a few months of using one at work. Local development on OSX is a lot easier and bug-free than on a Windows computer.
I started a gist with what I did for setup:
If you get this error message, you need to disable and uninstall your network adapter. Once you’ve done that, you can reinstall the driver to fix it.
Download error on https://pypi.python.org/simple/pip/: unknown url type:
https -- Some packages may not be found!
ImportError: cannot import name HTTPSHandler
I was trying to install pip in cygwin when this happened. Searches say openssl-devel needed to be installed, but it already was. Apparently python was compiled without ssl support.
My solution was to install cygwin-x86 instead of the 64x one.
If you see this error when you’re using apt-cyg, it means you need to update apt-cyg.
You need to run the following commands:
lynx -source raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin
By default Flask-Admin sends you to a separate page to create or edit a record. I added options to do it in a modal on top of the list instead.
class UserView(ModelView):
create_modal = True
edit_modal = True
Set those and the New and Edit buttons open the form in a popup, submit through the normal flow, and drop you back on the list. Edit came first (#919), then create (#925). Getting the create modal right meant fixing a few things: missing CSS/JS when a submit came back with validation errors, the Bootstrap 3 backdrop showing through, and translations for the modal header.
I also added a read-only details view and moved the modal markup into its own templates so the create, edit, and details modals could share it (#942), and wired the same modals into FileAdmin (#933).
The following can be used in cron or run with & at the end of the command:
I found this didn’t work: ahtik.com: removing detached Docker containers automatically
0 5 * * 1 docker run --rm --name=mycontainer ubuntu:13.10 /opt/bin/job
The above command is an example of how “docker run” would be used in crontab to run once every week at 5am.
--rm will delete the container once the job is finished running--name will name the container and prevent duplicate jobs from running