google

Updated: CLI Tool - goris to v301

goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v3.0.1. Please check it out. https://github.com/tanaikech/goris v3.0.1 (May 2, 2022) About the option -w, a bug was resolved. By this, the URLs of the related Web site are returned. As the default, 10 URLs are returned. If you want to retrieve more, please use the option -n like -n 20.

Updated: CLI Tool - goris to v300

goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v3.0.0. Please check it out. https://github.com/tanaikech/goris v3.0.0 (February 23, 2022) The specification for running the reverse image search was changed at Google side. By this, this application was also changed.

Updated: CLI Tool - goris

goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v2.0.0. Please check it out. https://github.com/tanaikech/goris v2.0.0 (April 23, 2020) The specification for running the reverse image search was changed at Google side. By this, this application was also changed.

Updated: CLI Tool - goris

goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v1.1.0. Please check it out. https://github.com/tanaikech/goris When images are matched to a searched image, web pages with matching images are retrieved. These are web pages displayed on Google top page. When this is not used, images are retrieved. This was added as a boolean option. (This was added by a request.)

Updated: CLI Tool - goris

goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v1.0.1. Please check it out. https://github.com/tanaikech/goris When number of retrieved URLs is smaller than number of default output, an error had occurred. This was fixed.

Updated: CLI Tool - gogauth

gogauth is a CLI tool to easily retrieve access token for using APIs on Google. I thought that if the access token can easily retrieve, it may be useful for users who can use various convenience Google APIs. So I created this. Also this can be used for testing sample script like the demo. If this will be helpful for you, I’m glad. Today, it was updated to v2.0.1. Please check it out.

OCR using Google Drive API

This is a sample script for OCR using Google Drive API. A text file which converted by OCR can be retrieved by inputting an image file. In this sample, Python Quickstart is used. The detail information is https://developers.google.com/drive/v3/web/quickstart/python. Please read “Step 1: Turn on the Drive API” and “Step 2: Install the Google Client Library”. from __future__ import print_function import httplib2 import os import io from apiclient import discovery from oauth2client import client from oauth2client import tools from oauth2client.

Converting PDF to TXT

This is a sample script for converting a PDF file to a TXT file. 2 steps are required for this. Upload a PDF file as a Google Document Download a Google Document as a TXT file In this sample, Python Quickstart is used. The detail information is https://developers.google.com/drive/v3/web/quickstart/python. Please read “Step 1: Turn on the Drive API” and “Step 2: Install the Google Client Library”. from __future__ import print_function import httplib2 import os import io from apiclient import discovery from oauth2client import client from oauth2client import tools from oauth2client.

CLI Tool - goris

Overview This is a CLI tool to search for images with Google Reverse Image Search. Motivation Because I had wanted to search for images with an image URL and file on my terminal, I created this. This can download images from searched image URLs. The detail information and how to get this are https://github.

Updated: CLI Tool - gogauth

gogauth is a CLI tool to retrieve easily access token for using APIs on Google. Today, it was updated with big changes. Please check it out. https://github.com/tanaikech/gogauth

CLI Tool - gogauth

Released a CLI tool for easily retrieving accesstoken from Google OAuth2. The title is gogauth. When I have seen stackoverflow, I knew that it is difficult to retrieve accesstoken from Google OAuth2. So I made this. Features of this CLI tool are as follows. Retrieves easily accesstoken from Google OAuth2 for using Drive API. If you have PhantomeJS, this retrieves “code” from Google using it. So you don’t need to launch your browser for retrieving “code”.

File Upload and Download with File Convert For curl using Drive API

It is necessary to retrieve access token on Google. Scope is as follows. https://www.googleapis.com/auth/drive Other mimetypes can be seen here. Download and convert from Spreadsheet to Excel curl -X GET -sSL \ -H "Authorization: Bearer [Your access token]" \ -o "Excel file name" \ "https://www.googleapis.com/drive/v3/files/[File ID]/export?mimeType=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" Upload and convert from Excel to Spreadsheet curl -X POST -sSL \ -H "Authorization: Bearer [Your access token]" \ -F "metadata={ \ name : '[File name on Google Drive]', \ mimeType : 'application/vnd.

Improved Algorithms for Summation of Array Elements

Abstract I considered an efficient algorithm for summation of array elements. All elements in an array are string. When those elements are summed using scripts, a standard method is to add each element in order. If the script is run without any optimize, the process becomes gradually sluggish, because the total amount of active data during the summation process is proportional to the square of the number of array elements. This leads directly to the high process-cost.