Skip to content

Instantly share code, notes, and snippets.

Madhav Shenoy mshenoy83

  • Melboune
Block or report user

Report or block mshenoy83

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
View AppDelegate.cs
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to
// application events from iOS.
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
// This method is invoked when the application has loaded and is ready to run. In this
// method you should instantiate the window, load the UI into it and then make the window
// visible.
mshenoy83 / Dockerfile
Created Feb 4, 2018
Microsoft Sql Server Linux DockerFile with Full Text Search
View Dockerfile
# mssql-agent-fts-ha-tools
# Maintainers: Microsoft Corporation (LuisBosquez and twright-msft on GitHub)
# GitRepo:
# Base OS layer: Latest Ubuntu LTS + mssql-server-linux (SQL Server engine + tools)
FROM microsoft/mssql-server-linux
#Install curl since it is needed to get repo config
# Get official Microsoft repository configuration
RUN export DEBIAN_FRONTEND=noninteractive && \
View IOSDeviceInfo.cs
public class IOSDeviceInfo : IDeviceInfo
private string _deviceId;
private const string DeviceIdentifier = "MyDeviceIdentifier";
public string GetDeviceId
/* return UIDevice.CurrentDevice.IdentifierForVendor.ToString();*/
_deviceId = GetRecordsFromKeychain(DeviceIdentifier);
mshenoy83 / CustomTlsSSLSocketFactory.cs
Last active Sep 21, 2017
View CustomTlsSSLSocketFactory.cs
public class CustomTlsSSLSocketFactory : SSLSocketFactory
public CustomTlsSSLSocketFactory()
SSLContext context = SSLContext.GetInstance("TLS");
context.Init(null, null, null);
_factory = context.SocketFactory;
private readonly SSLSocketFactory _factory;
mshenoy83 / Login.Xaml
Last active Mar 28, 2017
Sample Xaml Binding
View Login.Xaml
<?xml version="1.0" encoding="utf-8" ?>
Style="{StaticResource SignUpScreen}">
mshenoy83 / OctopusDeploymentClient.cs
Last active Aug 23, 2017
Octopus Deploy - Multiple releases from single project in TeamCIty
View OctopusDeploymentClient.cs
using Octopus.Client;
using Octopus.Client.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OctopusDeploymentClient
You can’t perform that action at this time.