I hereby claim:
- I am christopher-haueter on github.
- I am chrishaueter (https://keybase.io/chrishaueter) on keybase.
- I have a public key ASBOIwgr3IphQ9hwfrRxNiY3EigPoVZMZBuZn819JWp5OAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am chrishaum on github. | |
* I am chaueter (https://keybase.io/chaueter) on keybase. | |
* I have a public key ASDxTKkz3dwzm7AS-6mjwXM8663UpD6vJYH4hbDgGvMS9go | |
To claim this, I am signing this object: |
require 'base64' | |
require 'open-uri' | |
require 'net/http' | |
require 'net/https' | |
require 'json' | |
class OCR | |
attr_reader :api_key, :image_url | |
def self.scan(api_key:, image_url:) |
#!/bin/zsh | |
ROWS_PER_CSV=$1 | |
SOURCE_FILE=$2 | |
HEADER_ROW=`head -n 1 $SOURCE_FILE` | |
tail -n +2 $SOURCE_FILE | split -l $ROWS_PER_CSV - split_ | |
for file in split_* | |
do | |
echo $HEADER_ROW > tmp_file |