Skip to content

Instantly share code, notes, and snippets.

View dima1034's full-sized avatar
🎯
Focusing

Dmytro Ostapenko dima1034

🎯
Focusing
  • semicolon; vytvir
  • Lviv, Ukraine
  • 04:53 (UTC +03:00)
View GitHub Profile
@dima1034
dima1034 / dotnetlayout.md
Created April 9, 2021 14:26 — forked from davidfowl/dotnetlayout.md
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
@dima1034
dima1034 / SSE4.1 and AVX2 in .NET Core 2.1.cs
Created November 18, 2019 19:09 — forked from EgorBo/SSE4.1 and AVX2 in .NET Core 2.1.cs
SSE4.1 and AVX2 in .NET Core 2.1.cs
using System;
using System.Linq;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace ConsoleApp29
{
public class Program
@dima1034
dima1034 / SSE4.1 and AVX2 in .NET Core 2.1.cs
Created November 18, 2019 19:09 — forked from EgorBo/SSE4.1 and AVX2 in .NET Core 2.1.cs
SSE4.1 and AVX2 in .NET Core 2.1.cs
using System;
using System.Linq;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace ConsoleApp29
{
public class Program
@dima1034
dima1034 / DotNetCoreVersionExtensions.cs
Created July 5, 2019 13:31 — forked from Antaris/DotNetCoreVersionExtensions.cs
An approach to building .NET Core applications with Cake, XUnit and synchronous `project.json` versionining for both local and on Bamboo
namespace Cake.DotNetVersion
{
using System;
using System.Collections.Generic;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
/// <summary>
/// Contains functionality required to updating project file versions.
@dima1034
dima1034 / DotNetCoreVersionExtensions.cs
Created July 5, 2019 13:31 — forked from Antaris/DotNetCoreVersionExtensions.cs
An approach to building .NET Core applications with Cake, XUnit and synchronous `project.json` versionining for both local and on Bamboo
namespace Cake.DotNetVersion
{
using System;
using System.Collections.Generic;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
/// <summary>
/// Contains functionality required to updating project file versions.
//1
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
//2
jQuery.noConflict();
var counter = 1;
var courseTitle = jQuery("h1").first().text().trim().replace(/[^a-zA-Z0-9]/g, "_")
@dima1034
dima1034 / pluralsight.js
Created April 30, 2019 13:36 — forked from punchouty/pluralsight.js
Pluralsight Video Download
//Login to pluralsight in chrome and Open a course you want to download
//Example - https://app.pluralsight.com/library/courses/aws-automating-cloudformation/table-of-contents
//Click on "Start" or "Resume Course" Button
//chapter listing
var list = document.getElementsByTagName("section");
var counter=0;
for (var i=0; i<list.length; i++) {
if ( list[i].className.match(/\bmodule\b/) ) {
var header_text = list[i].getElementsByTagName("h2")[0].innerText;
var ul = list[i].getElementsByClassName('clips');
@dima1034
dima1034 / fsharp-tutorial.fs
Created April 27, 2019 15:10 — forked from odytrice/fsharp-tutorial.fs
F# Code Samples
// This sample will guide you through elements of the F# language.
//
// *******************************************************************************************************
// To execute the code in F# Interactive, highlight a section of code and press Alt-Enter in Windows or
// Ctrl-Enter Mac, or right-click and select "Send Selection to F# Interactive".
// You can open the F# Interactive Window from the "View" menu.
// *******************************************************************************************************
// For more about F#, see:
@dima1034
dima1034 / Async_basic_mistakes.md
Created January 12, 2019 14:30 — forked from AnthonySteele/Async_basic_mistakes.md
Avoiding Basic mistakes with async ... await in C# code
@dima1034
dima1034 / introrx.md
Created November 14, 2018 10:54 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing