486 karma · joined Apr 6, 2012 (14y ago) · 88 submissions
comment 2w ago · link · parent
def _decoded(value: str) -> str:
# git and acli put the token in the password half of Basic auth.
if value.startswith("Basic "):
return base64.b64decode(value[len("Basic ") :]).decode()
return value
def _substitute(value: str, placeholder: str, secret: str) -> str:
if value.startswith("Basic "):
return "Basic " + base64.b64encode(_decoded(value).replace(placeholder, secret).encode()).decode()
return value.replace(placeholder, secret)3.
I made sandboxed development feel like local development(artem.rocks ↗)
1 points · by artemave · 2w ago · 2 comments
comment 1mo ago · link · parent
So I wrote hop[1], which uses sway workspaces instead of tmux sessions. Terminals, editors, browsers, or any other windows really, can now all belong to the same project.
What I hadn't quite anticipated was how liberating it would feel to use the system's own tools - windows, workspaces, clipboard, scrollback, etc. - instead of tmux's alternatives. No more two layers of window management or competing keybindings.
On top of that, hop has proven to be a great fit for working in sandboxed environments. With tmux, sessions are tied to a tmux server running on a particular machine or inside a particular container. With hop, local, containerized or remote (or both) are all allied under one banner.
I realise most folks won't be able to use it - it requires rather extravagant tool choices (notably, sway) - but it's an interesting experiment nonetheless. And it's been working great for me for months now.
5.
Show HN: I replaced tmux with sway workspaces(github.com ↗)
1 points · by artemave · 1mo ago · 1 comment
comment 1mo ago · link · parent
hop does take it a notch further and allows to `hop open` images (or any binary really) from the remote machine such that they are opened by your host's xdg-open (as well as pasting images from host to remote).
comment 1mo ago · link · parent
I wrote a session manager[1] to handle all that. Linux/sway/kitty only though.
comment 1mo ago · link · parent
So claude and I grew the replacement over the course of a few months. Really happy with it. Never looked back.
11.
Show HN: Hop – project sessions beyond tmux(github.com ↗)
1 points · by artemave · 2mo ago · discuss
comment 4mo ago · link · parent
comment 5mo ago · link · parent
- https://github.com/artemave/artwall rotates my desktop wallpaper through random paintings (Linux, SwayWM)
- I get my TILs through https://t.me/daily_bite_sized_fun_fact
- https://t.me/tolmach_forward_bot helps me practice French reading
- https://mini-meet.artem.rocks/ was an attempt to circumvent RKN (russians) blocking video calls; not a complete success, but works for some people
- counted the number of dudes in Big Lebowski with https://github.com/artemave/super_video_grep (https://www.youtube.com/watch?v=V7EUtIbOd1w)
comment 9mo ago · link · parent
I don't think it's useful to anyone - not white label, not open source - but still funny :)
comment 1y ago · link · parent
comment 2y ago · link · parent
if [ -z "$1" ]; then
name="$(basename $PWD)"
name="${name//\./-}"
else
name=$1
fi
tmux has -t "=$name" && tmux attach -t "$name" && exit
tmux new-session -d -s "$name" -n shellcomment 2y ago · link · parent
Hey there! With over fifteen years of web development experience, I specialize in all things Rails and Node.js. Whether you're starting from scratch or need help untangling a legacy stack, I'm here to lend a hand!
Drop me a line at hello@artem.rocks , and let's get the ball rolling!
META:
Technologies: Node.js (javascript/typescript), Rails, React, Flutter
Location: France
Remote: only
Language: English fluent, French intermediate
Availability: right now
Website: https://artem.rocks/
comment 2y ago · link · parent
Technologies: Node.js (javascript/typescript), Rails, React, Flutter
Location: France
Remote: only
Language: English fluent, French intermediate
Availability: right now
Website: https://artem.rocks/
Hello, I am a seasoned full-stack web developer with over fifteen years of experience. Throughout my career, I've mainly gone back and forth between Rails and Node, with occasional forays into SPAs. I worked with a variety of clients - from small startups to enterprises.
I like to understand the business before coding. I like to translate this understanding into automated scenarios and tests. I prefer clear over clever. I like to deploy fast, small, and often. I like to know about problems in production before the users. I like to talk to the users. I like to talk to the business. I like to talk to the colleagues and pair programming. And, above all, I like coding - it's not just a job, it's a passion.
comment 2y ago · link · parent
Technologies: Node.js (javascript/typescript), Rails, React, Flutter
Location: France
Remote: only
Language: English fluent, French intermediate
Availability: right now
Website: https://artem.rocks/
Hello, I am a seasoned full-stack web developer with over fifteen years of experience. Throughout my career, I've mainly gone back and forth between Rails and Node, with occasional forays into SPAs. I worked with a variety of clients - from small startups to enterprises.
I like to understand the business before coding. I like to translate this understanding into automated scenarios and tests. I prefer clear over clever. I like to deploy fast, small, and often. I like to know about problems in production before the users. I like to talk to the users. I like to talk to the business. I like to talk to the colleagues and pair programming. And, above all, I like coding - it's not just a job, it's a passion.
comment 2y ago · link · parent
I also spent years searching for a way to open file links in vim (all within a tmux session). Ended up writing it: https://github.com/artemave/tmux_super_fingers
comment 2y ago · link · parent
Technologies: Node.js (javascript/typescript), Rails, React, Flutter
Location: France
Remote: only
Language: English fluent, French intermediate
Availability: right now
Website: https://artem.rocks/
Hello, I am a seasoned full-stack web developer with over fifteen years of experience. Throughout my career, I've mainly gone back and forth between Rails and Node, with occasional forays into SPAs. I worked with a variety of clients - from small startups to enterprises.
I like to understand the business before coding. I like to translate this understanding into automated scenarios and tests. I prefer clear over clever. I like to deploy fast, small, and often. I like to know about problems in production before the users. I like to talk to the users. I like to talk to the business. I like to talk to the colleagues and pair programming. And, above all, I like coding - it's not just a job, it's a passion.
comment 3y ago · link · parent
[1]: https://starlogs.dev/ (the domain has changed since the original post)
[2]: https://www.reddit.com/r/programming/comments/1c72lb/starwar...
27.
R/programming: how a post went from 1k upvotes to a ban in 10 years
1 points · by artemave · 3y ago · 5 comments