Francesc Ortiz

Results 30 comments of Francesc Ortiz

This is what I did: ``` python from rosetta.signals import post_save def restart_instance(*args, **kwargs): from subprocess import call call(["/home/username/init/django", "restartdelay"]) post_save.connect(restart_instance) ``` and the restarday option of the daemon waits...

So, there is no right way, just a solution for every case

Your questions are completely fair. The image processing works everywhere, but I never used the form widget outside of the admin form so I never took care of making it...

I added LocallyMirroredS3BotoStorage to the git repository. You can install it with pip install git+https://github.com/francescortiz/image.git I laso documented the `S3_MIRROR_ROOT` that is used by `image.storages.LocallyMirroredS3BotoStorage`. I haven't tested it for...

Yes, the S3 storage just is a huge performance upgrade. The ImageCenterWidget working only in the admin is in the workshop, but can be tested if you use an account...

This should work. ``` Placement = apps.get_model("core", "Placement") Placement._meta.get_field('image_center').image_field = model_class._meta.get_field('image') ``` I should provide some helper function. Adding it to the TODO

I don't know if it is related to arduino version, but with arduino 1.6.10 it fails build code with dependencies like SD.h: ``` /tmp/arduino-buildHEbaHL/sketch.cpp:21:16: fatal error: SD.h: No such file...

I have another workaround that might work for someone else. You add this to your `~/.zshrc` (or `~/.bashrc`): ```bash # asdf-vm . $HOME/.asdf/asdf.sh . $HOME/.asdf/completions/asdf.bash toAdd="$ASDF_DIR/shims:$ASDF_DIR/bin" toRemove="$toAdd:" export PATH=${PATH#$toRemove}:$toAdd export...

I second what @BenTheElder says. After months of struggling with unstable and slow port-forward, at my work we concluded that there is a general issue with kubectl port-forward. Our approach...