Skip to content

Instantly share code, notes, and snippets.

Franco Rondini rondinif

Block or report user

Report or block rondinif

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
rondinif /
Last active Dec 16, 2015
package org.rondadev.samples;
* @author rondadev
public class StatelessCalculator {
public double add(double a, double b) {
return a + b;
rondinif /
Created Apr 29, 2013
package org.rondadev.samples;
* @author rondadev
public class StatefulCalculator {
private StatelessCalculator calculator;
double register = 0;
View sample_app.rb
# singleton-as-module loaded once, kept in memory
module App
module Global extend self
def calc
@calc ||=
root = File.dirname(__FILE__) # => "."
require File.join( root, 'sample_app' ) # => true
run Sample # sample_app.rb ..class Sample < Sinatra::Base
View Gemfile
source :rubygems
gem 'sinatra'
gem 'warbler'
View gist:5481142
rvm use --create jruby-1.6.7@jruby_sinatra
export JRUBY_OPTS=--1.9
View gist:5486638
rondinif / gist:6628904
Created Sep 19, 2013
Test code for the issue exposed in: (Not able to view ComboBox in Excel using JXL API)[]
View gist:6628904
* Test code for the issue exposed in:
* -jar jxl.jar
* [jxl 2.6.12 2009-10-26](
* javac 1.7.0_25
package org.rondakit.jxl.tester;
rondinif / gist:9058989
Created Feb 17, 2014
Debugging Mobile Chrome using Desktop Chrome via ADB port forwarding.
View gist:9058989
adb forward tcp:9222 localabstract:chrome_devtools_remote
rondinif / gist:9870604
Created Mar 30, 2014
Come ottenere il nome dell'ultimo file scaricato, come copiare l'ultimo file scaricato in file di lavoro temporaneo.
View gist:9870604
> ls -t ~/Downloads | head -1
> cp `ls -t ~/Downloads | head -1` workfile.csv
You can’t perform that action at this time.