Skip to content

Instantly share code, notes, and snippets.

View mhutch's full-sized avatar

Mikayla Hutchinson mhutch

View GitHub Profile
@mhutch
mhutch / git-offload.sh
Last active September 13, 2016 21:30
#!/bin/bash
# git-offload: a tool for shifting local commits to a new branch and pushing it
# Author: Mikayla Hutchinson <m.j.hutchinson@gmail.com>
if [ "$#" -ne 2 ]; then
echo
echo "Creates new branch from the current commit and pushes it to a remote"
echo "and then resets the original branch to its upstream state."
echo ""
echo "USAGE:"
diff --git a/mcs/tools/xbuild/data/14.0/Microsoft.Common.targets b/mcs/tools/xbuild/data/14.0/Microsoft.Common.targets
index 433cffe..89afe65 100644
--- a/mcs/tools/xbuild/data/14.0/Microsoft.Common.targets
+++ b/mcs/tools/xbuild/data/14.0/Microsoft.Common.targets
@@ -265,11 +265,10 @@
<FileWrites Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" />
</ItemGroup>
- <Target Name="GenerateTargetFrameworkMonikerAttribute"
+ <Target Name="_GenerateTargetFrameworkMonikerAttribute"
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<GenFile>Out.txt</GenFile>
</PropertyGroup>
<Target Name ="SkipMe" Inputs="$(MSBuildThisFile)" Outputs="$(GenFile)">
<WriteLinesToFile File="$(GenFile)" Lines="Hello" />
<ItemGroup>
<ItemFromTarget Include="Included!" />
</ItemGroup>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Version/fx properties -->
<TargetFrameworkIdentifier Condition="'$(TargetFrameworkIdentifier)' == ''">Xamarin.iOS</TargetFrameworkIdentifier>
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == ''">v1.0</TargetFrameworkVersion>
</PropertyGroup>
<Import
Condition="'$(Language)' == '' And Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets')"
#!/bin/sh
if [ "x$1" = 'x-clean' ]; then
rm -rf dlls packages ref report* nuget.exe
fi
#MONO_ASM_DIR=/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.5
MONO_ASM_DIR=../mono/mcs/class/lib/net_4_x
# need at least NuGet 3, Mono 4.1 ships 2.8.4
Microsoft.Win32.Primitives.dll
Microsoft.Win32.Registry.AccessControl.dll
Microsoft.Win32.Registry.dll
System.AppContext.dll
System.Collections.Concurrent.dll
System.Collections.NonGeneric.dll
System.Collections.Specialized.dll
System.Collections.dll
System.ComponentModel.Annotations.dll
System.ComponentModel.EventBasedAsync.dll
This file has been truncated, but you can view the full file.
INFO [2016-04-27 16:38:15Z]: Starting Xamarin Studio 6.0 (build 5104)
INFO [2016-04-27 16:38:15Z]: Running on Mono 4.4.0 (mono-4.4.0-branch/81f38a9) (64-bit)
INFO [2016-04-27 16:38:15Z]: Operating System: Mac OS X 10.11.4
Darwin saturn.local 15.4.0 Darwin Kernel Version 15.4.0
Fri Feb 26 22:08:05 PST 2016
root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
INFO [2016-04-27 16:38:15Z]: GTK: Using gtkrc from /Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/bin/gtkrc.mac
INFO [2016-04-27 16:38:15Z]: Using GTK+ 2.24.23
INFO [2016-04-27 16:38:16Z]: Add-in loaded: MonoDevelop.Core
INFO [2016-04-27 16:38:16Z]: Add-in loaded: MonoDevelop.Ide

Keybase proof

I hereby claim:

  • I am mhutch on github.
  • I am mhutch (https://keybase.io/mhutch) on keybase.
  • I have a public key whose fingerprint is 1197 038A 8417 71A5 2445 FE10 B124 21B1 E152 BAA9

To claim this, I am signing this object:

@mhutch
mhutch / -
Created September 18, 2013 17:24
diff --git a/Xwt.Gtk/Xwt.GtkBackend/PasswordEntryBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/PasswordEntryBackend.cs
index 4809f7b..161eb3c 100644
--- a/Xwt.Gtk/Xwt.GtkBackend/PasswordEntryBackend.cs
+++ b/Xwt.Gtk/Xwt.GtkBackend/PasswordEntryBackend.cs
@@ -33,9 +33,9 @@ namespace Xwt.GtkBackend
public override void EnableEvent (object eventId)
{
base.EnableEvent (eventId);
- if (eventId is TextEntryEvent) {
- switch ((TextEntryEvent)eventId) {
@mhutch
mhutch / -
Created September 6, 2013 18:50
diff --git a/main/external/nrefactory b/main/external/nrefactory
--- a/main/external/nrefactory
+++ b/main/external/nrefactory
@@ -1 +1 @@
-Subproject commit a87d4cf3c543cde2257fb06e2f7ad15a8d50b375
+Subproject commit a87d4cf3c543cde2257fb06e2f7ad15a8d50b375-dirty
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs
index e7ec264..b20b9b2 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs