Skip to content

Instantly share code, notes, and snippets.

View pedoc's full-sized avatar
🎯
Focusing

pedoc pedoc

🎯
Focusing
View GitHub Profile
@pedoc
pedoc / BoyerMoore.cs
Created October 24, 2018 10:02 — forked from mjs3339/BoyerMoore.cs
C# High Performance Boyer Moore Byte Array Search Algorithm
public class BoyerMoore
{
private int[] _jumpTable;
private byte[] _pattern;
private int _patternLength;
public BoyerMoore()
{
}
public BoyerMoore(byte[] pattern)
{
@pedoc
pedoc / semantic-commit-messages.md
Created January 24, 2019 03:31 — forked from joshbuchea/semantic-commit-messages.md
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

@pedoc
pedoc / starUML.md
Created January 2, 2020 07:24 — forked from trandaison/starUML.md
Get full version of StarUML
@pedoc
pedoc / 16Bytes.cs
Created May 22, 2020 01:44 — forked from ufcpp/16Bytes.cs
A bit accessor for `byte`
// required packages:
// System.Runtime.CompilerServices.Unsafe
// System.Numerics.Vectors
using System;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.CompilerServices;
@pedoc
pedoc / tools.yml
Last active May 21, 2022 04:35 — forked from kohenkatz/tools.yml
Opening Windows Terminal and VSCode from SmartGit
# Add these entries to your `tools.yml` to be able to right-click to open
# things in VSCode (files and folders) and Windows Terminal (folders only) and Visual Studio(sln files).
# Make sure to change `YOUR_USERNAME` in the VSCode path.
tools:
- name: Open in VSCode
fileStarter: {command: 'C:\Users\YOUR_USERNAME\AppData\Local\Programs\Microsoft VS Code\Code.exe',
parameters: '"${filePath}"'}
useForOpen: true
waitUntilFinished: false