Skip to content

Instantly share code, notes, and snippets.

View finalprototype's full-sized avatar

fp finalprototype

  • New York, NY
View GitHub Profile
@finalprototype
finalprototype / README.md
Created March 11, 2022 19:14 — 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

@finalprototype
finalprototype / curry.js
Created June 30, 2014 04:53
Expected argument length curry
function add (a, b) {
return a + b;
}
function multiply (a, b) {
return a * b;
}
function applyFn (fn) {
var parentArgs = Array.prototype.slice.call(arguments, 0);
function wrapper () {
var args = parentArgs.slice(1);