Skip to content

Instantly share code, notes, and snippets.

View moeinxyz's full-sized avatar
🌐

Liam Manesh moeinxyz

🌐
View GitHub Profile
@moeinxyz
moeinxyz / README.md
Last active June 8, 2020 05:21
Integrate SDKMAN and Direnv

Direnv and SDKMAN integration

Motivation

In a time when you work on multiple projects with different development environments (mostly in JVM ecosystem), It's hard and repetitive work to change your env or java version, etc. I found the integration between sdkman and direnv as a solution for myself.

Requirments

  • Install sdkman SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems.
  • Install direnv direnv is an extension for your shell. It augments existing shells with a new feature that can load and unload environment variables depending on the current directory.
def gnome_sort(array):
size = len(array)
pos = 0
comparisons = 0
while pos < size:
comparisons += 1
if pos == 0 or array[pos] >= array[pos - 1]:
pos += 1
else:
@moeinxyz
moeinxyz / most-active-cookies.csv
Created February 7, 2024 14:31
most-active-cookies
cookie timestamp
AtY0laUfhglK3lC7 2018-12-09T14:19:00+00:00
SAZuXPGUrfbcn5UA 2018-12-09T10:13:00+00:00
5UAVanZf6UtGyKVS 2018-12-09T07:25:00+00:00
AtY0laUfhglK3lC7 2018-12-09T06:19:00+00:00
SAZuXPGUrfbcn5UA 2018-12-08T22:03:00+00:00
4sMM2LxV07bPJzwf 2018-12-08T21:30:00+00:00
fbcn5UAVanZf6UtG 2018-12-08T09:30:00+00:00
4sMM2LxV07bPJzwf 2018-12-07T23:30:00+00:00