Skip to content

Instantly share code, notes, and snippets.

View entrofi's full-sized avatar
🧗‍♀️

Hasan Çomak entrofi

🧗‍♀️
View GitHub Profile
@entrofi
entrofi / tmux_cheatsheet.md
Last active July 9, 2024 06:26
tmux cheatsheet

Tmux CheatSheet

Session Management

tmux new -s session_name creates a new tmux session named session_name

tmux attach -t session_name attaches to an existing tmux session named session_name

tmux switch -t session_name switches to an existing session named session_name

@gwpantazes
gwpantazes / How to Install JDK MacOS Homebrew.md
Last active July 5, 2024 08:18
How to install different JDK versions on MacOS with Homebrew

How To Install Different JDK Versions on MacOS with Homebrew

Keywords: Java, JDK (Java Development Kit), MacOS, Homebrew, Specific Version

This how-to guide covers how to install different versions of the JDK on MacOS with Homebrew.

Table of Contents

@entrofi
entrofi / screenCheatSheet.md
Last active January 2, 2018 10:17
Screen Cheat Sheet

GNU Screen Cheat Sheet

Basics

  • ctrl a c -> cre­ate new win­dow
  • ctrl a A -> set win­dow name
  • ctrl a w -> show all win­dows
  • ctrl a 1|2|3|… -> switch to win­dow n
  • ctrl a " -> choose win­dow
  • ctrl a ctrl a -> switch between win­dow
@entrofi
entrofi / PrimeNumberCollector.java
Last active August 22, 2017 15:52
Java 8 Simple Custom Collector Showcase
import java.util.*;
import java.util.function.BiConsumer;
import java.util.function.BinaryOperator;
import java.util.function.Function;
import java.util.function.Supplier;
import java.util.stream.Collector;
import static java.util.stream.Collector.Characteristics.IDENTITY_FINISH;
@komasaru
komasaru / .tmux.conf
Last active March 13, 2022 17:29
tmux config(setting) file.
# ==== Basic
# Default shell
set-option -g default-shell /bin/bash
set-option -g default-command /bin/bash
# Allow UTF-8
set-window-option -g utf8 on
# Disable ESC delay
set-option -s escape-time 0
# ==== Reload config (r)