(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| :root { | |
| --palette-primary-shade-30: 184, 216, 255; | |
| --palette-primary-shade-20: 152, 198, 255; | |
| --palette-primary-shade-10: 121, 181, 255; | |
| --palette-primary: 0, 120, 212; | |
| --palette-primary-tint-10: 82, 143, 217; | |
| --palette-primary-tint-20: 73, 126, 191; | |
| --palette-primary-tint-30: 55, 96, 145; | |
| --palette-primary-tint-40: 34, 59, 89; | |
| --palette-neutral-100: 255, 255, 255; |
| public class BoyerMoore | |
| { | |
| private int[] _jumpTable; | |
| private byte[] _pattern; | |
| private int _patternLength; | |
| public BoyerMoore() | |
| { | |
| } | |
| public BoyerMoore(byte[] pattern) | |
| { |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Runtime.InteropServices; | |
| namespace DllInjector | |
| { | |
| public static class DllInjector | |
| { |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using JetBrains.Annotations; | |
| namespace Foo | |
| { | |
| public class MarginSetter | |
| { | |
| private static Thickness GetLastItemMargin(Panel obj) | |
| { |
| public class Perlin { | |
| public static double OctavePerlin(double x, double y, double z, int octaves, double persistence) { | |
| double total = 0; | |
| double frequency = 1; | |
| double amplitude = 1; | |
| for(int i=0;i<octaves;i++) { | |
| total += perlin(x * frequency, y * frequency, z * frequency) * amplitude; | |
| amplitude *= persistence; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.