Dan Milne

Results 15 comments of Dan Milne

What would be the right way to do this? ``` shell mysql2sqlite mydump01.sql | sqlite3 test01.db ``` Then testing that - No error caused the process to fail - The...

Perfectly reasonable @dumblob. One nice reason for including SQLite in the chain is that when a new version comes out, you can confidently say it works as well as the...

So, here's a first crack at a Bash string matching version (running in test/). The output captured seems to eat the single quotes used in b'0' ``` bash #!/bin/bash output=$(...

And here's a working version that uses Sqlite. This one captures stderr into the output variable and redirects stdout to /dev/null so we don't get the normal output of "memory"...

Hi @vifreefly thanks for making this library. Would you consider adding some maintainers to this project to keep it moving along? It'd be nice to have it working on Ruby...

Ohhh - you actually have to pass in the value of the key, but not the comment like `--authorized_keys ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINabcde` Not: ``` --authorized_keys `cat ~/.ssh/id_ed25519.pub` ``` Maybe authorized_keys should...

Actually, it was a matter of quoting - this works: ```shell --authorized_keys "`cat ~/.ssh/id_ed25519.pub`" ``` or ```shell --authorized_keys "$(cat ~/.ssh/id_ed25519.pub)" ```

I worked around it like this: ```ruby remote_file "/home/app_user/.ssh/authorized_keys" do action :create end file "/home/app_user/.ssh/authorized_keys" do owner 'app_user' end ```

Perceptual hashes might be what you're after : http://phash.org

I also have a branch which removes `open_uri_redirections` - I can merge that into this change too if you like?