Skip to content

Instantly share code, notes, and snippets.

Valerio Ferrucci valfer

Block or report user

Report or block valfer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
valfer / sendPush.txt
Last active Aug 12, 2019
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.