Skip to content

Instantly share code, notes, and snippets.

View roubachof's full-sized avatar
🏠
Working from home

Jean-Marie Alfonsi roubachof

🏠
Working from home
View GitHub Profile
@roubachof
roubachof / AutoSign.cs
Last active March 29, 2016 08:35
Signing dll from nuget packages
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace Autosign
{
public static class ProcessUtil
{
public static void Execute(string exePath, string arguments)
@roubachof
roubachof / AddTo-SystemPath.ps1
Last active March 17, 2016 14:52
Powershell function to add path to env path
Function AddTo-SystemPath {
Param([array]$PathToAdd)
$VerifiedPathsToAdd = $Null
Foreach($Path in $PathToAdd) {
if($env:Path -like "*$Path*") {
Write-Host "$Path already exists in Path statement"
} else {
$VerifiedPathsToAdd += ";$Path"
Write-Host "`$Path will be added to the environment path"
@roubachof
roubachof / xamarin-ci.ps1
Last active June 28, 2016 11:41
Continuous Integration with Xamarin: launch emulator, copy apk, launch activity, retrieve test results as xml.
#
# Notes:
#
# - 10/06/16
# - the script attempts to connect to the first active Android emulator
# found in the list returned by the "adb devices" command, and launches it, if this list is empty.
# In this case, the AVD launched is the first .ini file found in the directory.
#
@roubachof
roubachof / MyTcpListener.cs
Last active March 4, 2021 17:32
TcpListener for Xamarin CI (listen to xml test reports)
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using Mono.Options;
namespace Stago.Mhp.Instr.Pocm.UnitTests.Droid.Server
{
@roubachof
roubachof / App.cs
Last active October 16, 2015 11:55
My IocProvider issues with custom implementation
using Cirrious.CrossCore;
using Cirrious.CrossCore.IoC;
using Cirrious.MvvmCross.ViewModels;
using MvvmCross.Plugins.Messenger;
using %COMPANYNAME%.Core.Services;
using %COMPANYNAME%.Core.Services.Impl;
namespace %COMPANYNAME%.Core