Skip to content

Instantly share code, notes, and snippets.

View glauberportella's full-sized avatar

Glauber Portella glauberportella

View GitHub Profile
@glauberportella
glauberportella / steps-ios-certificates.txt
Last active March 12, 2018 19:35
Generate iOS certificates from "not OS X" machines
It is a bit of a confusing process. This is a copy/paste from some old documentation.
Before going through these steps, you must have OpenSSL installed (https://www.openssl.org/related/binaries.html).
Using a command line window:
1. cd C:\OpenSSL-Win32\bin (or path to where you installed SSL)
2. openssl genrsa -out ios_distribution.key 2048
3. openssl req -new -key ios_distribution.key -out CertificateSigningRequest.certSigningRequest -subj /emailAddress=YOUEMAILADDRESS, CN=YOUR NAME, C=COUNTRYCODE
4. Go to https://developer.apple.com/ios/manage/certificates/team/distribute.action68 and sign in. Go to “certificates” under iOS.
@glauberportella
glauberportella / wordpress_youtube_responsive_filter.php
Last active April 5, 2016 14:57
Wordpress Filter - Youtube Video Resize to 16:9 using Bootstrap 3 Embed Responsive
<?php
//
// ADD TO YOUR THEME functions.php
// @author Glauber Portella <glauberportella@gmail.com>
//
/**
* Resize youtube videos
* Redim youtube videos URL that exists on content to be embed responsive using Bootstrap 3 embed responsive feature
* Needs theme with Bootstrap 3 support