Skip to content

Instantly share code, notes, and snippets.

@jozsefDevs
jozsefDevs / validation_curry.js
Created October 22, 2013 20:17
A simple way to implement a validation by JavaScript currying
var above = function(limit){
return function(value){
return value > limit;
};
};
var isAbove10 = above(10);
console.log(isAbove10(5)); // false
console.log(isAbove10(8)); // false
@richardszalay
richardszalay / TrustedSelfSignedCertificate.psm1
Created November 8, 2015 23:57
Powershell module for creating trusted self-signed certificates
#requires -Version 2.0
#region Exported Cmdlets
<#
.SYNOPSIS
Creates a self-signed certificate and copies it into the trusted store.
.DESCRIPTION
Creates a self-signed certificate and copies it into the trusted store.
@hiddevdploeg
hiddevdploeg / deeplink-health.swift
Created April 3, 2019 23:19
Deeplink to health app on iOS