Skip to content

Instantly share code, notes, and snippets.

View indrayam's full-sized avatar
💭
Onwards and upwards

Anand Sharma indrayam

💭
Onwards and upwards
View GitHub Profile
@indrayam
indrayam / settings.json
Last active August 7, 2020 20:17
My VSCode Settings (Aug 2020)
// Place your settings in this file to overwrite the default settings
{
// Workbench Settings
"workbench.activityBar.visible": true,
"workbench.tips.enabled": false,
"workbench.startupEditor": "none",
"workbench.settings.editor": "json",
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.enablePreview": false,
"workbench.colorCustomizations": {
@indrayam
indrayam / .vimrc
Last active March 3, 2019 20:14
My .vimrc (as of March 2019)
" .vimrc
" Maintained by: Anand Sharma
" [email protected]
" 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
@indrayam
indrayam / FileIOTest1.java
Last active June 19, 2019 23:15
Simplest FileIO in Java (Part 1)
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";
@indrayam
indrayam / FileIOTest.java
Created June 19, 2019 23:15
Simplest FileIO in Java (Part 2)
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 {

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. 🔥

Get the tools

@indrayam
indrayam / keybindings.json
Last active August 7, 2020 20:18
VS Code Keyboard mappings (Aug 2020)
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+cmd+p",
"command": "projectManager.listProjects"
},
{
"key": "alt+cmd+p",
"command": "-projectManager.listProjects"
},
@indrayam
indrayam / sublime-settings.txt
Last active February 2, 2020 22:30
Sublime Text 3 Configuration (as of Feb 2020)
{
"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",
@indrayam
indrayam / sublime-plugins.txt
Last active February 15, 2020 19:30
All Sublime Text 3 Plugins (Feb 2020)
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"AdvancedNewFile",
"Alignment",
@indrayam
indrayam / vscode-projects.json
Last active January 6, 2021 00:23
VS Code Projects
[
{
"name": "nerd-notes",
"rootPath": "/Users/anasharm/Dropbox/workspace/documentation/nerd-notes",
"paths": [],
"group": "",
"enabled": true
},
{
"name": "personal-notes",
@indrayam
indrayam / intellij.txt
Created November 13, 2020 21:24
IntelliJ IDEA running Kotlin Code
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java -javaagent:/Users/anasharm/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.7319.50/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=49795:/Users/anasharm/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.7319.50/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Users/anasharm/local-workspace/kotlin-apps/head-first-kotlin/chapter-6/target/classes:/Users/anasharm/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.4.10/kotlin-stdlib-common-1.4.10.jar:/Users/anasharm/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.4.10/kotlin-stdlib-jdk8-1.4.10.jar:/Users/anasharm/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.4.10/kotlin-stdlib-1.4.10.jar:/Users/anasharm/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar:/Users/anasharm/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.4.10/kotlin-stdlib-jdk7-1.4.10.jar Chapter6Kt
/Library/Java/JavaVirtualMachines