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; | |
static class Program { | |
static void Foo() => throw null; | |
delegate void Moo(); | |
static Program(){ | |
var foo = new Moo(Foo); | |
var bar = foo.BeginInvoke(null, null); | |
foo.EndInvoke(bar); | |
} | |
static int Run() { |
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.Linq; | |
using System.Collections.Generic; | |
static class Program { | |
static int Run() { | |
var l = new List<int>(); | |
for (var i = 0; i < 200000; i++){ | |
l.Add(i); | |
} | |
return l |
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; | |
struct A_1 { public int A; public int B; } | |
struct A_2 { public A_1 A; public A_1 B; } | |
struct A_3 { public A_2 A; public A_2 B; } | |
struct A_4 { public A_3 A; public A_3 B; } | |
struct A_5 { public A_4 A; public A_4 B; } | |
struct A_6 { public A_5 A; public A_5 B; } | |
struct A_7 { public A_6 A; public A_6 B; } |
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; | |
struct A_1 { public int A; public int B; } | |
struct A_2 { public A_1 A; public A_1 B; } | |
struct A_3 { public A_2 A; public A_2 B; } | |
struct A_4 { public A_3 A; public A_3 B; } | |
struct A_5 { public A_4 A; public A_4 B; } | |
struct A_6 { public A_5 A; public A_5 B; } | |
struct A_7 { public A_6 A; public A_6 B; } |
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
<wpf:ResourceDictionary xml:space="preserve" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:s="clr-namespace:System;assembly=mscorlib" | |
xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" | |
xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E8B6AB58F469D24CAD95A6E55E5FCE0B/@KeyIndexDefined">True</s:Boolean> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E8B6AB58F469D24CAD95A6E55E5FCE0B/Shortcut/@EntryValue">propn</s:String> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E8B6AB58F469D24CAD95A6E55E5FCE0B/Description/@EntryValue">Property with INotifyPropertyChanged callback</s:String> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E8B6AB58F469D24CAD95A6E55E5FCE0B/Text/@EntryValue">private $TYPE$ $FIELD$;
 | |

 |
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
#InstallKeybdHook | |
#UseHook | |
#MaxHotkeysPerInterval 1000 | |
~SC163 & Left::Send {Blind}{Home} | |
return | |
~SC163 & Right::Send {Blind}{End} | |
return |
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
@start "" "C:\Program Files\TortoiseGit\bin\TortoiseGitProc.exe" /command:%1 /path:. %2 %3 %4 %5 %6 %7 %8 %9 |
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
[push] | |
default = current | |
[credential] | |
helper = manager | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
type = 'cat-file |
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
CREW DRAGON initial orbit | |
1 70000U 20999A 20151.80474535 -.00003603 11390-4 00000+0 0 04 | |
2 70000 51.6423 075.0039 0122953 45.6251 315.4951 15.99554646 01 | |
CREW DRAGON second revolution | |
1 70001U 20999A 20151.93029831 -.18507952 12289+0 -23808-1 0 05 | |
2 70001 51.6233 074.5097 0096856 46.3995 314.2887 15.95177824 03 |
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
$ErrorActionPreference = 'Stop' | |
$filename = 'ventilation-controller-B_Cu-flatcam_0025.gcode' | |
[decimal]$zadj = 0.5 | |
[decimal]$targetx = 36 | |
[decimal]$targety = 48 | |
$g1regex = '^g1 x([\d.]+) y([\d.]+)$' | |
$zregex = '^g0 z([\d.]+)(.*)$' | |
$newfilename = '{0}_adjusted.gcode' -f [System.IO.Path]::GetFileNameWithoutExtension($filename) |
OlderNewer