Skip to content

Instantly share code, notes, and snippets.

View JoeFerrucci's full-sized avatar

Joe Ferrucci JoeFerrucci

  • Instacart
  • San Francisco, CA
View GitHub Profile
@JoeFerrucci
JoeFerrucci / s3.sh
Created November 8, 2017 22:03 — forked from chrismdp/s3.sh
Uploading to S3 in 18 lines of Shell (used to upload builds for http://soltrader.net)
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine
# This is how I upload my new Sol Trader builds (http://soltrader.net)
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash
S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3
{
path=$1
@JoeFerrucci
JoeFerrucci / google_drive_create_file_example.go
Created October 30, 2017 21:43 — forked from atotto/google_drive_create_file_example.go
google drive example (v3 create file)
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
@JoeFerrucci
JoeFerrucci / apns
Created December 9, 2016 02:51 — forked from fahied/apns
How to create APNS Certificates and merge into one PEM
Step 1: Create Certificate .pem from Certificate .p12
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
Step 2: Create Key .pem from Key .p12
Command : openssl pkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-key.p12
Step 3: Optional (If you want to remove pass phrase asked in second step)
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem
Step 4: Now we have to merge the Key .pem and Certificate .pem to get Development .pem needed for Push Notifications in Development Phase of App
@JoeFerrucci
JoeFerrucci / introrx.md
Created October 3, 2016 15:27 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing

Videos

@JoeFerrucci
JoeFerrucci / protocols.md
Created May 14, 2016 07:00 — forked from rbobbins/protocols.md
Notes from "Protocol-Oriented Programming in Swift"

PS: If you liked this talk or like this concept, let's chat about iOS development at Stitch Fix! #shamelessplug

Protocol-Oriented Programming in Swift

Speaker: David Abrahams. (Tech lead for Swift standard library)

  • "Crusty" is an old-school programmer who doesn't trust IDE's, debuggers, programming fads. He's cynical, grumpy.

  • OOP has been around since the 1970's. It's not actually new.

  • Classes are Awesome

    • Encapsulation
    • Access control