Skip to content

Instantly share code, notes, and snippets.

View jacksonh's full-sized avatar
🎯
Focusing

Jackson Harper jacksonh

🎯
Focusing
View GitHub Profile
Index: class/System.Windows/Mono/Value.cs
===================================================================
--- class/System.Windows/Mono/Value.cs (revision 138659)
+++ class/System.Windows/Mono/Value.cs (working copy)
@@ -385,17 +385,17 @@
if (v is IEasingFunction && !(v is EasingFunctionBase))
v = new EasingFunctionWrapper (v as IEasingFunction);
- if (v is DependencyObject) {
- DependencyObject dov = (DependencyObject) v;
Index: class/System.Windows/Mono/MoonlightTypeConverter.cs
===================================================================
--- class/System.Windows/Mono/MoonlightTypeConverter.cs (revision 139643)
+++ class/System.Windows/Mono/MoonlightTypeConverter.cs (working copy)
@@ -67,6 +67,9 @@
if (IsAssignableToIConvertible (sourceType) && IsAssignableToIConvertible (destinationType))
return true;
+ if (destinationType.IsEnum && Enum.GetUnderlyingType (destinationType).IsAssignableFrom (sourceType))
+ return true;
jackson@linux-7axw:~/Projects/mango/template/minge> cat template.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title></title>
</head>
{# some template stuff #}
<body>
<h1></h1>
{{ foo }}
</body> </html>
jackson@linux-7axw:~/Projects/mango/template/minge> cat template.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title></title>
</head>
{# some template stuff #}
<body>
<h1></h1>
{% print foo|default("default value")|upper %}
</body> </html>
jackson@linux-7axw:~/Projects/mango/template/minge> cat template.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title></title>
</head>
{# this is a comment #}
<body>
<h1></h1>
{% print foo|default("default value is printed if foo is null or empty")|upper %}
</body> </html>
using System;
using System.Collections.Generic;
using Kayak;
using Kayak.Framework;
using Mango.Templates.Minge;
public class KayakDemo {
Building: MCloudManager (Debug|iPhoneSimulator)
Building Solution MCloudManager
Building: MCloudManager (Debug|iPhoneSimulator)
Performing main compilation...
Updating CodeBehind files
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/jackson/Projects/MCloudManager/MCloudManager/bin/iPhoneSimulator/Debug/MCloudManager.exe" "/r:System.dll" "/r:System.Xml.dll" "/r:System.Core.dll" "/r:monotouch.dll" "/r:/Users/jackson/Projects/MonoTouch.Dialog/MonoTouch.Dialog/bin/iPhoneSimulator/Debug/MonoTouch.Dialog.dll" "/r:/Users/jackson/Projects/MCloudManager/mcloud/MCloud.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG" /t:exe "/Users/jackson/Projects/MCloudManager/MCloudManager/DemoAddRemove.cs" "/Users/jackson/Projects/MCloudManager/MCloudManager/DemoDate.cs" "/Users/jackson/Projects/MCloudManager/MCloudManager/DemoElementApi.cs" "/Users/jackson/Projects/MCloudManager/MCloudManager/DemoHeadersFooters.cs" "/Users/jackson/Projects/MCloudManager/MCloudManager/DemoReflectionAp
erp:Projects jackson$ /Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -sim "/Users/jackson/Projects/MCloudManager/MCloudManager/bin/iPhoneSimulator/Debug/MCloudManager.app" -r="/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r="/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -r="/Users/jackson/Projects/MonoTouch.Dialog/MonoTouch.Dialog/bin/iPhoneSimulator/Debug/MonoTouch.Dialog.dll" -r="/Users/jackson/Projects/MCloudManager/mcloud/MCloud.dll" "/Users/jackson/Projects/MCloudManager/MCloudManager/bin/iPhoneSimulator/Debug/MCloudManager.exe"
Framework is: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk
Abort trap
erp:Projects jackson$
urning is efficient and most of the black smoke is soot and not very toxic. You always have to look at every response technique in comparison to the others. So burning will get rid of 95% of the oil and then it is completely dealt with. No more handling. All the other recovery stuff involves a long chain of support to accommodate the waste stream.
The problem is that there is not very much fire poof boom on the planet. It fails often due to the heat. So you have to keep replacing the failed parts, which reduces the efficiency. I think they will run out of fire proof boom quickly. And I think this blow out is going to continue for months. So it is probably not sustainable. Also, because this oil is rising a mile through the water, it is actually a water-in-oil emulsification by the time it reaches the surface. Sometimes there is more water than oil in the mix. This is called chocolate mousse and it is the brown ropy stuff you see in the pictures. My guess is that it will not burn as efficiently.
Dispersant
// fuck me, so this is going to encode to a buffer,
// then write to a buffer, which will byte convert
// the string to a buffer, write to the stream buffer,
// which then will write to the IO buffer, and
// get sent across the socket. I would like to
// eliminate the first 36 buffers from this process