Skip to content

Instantly share code, notes, and snippets.


Valerio Ferrucci valfer

View GitHub Profile
valfer / sendPush.txt
Last active Oct 12, 2020
Sending Push Notification with HTTP2 (and PHP) see entire post at:
View sendPush.txt
* @param $http2ch the curl connection
* @param $http2_server the Apple server url
* @param $apple_cert the path to the certificate
* @param $app_bundle_id the app bundle id
* @param $message the payload to send (JSON)
* @param $token the token of the device
* @return mixed the status code (see
valfer / CrashCompilerClass.swift
Created Oct 14, 2014
This class causes a compiler crash with signal 11, tested with XCode 6.0.1 (6A317) and XCode 6.1 (6A1046a)
View CrashCompilerClass.swift
// CrashCompilerClass.swift
// CompilerCrash
// Created by Valerio Ferrucci on 14/10/14.
// Copyright (c) 2014 Valerio Ferrucci. All rights reserved.
import Foundation
You can’t perform that action at this time.