This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
namespace AR.Drone.Infrastructure | |
{ | |
public static class InteropHelper | |
{ | |
public const string LD_LIBRARY_PATH = "LD_LIBRARY_PATH"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Runtime.InteropServices; | |
using System.ComponentModel; | |
using System.Drawing; | |
using System.Drawing.Printing; | |
using System.Windows.Forms; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Generated by: TmTheme-Editor --> | |
<!-- ============================================ --> | |
<!-- app: http://tmtheme-editor.herokuapp.com --> | |
<!-- code: https://github.com/aziz/tmTheme-Editor --> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Xamarin Studio (based on Snappy Light)</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using NLua; | |
namespace EventLua | |
{ | |
public class MyClass | |
{ | |
public Action actionFromLua; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Runtime.Serialization; | |
using System.ServiceModel; | |
using System.ServiceModel.Channels; | |
using System.ServiceModel.Description; | |
using System.Xml; | |
using System.ServiceModel.Dispatcher; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Runtime.Serialization; | |
using System.ServiceModel; | |
using System.ServiceModel.Channels; | |
using System.ServiceModel.Description; | |
using System.Xml; | |
using System.ServiceModel.Dispatcher; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public void DateTimeOffsetNullableSerialization () | |
{ | |
var ds = new DataContractSerializer (typeof (DateTimeOffset?)); | |
var sw = new StringWriter (); | |
string xml = "<DateTimeOffset xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/System\"><DateTime>2012-05-04T00:34:00Z</DateTime><OffsetMinutes>120</OffsetMinutes></DateTimeOffset>"; | |
var v = new DateTimeOffset (new DateTime (2012, 05, 04, 02, 34, 0), TimeSpan.FromMinutes (120)); | |
using (var xw = XmlWriter.Create (sw, settings)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS\ Build\ System\ Support.xcplugin/Contents/MacOS | |
dd if=iPhoneOS\ Build\ System\ Support of=working bs=500 count=255 | |
printf "\xc3\x26\x00\x00" >> working | |
/bin/mv -n iPhoneOS\ Build\ System\ Support iPhoneOS\ Build\ System\ Support.original | |
/bin/mv working iPhoneOS\ Build\ System\ Support | |
chmod a+x iPhoneOS\ Build\ System\ Support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 400 Bad Request | |
Content-Type: text/html; charset=utf-8 | |
Server: Mono-HTTPAPI/1.0 | |
Date: Fri, 01 Jun 2012 04:01:01 GMT | |
Content-Length: 35 | |
Connection: close | |
<h1>Bad Request (Invalid host)</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias mono='/Users/viniciusjarina/xamarin/mono/runtime/mono-wrapper' | |
export MONO_PATH=/Users/viniciusjarina/xamarin/mono/mcs/class/lib/net_4_5:/Users/viniciusjarina/xamarin/mono/mcs/class/lib/net_4_0:/Users/viniciusjarina/xamarin/mono/mcs/class/lib/build:$MONO_PATH | |
export MONO_REGISTRY_PATH=/Users/viniciusjarina/.mono/registry | |
export MONO_SHARED_DIR=/Users/viniciusjarina/xamarin/mono/runtime | |
export PATH='/usr/local/bin/':$PATH | |
alias mcs='/Users/viniciusjarina/xamarin/mono/runtime/mono-wrapper /Users/viniciusjarina/xamarin/mono/mcs/mcs/mcs.exe' | |
alias csharp='/Users/viniciusjarina/xamarin/mono/runtime/mono-wrapper /Users/viniciusjarina/xamarin/mono/mcs/class/lib/net_4_5/csharp.exe' | |
export PS1="[mono master] "$PS1 |
OlderNewer