Compare commits

..

No commits in common. "bad435e330d6c2f8cf665c320a20027eade6648e" and "94b623494e10dd3301f146cec242873cd413184c" have entirely different histories.

4 changed files with 1 additions and 163 deletions

View file

@ -1,60 +0,0 @@
# custom helix config
# mahmad2000@protonmail.com
# custom theme
theme = "molokai-terminal"
# editor settings
[editor]
scrolloff = 2
bufferline = "always"
auto-completion = false
auto-info = false
color-modes = true
[editor.statusline]
left = ["mode", "spacer", "file-name", "read-only-indicator", "file-modification-indicator", "file-encoding"]
center = ["position", "spacer", "register"]
right = ["diagnostics", "spacer", "version-control"]
[editor.lsp]
auto-signature-help = false
[editor.cursor-shape]
normal = "underline"
insert = "bar"
[editor.whitespace.render]
tab = "all"
[editor.indent-guides]
render = true
[editor.gutters]
layout = ["diagnostics", "line-numbers", "diff"]
[editor.gutters.line-numbers]
min-width = 4
# keybinds
# make yank change/delete deliberate instead of default
[keys.normal]
d = "delete_selection_noyank"
A-d = "delete_selection"
c = "change_selection_noyank"
A-c = "change_selection"
# less cursed insert movement if fat fingered a key
[keys.insert]
"C-left" = "move_prev_word_end"
"C-right" = "move_next_word_start"
# buffer control mode
[keys.normal."b"]
d = ":buffer-close"
n = "goto_next_buffer"
p = "goto_previous_buffer"
t = ":new"

View file

@ -1,89 +0,0 @@
# Terminal dark theme with bold and italics
# mahmad2000@protonmail.com
# base ui
"ui.menu" = { fg = "gray", bg = "black" }
"ui.menu.selected" = { modifiers = ["reversed"] }
"ui.window" = { bg = "black" }
"ui.popup" = { fg = "light-blue", bg = "black" }
"ui.help" = { fg = "white", bg = "black" }
# gutter opts
"ui.linenr" = { fg = "light-gray", bg = "black" }
"ui.linenr.selected" = { fg = "yellow", bg = "black", modifiers = ["bold"] }
"ui.gutter" = { bg = "black" }
"diff.plus" = "light-green"
"diff.minus" = "light-red"
"diff.delta" = "light-yellow"
"error" = "light-red"
"warning" = "yellow"
"debug" = "gray"
"info" = "light-blue"
"hint" = "light-blue"
# status-line
"ui.statusline" = { fg = "light-gray", bg = "black" }
"ui.statusline.insert" = { fg = "cyan", modifiers = ["italic"] }
"ui.statusline.select" = { fg = "magenta", modifiers = ["bold"] }
"ui.statusline.normal" = "light-gray"
# cursor
"ui.selection" = { fg = "gray", modifiers = ["reversed"] }
"ui.cursor" = { fg = "light-gray", modifiers = ["reversed"] }
"ui.cursor.primary" = { fg = "light-gray", modifiers = ["reversed", "slow_blink"] }
# misc visual helpers
"ui.virtual" = "gray"
"underline.style" = "curl"
"diagnostic" = { modifiers = ["underlined"] }
"ui.text.focus" = { fg = "yellow", modifiers = ["bold"] }
# syntax coloring and modifiers
"attribute" = "green"
"type" = "light-blue"
"type.builtin" = { fg = "light-blue", modifiers = ["bold"] }
"type.enum.variant" = { fg = "green" , modifiers = ["bold"] }
"constructor" = { fg = "green", modifiers = ["italic"] }
"constant" = "red"
"constant.builtin" = { fg = "red", modifiers = ["italic"] }
"constant.character" = "cyan"
"constant.character.escape" = { fg = "red", modifiers = ["italic"] }
"constant.numeric" = "red"
"string" = "cyan"
"string.regexp" = { fg = "cyan", modifiers = ["italic"] }
"string.special" = { fg = "cyan", modifiers = ["bold", "italic"] }
"comment" = { fg = "gray", modifiers = ["italic"] }
"variable" = "blue"
"variable.builtin" = { fg = "blue", modifiers = ["bold"] }
"variable.parameter" = { fg = "blue", modifiers = ["italic"] }
"variable.other.member" = "green"
"punctuation.delimiter" = "light-gray"
"keyword.control" = "light-magenta"
"keyword.operator" = "light-magenta"
"keyword.function" = { fg = "light-magenta", modifiers = ["italic"] }
"keyword.directive" = { fg = "magenta", modifiers = ["bold", "italic"] }
"keyword.storage.type" = "light-cyan"
"keyword.storage.modifier" = { fg = "light-cyan", modifiers = ["italic"] }
"operator" = "light-red"
"function.builtin" = { fg = "white", modifiers = ["italic"] }
"function.macro" = { fg = "white", modifiers = ["bold", "italic"] }
"function.method" = { fg = "white", modifiers = ["bold"] }
"function.special" = { fg = "white", modifiers = ["bold", "italic"] }
"function" = "white"
"tag" = "magenta"
"tag.builtin" = { fg = "magenta", modifiers = ["bold"]}
"namespace" = "red"
"special" = { fg = "red", modifiers = ["italic"]}

View file

@ -2,17 +2,15 @@ import json
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import numpy, pandas import numpy, pandas
import requests import requests
import sys
sst_urls = { sst_urls = {
"world": "https://climatereanalyzer.org/clim/sst_daily/json/oisst2.1_world2_sst_day.json", "world": "https://climatereanalyzer.org/clim/sst_daily/json/oisst2.1_world2_sst_day.json",
"natlan": "https://climatereanalyzer.org/clim/sst_daily/json/oisst2.1_natlan1_sst_day.json" "natlan": "https://climatereanalyzer.org/clim/sst_daily/json/oisst2.1_natlan1_sst_day.json"
} }
print(sys.argv[1])
start_range = 29 start_range = 29
start_year = 1982 start_year = 1982
res = requests.get(sst_urls[list(sst_urls)[int(sys.argv[1])]]) res = requests.get(sst_urls['world'])
data = json.loads(res.text) data = json.loads(res.text)
data = data[1:-3] data = data[1:-3]

View file

@ -1,11 +0,0 @@
## All Code changes for lazygal
- setup.py
remove `setuptools.log.info`, incorrect use breaks setup
- mediautils.py
change to codec copying, saves time and videos are pre-compressed av1 is smaller anyway
- sourcetree
add `'.webp': ImageFile` to `FORMATS` for inbuilt PIL webp support