Skip to content

Instantly share code, notes, and snippets.

View manoj2411's full-sized avatar

Manoj Kumar Sehrawat manoj2411

View GitHub Profile
@manoj2411
manoj2411 / java_driver_gfg
Last active November 9, 2020 04:09
Java driver code for array for Geekforgeek practice
import java.util.*;
import java.lang.*;
import java.io.*;
class GFG {
public static void main (String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int tests = Integer.valueOf(br.readLine());
@manoj2411
manoj2411 / shortcuts.md
Last active March 6, 2022 15:59
Useful shortcuts

IntelliJ

  • clicking through on the method name, pressing ⌥ ⌘ B while the cursor is on the method name
  • ⌥ ⏎ is to create missing class, method etc
  • press ⌃ ⇧ R to run this individual test.
  • Highlight the code you want to extract to a variable and press ⌥ ⌘ V (macOS)
  • Highlight the code you want to extract to a method and press ⌥ ⌘ M (macOS)
  • View all the methods available in a given Interface or Class fn + ⌘ + F12