Skip to content

Instantly share code, notes, and snippets.

View farito's full-sized avatar

Federico farito

  • MercadoLibre
  • San Luis
View GitHub Profile
@farito
farito / gist:5151973
Created March 13, 2013 13:21
Scripts para Stress Test Streaming Publications
/* ScriptApp.sh */
#!/bin/bash
END=100
C=1
while [[ $C -le $END ]]; do
./scriptAp.sh &
((C = C + 1))
echo
done
Introduction : http://prezi.com/qbmijedhoswo/unm/
BackEnd : https://docs.google.com/present/edit?id=0AZQTXLdoL8PzZGd6dDhkam1fMTR0bWRzeDJmbg&hl=en_US
Git and GitHub : https://docs.google.com/present/edit?id=0AV5t_KBriKDGZDdnNXdma18xMzBjNm10dDVmcQ&hl=en_US
Groovy and Grails : https://docs.google.com/present/edit?id=0AV5t_KBriKDGZDdnNXdma185NWdweHJ0Ynh4&hl=en_US
Front Optimization : https://docs.google.com/present/edit?id=0AV5t_KBriKDGZDdnNXdma18xNTRqdGs3Z2pneA&hl=en_US
@farito
farito / gist:1287254
Created October 14, 2011 14:23
Llamada a api
def getItemApi(String item){
RESTClient rest = new RESTClient()
Object resp = rest.get([uri: "http://ec2-67-202-25-72.compute-1.amazonaws.com:8080", path : '/items/MLA123456', contentType : JSON])
println resp.getStatus()
int size = resp.responseData.available();