337 karma · joined Aug 17, 2018 (8y ago) · 113 submissions
comment 2mo ago · link · parent
https://gist.github.com/GNOMES/6bf65926648e260d8023aebb9ede9...
I use this often instead of chaining together multiple '../..'.
Also nice for when I use Zoxide to CD into a deep nested directory. I quickly found out unless you manually CD each hop, the different parent directories aren't added to your Zoxide DB. (I have come across snippits to recursively CD into all directories in a path to "prepopulate" Zoxide).
I made this to jump directly from say `/foo/bar/batz/abc/123` to `/foo/bar/batz`.
comment 8mo ago · link · parent
Ignoring Civ 2 vs Civ 5 differences, any experiancing hosting Unciv vs Freeciv?
comment 1y ago · link · parent
Ex:
> echo $PWD
/foo/bar/batz/abc/123
> dc bar && echo $PWD
/foo/bar
Useful for times when I don't want to type a long train of dot slashes(ex. cd ../../..).Also useful when using Zoxide, and I tab complete into a directory tree path where parent directories are not in Zoxide history.
Added tab complete for speed.
comment 1y ago · link · parent
I use it with `eval "$(zoxide init bash --cmd cd)"` so I can continue to use CD due to muscle memory.
- I like that if there are multiple /foo directories known by Zoxide, say /foo/ and /abc/foo/, that you can do `cd abc foo` to go the path containing both.
- I am not a fan of having to do `cd foo**` for tab completion to folders outside CWD. I feel it slows me down as a tab complete fanatic.
- Also don't enjoy if I `cd foo/bar/batz` directly, then try `cd bar`, Zoxide has no reference. You would need to CD into each directory individually to build the database. I have seen scripts kicking around online to put a complete directory structure into Zoxide database by CD'ing to each subdirectory for you.
Not sure if I am officially sold, or I'll go back to aliases and simple tab completes forwards, and backwards (logic I use for tab complete backwards to exact directory name backwards from CWD instead of `cd ../../../etc` https://gist.github.com/GNOMES/6bf65926648e260d8023aebb9ede9...)comment 1y ago · link · parent
I did come up with Ghostty bindings to replicate my tmux settings if it helps anyone (my tmux leader is ctrl + space):
# clear default bindings + add paste back
keybind=clear
keybind=super+v=paste_from_clipboard
# navigate panes
keybind=ctrl+h=goto_split:left
keybind=ctrl+j=goto_split:bottom
keybind=ctrl+k=goto_split:top
keybind=ctrl+l=goto_split:right
keybind=ctrl+space>shift+apostrophe=new_split:down
keybind=ctrl+space>shift+five=new_split:right
keybind=ctrl+space>space=equalize_splits
keybind=ctrl+space>z=toggle_split_zoom
# navigate tabs
keybind=ctrl+space>c=new_tab
keybind=ctrl+space>one=goto_tab:1
...
keybind=ctrl+space>zero=goto_tab:10comment 1y ago · link · parent
Was having issues getting module to download an installer from a vendors site.
Played with Curl/WGET, but was running into the same, while it worked from a browser.
I ended up getting both Curl + get_url to work by passing the same headers my browser sent such as User-Agent, encoding, etc
comment 1y ago · link · parent
The whole some may consider it "legally selling your data" proves this is not just a Terms of Use change in good faith.
comment 1y ago · link · parent
https://gist.github.com/GNOMES/6bf65926648e260d8023aebb9ede9...
comment 1y ago · link · parent
Every morning I open a bookmarks folder with my dailies (news/blogs/Wordle/XKCD etc) that includes https://mrotherguy.github.io/fx-nightly-changelog/, and CTRL+F hoping for Fission on Fenix :(
comment 2y ago · link · parent
Has this gone away?
comment 2y ago · link · parent
I can't stand that almost all of the games seem to have a pay to win aspect, or are heavily advertising every chance they get.
As a gamer dad, I try to show my kid better games to play, but because they aren't free, his friends can't play. Just drives him to keep playing and wanting more Robux. It's compounded when his favorite Youtubers play...
Seriously don't understand how Roblox isn't being investigated for predatory practices. I imagine they can hide behind the fact users are making most of the mini games, and they are just providing a platform.
comment 2y ago · link · parent
comment 2y ago · link · parent
I know the US is skewed towards iOS, but Android is the #1 mobile OS, presumably due to cheap devices.
Is there a stat showing Samsung is largest manufacturer? I found this, but company market cap != number of devices obviously
https://finance.yahoo.com/news/16-biggest-smartphone-compani...
It looks like there are 20+ manufacturers in the Open Handset Alliance: https://en.wikipedia.org/wiki/Open_Handset_Alliance
comment 2y ago · link · parent
I envision batteries + motor/bio fuel cell in the trunk or something. I believe Mazda is looking into electric motors inside of wheels/hubs and Honda was exploring hydrogen in push rod engines.
I come from a hot rod family, so I understand your point on classics. Perfect example is a T-bucket vs a Model T.
comment 2y ago · link · parent
--
Imagine a fairly priced "off the shelf kit" to convert existing cars:
1) Wide spread adoption of renewable energy, reducing fears of range anxiety, more demand for charging/fuel stations.
2) Dealers can option existing inventory as renewable, possibly increasing sales/profits
3) Would increase jobs/expertise in the mechanic and after market industries.
4) Keeps existing cars out of the scrap yards/land fills. Cut on manufacturing pollution of new cars.
5) Hobbyists and collector car owners could convert their cars as well.
Negatives that kill the idea:
1) Would cut into automaker profits, so I doubt lobbyist support/government incentives
2) Would hurt adoption of new safety features. Insurance companies go womp womp.