Skip to content

Instantly share code, notes, and snippets.

View SkyrocketStan's full-sized avatar

Stanislav Rakitov SkyrocketStan

View GitHub Profile
@SkyrocketStan
SkyrocketStan / getAllFilenamesAndDirectoriesSorted
Last active July 9, 2021 09:43
Get a List of all files and subfolders from a directory with Java
public List<String> getAllFilenamesAndDirectoriesSorted(String pathToDir) {
Path start = Paths.get(pathToDir);
try (Stream<Path> stream = Files.walk(start, Integer.MAX_VALUE)) {
return stream.map(String::valueOf).sorted().collect(Collectors.toList());
} catch (IOException e) {
e.printStackTrace();
}
return null;
}
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active May 30, 2025 16:06
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)