Skip to content

Instantly share code, notes, and snippets.

View mattkasun's full-sized avatar

Matthew R Kasun mattkasun

View GitHub Profile
@mattkasun
mattkasun / cherry_pick.txt
Created February 22, 2018 14:09
Cherry Pick a commit
Let's say you want to apply some patches from someone else repository:
# Cloning our fork
$ git clone git clone git@github.com:ifad/rest-client.git
# Adding (as "endel") the repo from we want to cherry-pick
$ git remote add endel git://github.com/endel/rest-client.git
# Fetch their branches
$ git fetch endel
@mattkasun
mattkasun / soap_var.php
Created November 14, 2017 17:59
php soap example
<?php
ini_set("soap.wsdl_cache_enabled", FALSE);
class SOAPStruct {
function SOAPStruct($c)
{
$this->varFloat = $c;
}
}