Skip to content

Instantly share code, notes, and snippets.

View dnl-blkv's full-sized avatar

Daniil Belyakov dnl-blkv

View GitHub Profile
@robertpainsi
robertpainsi / README.md
Last active January 31, 2025 14:55
How to reopen a pull-request after a force-push?

How to reopen a pull-request after a force-push?

Precodinitions

  • You need the rights to reopen pull requests on the repository.
  • The pull request hasn't been merged, just closed.

Instructions

  1. Write down the current commit hash of your PR-branch git log --oneline -1 <PR-BRANCH>
  2. Write down the latest commit hash on github before the PR has been closed.
  3. git push -f origin :
@bangonkali
bangonkali / batch.bat
Created April 17, 2015 01:53
Attaching Notepad++ to git commit editor.
git config core.editor "'C:\Program Files (x86)\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
@davidfowl
davidfowl / dotnetlayout.md
Last active March 2, 2025 04:53
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
@sloria
sloria / bobp-python.md
Last active January 27, 2025 21:33
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens