Skip to content

Instantly share code, notes, and snippets.

View Sarctiann's full-sized avatar
🇦🇷

Sebastian Atlántico Sarctiann

🇦🇷
  • AtlanticWorkshopp
  • Corrientes, Argentina
View GitHub Profile
#!/usr/bin/env -S v -raw-vsh-tmp-prefix tmp run
import v.pref { vexe_path }
import term { magenta }
system('v up')
chdir(dir(vexe_path()))!
c := magenta
@Sarctiann
Sarctiann / mypy.ini
Last active September 12, 2023 14:57
mypy configuration to avoid third party warns and errors
[mypy]
# follow_imports = 'skip'
# follow_imports_for_stubs = True
ignore_missing_imports = True
disallow_untyped_calls = False
disallow_untyped_decorators = False
disable_error_code = attr-defined, name-defined, no-any-return
warn_unused_ignores = True
strict = True
@Sarctiann
Sarctiann / .gitpod.yml
Last active April 2, 2024 18:11
Gitpod-Mojo
# List the start-up tasks. Learn more: https://www.gitpod.io/docs/configure/workspaces/tasks
tasks:
- name: Install Modular & Mojo
before: |
eval $(command gp env -e)
command: |
curl https://get.modular.com | MODULAR_AUTH=$MODULAR_AUTH sh -
modular install mojo
echo 'export MODULAR_HOME="/home/gitpod/.modular"' >> ~/.zshrc
echo 'export PATH="/home/gitpod/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.zshrc
#!/usr/bin/env bash
set-option -g focus-events on
set-option -sg escape-time 10
set-option -g default-shell /bin/zsh
setw -g status-position top
set -g mouse on
# Start windows and panes at 1 for better ergonomics when switching between them.
set -g base-index 1
-- remember, doc comments starts with --- (three dashes).
local a = collectgarbage("count") * 1024
--- Docs for SuperClass (this is a Metatable)
local SuperClass = {
__tostring = function()
return "SuperClass.__tostring method."
end,
}
-- remember, doc comments starts with --- (three dashes).
local a = collectgarbage("count") * 1024
local function SuperClassBuilder()
--- Docs for the SuperClass instance
--- @class SuperClass
local self = {
--- Docs for inherited_method (public)
inherited_method = function()
-- remember, doc comments starts with --- (three dashes).
local a = collectgarbage("count") * 1024
--- Docs for SuperClass (this is a Metatable)
local SuperClass = {
__tostring = function()
return "SuperClass.__tostring method."
end,
}
local wezterm = require("wezterm")
-- "./config/wezterm/local_values.lua"
local local_values = require("local_values")
local config = wezterm.config_builder()
local mux = wezterm.mux
wezterm.on("gui-attached", function(_)
-- maximize all displayed windows on startup