Skip to content

Instantly share code, notes, and snippets.

View kg's full-sized avatar

Katelyn Gadd kg

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<!-- WARNING: this file is autogenerated, don't modify it. Edit the .sources file of the corresponding assembly instead if you want to add/remove C# source files. -->
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">net_4_x</Platform>
<ProjectGuid>{804E854F-E8F5-4E2B-807A-4FAF4BE99C03}</ProjectGuid>
<OutputType>Exe</OutputType>
<NoWarn>1699</NoWarn>
<LangVersion>latest</LangVersion>
Discovered: Roslyn.Compilers.CSharp.Semantic.UnitTests
Starting: Roslyn.Compilers.CSharp.Semantic.UnitTests
Stacktrace:
at <unknown> <0xffffffff>
at System.Lazy`1<T_REF>.CreateValue () [0x00060] in /home/kate/Projects/mono/mcs/class/referencesource/mscorlib/system/Lazy.cs:437
at System.Lazy`1<T_REF>.LazyInitValue () [0x00023] in /home/kate/Projects/mono/mcs/class/referencesource/mscorlib/system/Lazy.cs:359
at System.Lazy`1<T_REF>.get_Value () [0x0003a] in /home/kate/Projects/mono/mcs/class/referencesource/mscorlib/system/Lazy.cs:339
at Roslyn.Test.Utilities.TestBase.get_MscorlibRef () [0x00005] in <03978e641ba3448b84a20881f1ba4c5c>:0
at Microsoft.CodeAnalysis.CSharp.Test.Utilities.CSharpTestBaseBase..cctor () [0x00007] in <55b67459709c4ab09e2fd17f47af8dd3>:0
var html = "";
for (var i = 0; i < urls.length; i++) {
html += "<link rel='preload' as='fetch' crossorigin='anonymous' href='" + urls[i] + "'>\n";
}
var e = context.document.createElement("div");
e.innerHTML = html;
e.id = "vm-preloads";
div.lis-ability.on {
-webkit-transform: none !important;
transform: none !important;
}
div.lis-ability.btn-ability-unavailable.on::after {
display: none !important;
}
div.lis-ability::after {
.custom instance void A::.ctor() = (
PROLOG // ctor arguments
// no items
PROLOG // field values
FIELD //
51 01 58 // inline str 'X'. What is 51?
55 62 // length of type name???
43 60 31 2B 45 5B 5B // C`1+E[[
** // rest of type name, omitted
5D 5D // ]]
@if [%6]==[] goto error
@goto ok
:error
@echo USAGE: video2gif START_TIME DURATION WIDTH FRAME_RATE (DITHER_OPTIONS) (CROP_RECTANGLE width:height:x:y) (EQ_OPTIONS) INPUT OUTPUT
@goto end
:ok
@set PALETTE="%TEMP%\palette.png"
@kg
kg / 60848.cs
Created January 10, 2018 03:46
using System;
public static class Program
{
public const string UnicodeLowSurrogate = "l\uDC00";
public const string UnicodeHighSurrogate = "h\uD800";
public const string UnicodeReplacementCharacter = "\uFFFD";
public static void Main()
{
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
public static class Program {
public static void Main () {
while (true) {
Step();
// Even though we're closing our listener and sockets, without this we run out of files in Mono on Linux
@kg
kg / sle.cs
Created September 14, 2017 01:01
private void GenerateLayout () {
if (Fragments.Count == 0) {
Layout = null;
return;
}
var rng = new MersenneTwister(RNGSeed);
var sle = new StringLayoutEngine {
characterWrap = true,
wordWrap = true,
Making all in runtime
make[2]: Entering directory '/home/kate/Projects/mono/runtime'
if test -w /home/kate/Projects/mono/mcs; then :; else chmod -R +w /home/kate/Projects/mono/mcs; fi
cd /home/kate/Projects/mono/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14 ' CC='gcc' all-profiles
make[6]: mono: Command not found
build/profiles/basic.make:113: recipe for target 'build/deps/basic-profile-check.exe' failed
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
*** The runtime 'mono' doesn't appear to be usable.
*** Trying the 'monolite-linux/1050700000' directory.