Skip to content

Instantly share code, notes, and snippets.

View ulan-yisaev's full-sized avatar
💭
Learning

Ulan Yisaev ulan-yisaev

💭
Learning
  • Nortal AS
  • Estonia
View GitHub Profile
@ulan-yisaev
ulan-yisaev / spring-boot-cheatsheet.java
Created January 13, 2020 02:37 — forked from jahe/spring-boot-cheatsheet.java
Spring Boot Cheatsheet
// Enable component-scanning and auto-configuration with @SpringBootApplication Annotation
// It combines @Configuration + @ComponentScan + @EnableAutoConfiguration
@SpringBootApplication
public class FooApplication {
public static void main(String[] args) {
// Bootstrap the application
SpringApplication.run(FooApplication.class, args);
}
}
@ulan-yisaev
ulan-yisaev / gist:08c000eaceb2f86016c5f4797a681383
Created March 28, 2025 22:49
Default (OSX).sublime-keymap content with the PyCharm-like bindings integrated.
**Integration Notes:**
1. The original default bindings that conflicted with the new PyCharm bindings (`Cmd+R`, `Cmd+D`, `Cmd+B`, `Cmd+Backspace`, `Cmd+Alt+Left`, `Cmd+Alt+Right`) have been **commented out** using `//` at the beginning of each line of the conflicting binding block. This allows you to easily revert if needed.
2. The new block of PyCharm-style keybindings (including the remapped original Sublime commands) has been added to the **end** of the JSON array, just before the final `]`.
3. Bindings that already matched between Sublime default and PyCharm (like `Cmd+F`, `Cmd+W`, `Cmd+/`) were left untouched in their original positions.
Copy and paste the entire content below into your `Packages/User/Default (OSX).sublime-keymap` file, replacing its current content.
```json
// Default (OSX).sublime-keymap