Skip to content

Instantly share code, notes, and snippets.

View jamilservicos's full-sized avatar
👽
between lines and thoughts

Gervasio Junior jamilservicos

👽
between lines and thoughts
View GitHub Profile
@jamilservicos
jamilservicos / signature.js
Created December 14, 2020 12:12 — forked from leecade/signature.js
simple signature with node-crypto api
const crypto = require('crypto')
const sign = (value, secret) => {
return value + '.' + crypto
.createHmac('sha256', secret + '')
.update(value + '')
.digest('base64')
.replace(/\=+$/, '')
}
@jamilservicos
jamilservicos / README.md
Created October 10, 2020 04:37 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store