Skip to content

Instantly share code, notes, and snippets.

@marcostomazini
marcostomazini / AdbCommands
Created October 2, 2022 23:07 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@marcostomazini
marcostomazini / ocr.js
Last active August 29, 2015 14:15 — forked from joemccann/ocr.js
var ncr = require('nodecr')
, request = require('request')
, fs = require('fs')
, test_img = 'https://www.google.com/images/srpr/logo3w.png' // Change this to your image
// Create image name from end of URL.
// Note this will fail in loads of cases.
var imgName = test_img.split('/').pop()
// Process the image and read the text from it using Tesseract