I've been working with Kafka for over 7 years. I inevitably find myself doing the same set of activities while I'm developing or working with someone else's system. Here's a set of Kafka productivity hacks for doing a few things way faster than you're probably doing them now. 🔥
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"A File Icon", | |
"AdvancedNewFile", | |
"Alignment", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auto_complete": false, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_delay": 0, | |
"auto_complete_with_fields": false, | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 2, | |
"caret_extra_top": 2, | |
"caret_extra_width": 1, | |
"caret_style": "solid", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dev.anandsharma.corejava.ch3; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Path; | |
import java.util.Scanner; | |
public class FileIOTest1 { | |
public static final String RW_FILE_PATH = "/Users/anasharm/Downloads/test1.txt"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dev.anandsharma.corejava.ch3; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Path; | |
import java.util.Scanner; | |
public class FileIOTest2 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" .vimrc | |
" Maintained by: Anand Sharma | |
" anand.sharma@gmail.com | |
" Heavily borrowed from https://github.com/zanshin/dotfiles | |
" Need more studying: https://bitbucket.org/sjl/dotfiles/src/4e6f3d36c2417fd778f30192b90c51795bdcd368/vim/vimrc?at=default | |
" | |
" ------------------------------------------------------------------- | |
" Forget compatibility with vi | |
" ------------------------------------------------------------------- | |
set nocompatible |
Before we start building LOTS and LOTS of Spring Boot based Cloudy Apps in 2019, let's go back to the books and (re)learn how to build them today. Remember, the last time we got into building Microservices it was 2015!
Bottomline, we need to build Spring Boot Seed App(s), AGAIN!
- For Java software, use JDK 10 or above. Reference: Improved Docker Integration with Java 10, Java inside docker: What you must know to not FAIL, Running Java in a Container
- Dynamic Runtime Config (Runtime Properties)
Manual - By script
In machine A,
code --list-extensions | xargs -L 1 echo code --install-extension
copy and paste the echo output to machine B
sample output
Either copy the aliases from the .gitconfig
or run the commands in add-pr-alias.sh
Easily checkout local copies of pull requests from remotes:
git pr 4
- creates local branchpr/4
from the githubupstream
(if it exists) ororigin
remote and checks it outgit pr 4 someremote
- creates local branchpr/4
fromsomeremote
remote and checks it out