Skip to content

Instantly share code, notes, and snippets.

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

Jonathan Dick Redth

🏠
Working from home
View GitHub Profile
using System;
using System.IO;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
#if __ANDROID__
using Java.Security;
using Javax.Crypto;
public class RvUtil
{
public RvUtil (RecyclerView rv)
{
recyclerView = rv;
}
RecyclerView recyclerView;
IntPtr id_setNestedScrollingEnabled;
<!-- ... -->
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>2.3.0</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.CustomTabs">
<Version>26.1.0.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
// Tools needed by cake addins
#tool nuget:?package=XamarinComponent&version=1.1.0.42
#tool nuget:?package=ILRepack&version=2.0.13
// Dependencies of Cake Addins - this should be removed once
// Cake 0.23 is out
#addin nuget:?package=SharpZipLib&version=0.86.0
#addin nuget:?package=Newtonsoft.Json&version=9.0.1
#addin nuget:?package=semver&version=2.0.4
#addin nuget:?package=YamlDotNet&version=4.2.1
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard1.6;net46</TargetFrameworks>
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.6' ">1.6.1</NetStandardImplicitPackageVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup>
<PackageId>Cake.FileHelpers</PackageId>
module.exports = function(deps) {
return class MyAuthProvider extends deps.BaseAuthProvider {
// This is used by the ROS when it loads the available
// authentication providers. This function is required.
static get name() {
return 'custom/my';
}
// This is used by ROS when it parses the configuration
// file, to ensure that required default options are
#!/bin/sh
##########################################################################
# Yet Another Monitor (YAMon)
# Copyright (c) 2013-2016 Al Caughey
# All rights reserved.
#
# Script to download, install & setup YAMon3.x
#
# Updated: 2016-06-13 - fail over to wget if curl does not work in yget()

Keybase proof

I hereby claim:

  • I am redth on github.
  • I am redth (https://keybase.io/redth) on keybase.
  • I have a public key ASBL8VXtQ_D2kC1FTKpayOf4Zbq8BclTQajJIA_0A4EjPAo

To claim this, I am signing this object:

Cleaning: Microsoft.Intune.Android (Debug)
Build started 2015-11-09 9:12:21 AM.
__________________________________________________
Project "/Users/redth/xamarin/MicrosoftInTune/source/bindings/Android/Microsoft.Intune.Android.csproj" (Clean target(s)):
Initial Properties:
__CF_USER_TEXT_ENCODING = 0x1F5:0x0:0x0
AndroidLinkMode = None
@Redth
Redth / cake.rb
Last active August 29, 2015 14:26
class Cake < Formula
depends_on "mono" => :optional
version "0.5.1"
sha256 "e3620f9bb1466d47502aeb934868284e241877ad5f43531f898443d846bd7c0b"
desc "Cake (C# Make) is a build automation system with a C# DSL to do things like compiling code, copy files/folders, running unit tests, compress files and build NuGet packages."
homepage "http://cakebuild.net/"
url "https://www.nuget.org/api/v2/package/Cake/#{version}"
def install