Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gjulianm on github.
  • I am gjulianm (https://keybase.io/gjulianm) on keybase.
  • I have a public key ASDDEBiC8Bx9XCZX1CrvmCO-5aQJYbyjv-tSTuV04mTODQo

To claim this, I am signing this object:

@gjulianm
gjulianm / autotester
Created April 7, 2015 18:38
Automatic JMX tester for SI2 assignments
#!/bin/bash
test_start=50
test_incr=50
test_end=800
jmx_file=P2-curvaProductividad.jmx
results_basedir=JMeters
jmeter_log=jmeter.out.log
throughput_log=throughput
rampup_time=10
@gjulianm
gjulianm / WP8PullToRefreshDetector.cs
Last active December 15, 2015 09:29
Some things weren't used. This needs a thorough review.
using Microsoft.Phone.Controls;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
namespace Ocell.Controls
@gjulianm
gjulianm / gist:1974155
Created March 4, 2012 17:57
Generic Config wrapper C# / WP7
public static class Config
{
private static readonly string SomeConfigElementKey = "MYKEY";
private static string _someConfigElement;
public string SomeConfigElement {
get {
return GenericGetFromConfig<string>(SomeConfigElementKey, ref _someConfigElement);
}
set {
@gjulianm
gjulianm / IsolatedStorageFileStreamExtension.cs
Created February 26, 2012 16:05
C# - IsolatedStorageFileStream Extension - WriteLines, ReadLines
// It will probably work in other streams.
public static class IsolatedFileStreamExtension
{
public static IEnumerable<string> ReadLines(this IsolatedStorageFileStream File)
{
char separator = char.MaxValue;
System.Text.UTF8Encoding encoding = new System.Text.UTF8Encoding();
List<string> Strings = new List<string>();