Skip to content

Instantly share code, notes, and snippets.

View naumvd95's full-sized avatar
🐙
breaking things, fixing things

Vladislav Naumov naumvd95

🐙
breaking things, fixing things
View GitHub Profile
@naumvd95
naumvd95 / rebase_pr_chain.md
Last active April 14, 2022 10:21
How to rebase a long chain of Pull Requests conditionally
  1. Imagine you have N Pull Requests. Each Pull Request created from the separate branch and each of them rebased on top of the previous one. Overall it will looks like:

    vladislav.naumov@jarvis:~$ git branch | grep vnaumov
    
    key/vnaumov/some-important-feature-7

keu/vnaumov/some-important-feature-6

@dvf
dvf / change-codec.md
Last active June 25, 2024 22:08
Enable High Quality mode on your headphones (Updated for macOS Catalina)

If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.

Find out what codec you're using

  1. Play a song on your headphones
  2. Option (⌥) click the Bluetooth button at the top of your screen Inspect the Bluetooth Coded
  3. If you're using AAC or aptX, you can stop here—those are the highest quality codecs.

Change your codec to AAC or aptX

@naumvd95
naumvd95 / setup-gh-cli-auth-2fa.md
Created May 13, 2018 16:12 — forked from ateucher/setup-gh-cli-auth-2fa.md
Setup git on the CLI to use 2FA with GitHub

These are instructions for setting up git to authenticate with GitHub when you have 2-factor authentication set up. This authentication should be inherited by any GUI client you are using. These are intentionally brief instructions, with links to more detail in the appropriate places.

  1. Download and install the git command-line client (if required).

  2. Open the git bash window and introduce yourself to git (if required):

    git config --global user.name 'Firstname Lastname'
    git config --global user.email 'firstname.lastname@gov.bc.ca'
    
@simonw
simonw / export-google-docs-to-restructured-text.js
Last active January 3, 2024 00:02
Google Apps script to convert a Google Docs document into reStructuredText
function onOpen() {
var ui = DocumentApp.getUi();
ui.createMenu('Convert to .RST')
.addItem('Convert to .RST and email me the result', 'ConvertToRestructuredText')
.addToUi();
}
// Adopted from https://github.com/mangini/gdocs2md by Renato Mangini
// License: Apache License Version 2.0
String.prototype.repeat = String.prototype.repeat || function(num) {
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 28, 2024 02:47
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active June 29, 2024 03:40
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k