Skip to content

Instantly share code, notes, and snippets.

Glen,
As already discussed on call previous regarding Fingerprint functionality I've outlined detailed information which cover implementation for different vendors and google.
Every vendor had it's own Fingerprint implementation before Android Marshmallow (6.0) was launched. Samsung was the first vendor which brought Fingerprint feature on their Android devices. They also provided SDK for 3rd Party Developer.
###Samsung SDK [(Pass)](http://developer.samsung.com/galaxy/pass)
Pass SDK allows us to use fingerprint recognition features in our application. With Pass SDK, we can provide reinforced security, by identifying whether the current user is the actual owner of the device.
All those Samsung device which has fingerprint sensor and Android version is lower then marshmallow uses Pass SDK. However Samsung S5, Note 5 uses Pass SDK as they did not follow the rules of Google's Marshmallow Compatibility Definition Document (CDD). Hence they can't use Google's Native Fingerprint API
@tharkana
tharkana / getset-js.sublime-snippet
Last active October 31, 2016 14:05 — forked from litzinger/getset-js.sublime-snippet
Creates getter and setter in Sublime for Javascript
<snippet>
<content><![CDATA[
/**
* Get ${1/(.*)/\u$1/g}
*
* @return ${3:[type]} $1
*/
$2.prototye.get${1/(.*)/\u$1/g} = function()
{
return this.${1:$SELECTION};
@tharkana
tharkana / OpenWithSublimeText3.bat
Created October 21, 2016 10:16
Open folders and files with Sublime Text 3 from windows explorer context menu (tested in Windows 7)
@echo off
SET AppKey=SublimeText3
SET AppTitle=Open with Sublime Text 3
SET AppPath=C:\Program Files\Sublime Text 3\sublime_text.exe
SET AppIcon=%AppPath%,0
rem add it for all file types
REG ADD "HKEY_CLASSES_ROOT\*\shell\%AppKey%" /ve /f /d "%AppTitle%"
REG ADD "HKEY_CLASSES_ROOT\*\shell\%AppKey%" /v "Icon" /f /d "%AppIcon%"
REG ADD "HKEY_CLASSES_ROOT\*\shell\%AppKey%\command" /ve /f /d "%AppPath% \"%%1\""
@tharkana
tharkana / express.js
Last active June 14, 2016 12:58
express app init
express myapp