Composable services with ASP.NET WebApi…sort of

A while ago I had blogged about Service Composition using ServiceStack and MEF. With ServiceStack no longer free, I figured I’d try the same thing using ASP.NET Web Api from Big Mike. The result was…not as good.
Continue reading “Composable services with ASP.NET WebApi…sort of”

Composable services with ASP.NET WebApi…sort of

Deploying a Scalatra App to Elastic Beanstalk via Codeship

I’ve recently started using Codeship – a cloud based Continuous Integration and Deployment environment – for a “Just for fun” project I needed to deploy to AWS, specifically to Elastic Beanstalk. At the time of this writing, there were no AWS plugins available on Codeship to make this deployment possible but, thanks to one of their Engineers (thanks you Florian), I was able to make it happen using the “Custom Script” option on Codeship, and the “ebs_deploy” tool by Brian Dilley.
Continue reading “Deploying a Scalatra App to Elastic Beanstalk via Codeship”

Deploying a Scalatra App to Elastic Beanstalk via Codeship

Git rpc failed with http code 411

Twice in the last 2 weeks I’ve faced an annoying size limit issue when pushing to an https Git repository.

Counting objects: 2935, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2570/2570), done.
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (2933/2933), 3.44 MiB | 955.00 KiB/s, done.
Total 2933 (delta 1205), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly

The fix is quite simple: open .git/config on your project’s root directory and add the [http] section below:

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = false
[remote "origin"]
url = https://iamnotyou@bitbucket.org/iamnotyou/le-large-projet.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[http]
postBuffer = 524288000

view raw
gistfile1.sh
hosted with ❤ by GitHub

Git rpc failed with http code 411