Skip to content

Instantly share code, notes, and snippets.

@szigetics
szigetics / convert-p12-pem-formats.bash
Created September 23, 2022 13:41 — forked from Integralist/convert-p12-pem-formats.bash
Convert a P12 into a PEM and vice versa
# Convert p12 to pem
openssl pkcs12 -in certificate.p12 -out certificate.pem -clcerts -nodes
# Convert pem to p12
openssl pkcs12 -export -in certificate.pem -out certificate.p12 -passout pass:password
@szigetics
szigetics / README.md
Created August 12, 2020 07:11 — 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

@szigetics
szigetics / Code-coverage.sh
Last active December 12, 2016 08:45 — forked from briancroom/code-coverage.sh
A pair of scripts to help with basic parsing of LLVM code-coverage output data (nowadays the generated file's name is Coverage.profdata), as produced by Xcode 8.1 . The `cov-exclusions.txt` file can be used to exclude files and globs from the output. The generated output can be used for Teamcity code coverage reporting.
SCHEME=$1
SOURCE_ROOT=$2
XCTESTRUN_ROOT=$3
DERIVED_DATA_ROOT=$4
###
SCRIPTDIR=`dirname "$BASH_SOURCE"`
ABSOLUTE_SOURCE_ROOT=$(pushd "$SOURCE_ROOT"; pwd; popd)