Skip to content

Instantly share code, notes, and snippets.

diff --git a/external/rx b/external/rx
--- a/external/rx
+++ b/external/rx
@@ -1 +1 @@
-Subproject commit 00c1aadf149334c694d2a5096983a84cf46221b8
+Subproject commit 00c1aadf149334c694d2a5096983a84cf46221b8-dirty
diff --git a/mcs/mcs/Makefile b/mcs/mcs/Makefile
index d2aa50e..8999939 100644
--- a/mcs/mcs/Makefile
+++ b/mcs/mcs/Makefile
### Keybase proof
I hereby claim:
* I am migueldeicaza on github.
* I am migueldeicaza (https://keybase.io/migueldeicaza) on keybase.
* I have a public key whose fingerprint is 161C 35A0 6E68 E3E4 C084 64F9 A0AB BD0B 56B7 D30A
To claim this, I am signing this object:
You appear to be advocating a new:
[ ] cloud-hosted [ ] locally installable [ ] web-based [ ] browser-based [ ] language-agnostic
[ ] language-specific IDE. Your IDE will not succeed. Here is why it will not succeed.
You appear to believe that:
[ ] Syntax highlighting is what makes programming difficult
[ ] Garbage collection is free
[ ] Computers have infinite memory
[ ] Nobody really needs:
@migueldeicaza
migueldeicaza / gist:7594491
Last active December 29, 2015 01:39
For David Fowler
These instructions will get you Mono compiled from source.
Requirements:
Xcode installed
Command Line Tools installed (part of Xcode)
Then, create a text file with the contents of everything after "=====", save it as "build.sh" in your home directory
Open a terminal window, and type this in your shell:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{B5035C41-148D-4376-87D0-48DB7E61A991}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18051]
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe /v:diag .\AndroidApplication3.sln
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 10/29/2013 6:01:37 PM.
Environment at start of build:
ALLUSERSPROFILE = C:\ProgramData
ANDROID_NDK_PATH = C:\Program Files\Android\ndk\android-ndk-r8d
using System.Threading.Tasks;
using System.Threading;
using System;
class X {
static void Main ()
{
var x = new X ();
x.Run ();
Thread.Sleep (6000);
2013-02-19 16:26:25.740 EntryElementBug[43498:c07] MonoTouch.UIKit.UITableViewCell with {X=0,Y=692,Width=320,Height=45} <nt>
2013-02-19 16:26:25.740 EntryElementBug[43498:c07] MonoTouch.UIKit.UIView with {X=9,Y=0,Width=302,Height=45} <nt>
2013-02-19 16:26:25.741 EntryElementBug[43498:c07] MonoTouch.UIKit.UIView with {X=1,Y=44,Width=300,Height=1} <nt>
2013-02-19 16:26:25.741 EntryElementBug[43498:c07] MonoTouch.UIKit.UIView with {X=10,Y=1,Width=300,Height=43} <nt>[[[[[ CONTENT VIEW ]]]]
2013-02-19 16:26:25.741 EntryElementBug[43498:c07] MonoTouch.UIKit.UITextField with {X=10,Y=10.5,Width=290,Height=21} >>> 7
2013-02-19 16:26:25.741 EntryElementBug[43498:c07] MonoTouch.UIKit.UILabel with {X=0,Y=0,Width=290,Height=21} <nt>LABEL: 7
2013-02-19 16:26:25.742 EntryElementBug[43498:c07] MonoTouch.UIKit.UITextField with {X=70,Y=10,Width=230,Height=21} >>> 16
2013-02-19 16:26:25.742 EntryElementBug[43498:c07] MonoTouch.UIKit.UILabel
@migueldeicaza
migueldeicaza / gist:4598018
Created January 22, 2013 20:17
MonoMac samples using NSTableView
CFNetwork/Views/CheckHeadersView.designer.cs
CFNetwork/Views/HeaderTableDataSource.cs
CoreWLANWirelessManager/ScanResultsTableDataSource.cs
Makefile
NSTableViewBinding/AppDelegate.cs
NSTableViewBinding/EditController.cs
NSTableViewBinding/Info.plist
NSTableViewBinding/Main.cs
NSTableViewBinding/NSTableViewBinding.csproj
NSTableViewBinding/NSTableViewBinding.sln
@migueldeicaza
migueldeicaza / gist:4579408
Last active December 11, 2015 09:19 — forked from anonymous/gist:4515011
Simple AI loop using Async code, to use as basis on "How to avoid garbage with Async" post.
private async void Think()
{
Loop:
Program.MineCycles++;
Say("Walking to the mine!");
await this.WaitSeconds(2.0f);
Say("Entering the mine!");
await this.WaitSeconds(1.0f);