Omar is looking for:
- A tool that generates a zip containing files in "new" that aren't in "old"
(that would effectively act like a "patch" that doesn't delete removed files).
Here's what butler does:
| #!/usr/bin/python | |
| ''' | |
| Copyright 2009, The Android Open Source Project | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
| # with a space, this doesn't work... | |
| $ ANSIBLE_ARGS='-t elasticsearch' vagrant provision | |
| ==> default: Running provisioner: ansible... | |
| ERROR: tag(s) not found in playbook: elasticsearch. possible values: apache,common,elasticsearch,java,passenger,postgresql,ruby | |
| Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again. | |
| # without the space, it now works... | |
| $ ANSIBLE_ARGS='-telasticsearch' vagrant provision |
Omar is looking for:
(that would effectively act like a "patch" that doesn't delete removed files).
Here's what butler does:
| Suppose we want to compute the frequency spectrum of an n-point sampled signal. That is, | |
| we want to compute the signal's discrete Fourier transform. Taking a cue from multi-rate | |
| signal processing, let's try a divide-and-conquer approach where we downsample the signal | |
| by 2:1 and recursively compute the spectrum of that. There are two possible downsamplings, | |
| corresponding to the even and odd phases. | |
| By the Nyquist sampling theorem, assuming the signal has no upper half-band frequencies, | |
| i.e. its top n/2 frequency bins are zero, the spectrum can be perfectly reconstructed | |
| from the spectrum of _either_ the even subsignal or the odd subsignal, without any aliasing. |
(NB: adapted from this Ask Ubuntu thread -- tested to work on Ubuntu 16.04 LTS through Ubuntu 22.04 LTS (Jammy).
Unlike using VMWare Tools to enable Linux guest capabilities, the open-vm-tools package doesn't auto-mount shared VMWare folders. This can be frustrating in various ways, but there's an easy fix.
Install open-vm-tools and run:
sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other