Skip to content

Instantly share code, notes, and snippets.

@jostster
jostster / openssl-build-fips.sh
Last active September 20, 2019 01:49
Build openssl FIPS compliant module for iOS
#!/bin/bash
# This script downloads and builds the iOS, tvOS and Mac openSSL libraries with Bitcode enabled and FIPS compliant
# Credits:
# https://github.com/st3fan/ios-openssl
# https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh
# https://gist.github.com/foozmeat/5154962
# Peter Steinberger, PSPDFKit GmbH, @steipete.
# Felix Schwarz, IOSPIRIT GmbH, @felix_schwarz.
@jostster
jostster / send_email.py
Created April 29, 2016 00:56 — forked from thinrhino/send_email.py
Send mails using Mandrill API
from mandrill import Mandrill
import base64
mail_client = Mandrill('<api_key>')
frm_email = 'email@email.com'
frm_name = 'Given Name'
# Sending image as attachment
img_attachment = base64.b64encode(open('~/sample_image.jpg', 'rb').read())
@jostster
jostster / Responsive Checkout Progress Bar.markdown
Created August 10, 2015 20:31
Responsive Checkout Progress Bar