Skip to content

Instantly share code, notes, and snippets.

View dima1034's full-sized avatar
🎯
Focusing

Dmytro Ostapenko dima1034

🎯
Focusing
  • semicolon; vytvir
  • Lviv, Ukraine
  • 03:11 (UTC +03:00)
View GitHub Profile
@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
@EgorBo
EgorBo / SSE4.1 and AVX2 in .NET Core 2.1.cs
Last active November 18, 2019 19:09
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
@shospodarets
shospodarets / Chrome headless Puppeteer- capture DOM element screenshot using
Last active January 17, 2023 18:52
Chrome headless Puppeteer- capture DOM element screenshot using
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
// Adjustments particular to this page to ensure we hit desktop breakpoint.
page.setViewport({width: 1000, height: 600, deviceScaleFactor: 1});
await page.goto('https://www.chromestatus.com/samples', {waitUntil: 'networkidle'});
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 8, 2024 14:54
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@davidfowl
davidfowl / dotnetlayout.md
Last active May 8, 2024 07:49
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/