Skip to content

Instantly share code, notes, and snippets.

View olegshulyakov's full-sized avatar

Oleg Shulyakov olegshulyakov

View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 6, 2025 12:31
Conventional Commits Cheatsheet
@buttreygoodness
buttreygoodness / FLACConvert.md
Last active November 11, 2025 08:20
How to split FLAC files by cue and convert to ALAC on Mac OS X
  • Install required packages
brew install cuetools flac ffmpeg shntool
  • Split flac file by cue
$ shnsplit -o flac -f file.cue file.flac
@jdcrensh
jdcrensh / Base62.java
Last active October 25, 2025 18:48
Class to encode a string into base 62 (character set [a-zA-Z0-9]) with Java. A common use case is URL shortening.
public class Base62 {
public static final String ALPHABET = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
public static final int BASE = ALPHABET.length();
private Base62() {}
public static String fromBase10(int i) {
StringBuilder sb = new StringBuilder("");