Skip to content

Instantly share code, notes, and snippets.

View opensc-configure-summary-1
OpenSC has been configured with the following options:
...
User binaries: /usr/local/bin
Configuration files: /usr/local/etc
XSL stylesheets: no
...
man support: no
doc support: no
thread locking support: yes
zlib support: no
View opensc-configure-1
# If you want support for OpenSSL (needed for pkcs15-init tool, software hashing in PKCS#11 library and verification):
# - download and build OpenSSL
# - uncomment the line starting with OPENSSL_DEF
# - set the OPENSSL_INCL_DIR below to your openssl include directory, preceded by "/I"
# - set the OPENSSL_LIB below to your openssl lib file
OPENSSL_DEF= /DENABLE_OPENSSL
!IF "$(OPENSSL_DEF)" == "/DENABLE_OPENSSL"
!IF "$(PLATFORM)" == "x86"
OPENSSL_DIR = C:\OpenSSL-Win32
!ELSE
View gist:0f90bf1e5305b84f28c9d358ddecd3c3
// color equalization fuuu
int colors = 16;
byte[] r = new byte[colors];
byte[] g = new byte[colors];
byte[] b = new byte[colors];
for (int i = 0; i < colors; i++) {
r[i] = (byte) (i*256/colors & 0xFF);
g[i] = (byte) (i*256/colors & 0xFF);
b[i] = (byte) (i*256/colors & 0xFF);
}