HackerTrans
トップ新着トレンドコメント過去質問紹介求人

GNOMES

no profile record

コメント

GNOMES
·3 か月前·議論
Are there plans to annotate the other two posters?
GNOMES
·4 か月前·議論
This sounds amazing. Hard to wrangle friends together to play a game, so giving a full day is great.

Ignoring Civ 2 vs Civ 5 differences, any experiancing hosting Unciv vs Freeciv?

https://github.com/freeciv/freeciv

https://github.com/yairm210/unciv
GNOMES
·5 か月前·議論
Thinking back to 2016 when Pogo launched there were news stories about trespassing, people getting hurt etc for virtual creatures...

I could easily see someone be foolish enough to go up to predators
GNOMES
·6 か月前·議論
This gets shared a ton, but the old Bell Labs video from 4:56 to 10:52 is still the best way I have seen pipes explained:

https://www.youtube.com/watch?v=tc4ROCJYbm0
GNOMES
·9 か月前·議論
This article is making me laugh.

Guy I used to play Diablo + Destiny with mentioned once that he had just sold a knife in CS for 4k, and was going to buy his first (used) car with it.

We thought he was joking.
GNOMES
·9 か月前·議論
I use my "dc" command to reverse "cd" frequently https://gist.github.com/GNOMES/6bf65926648e260d8023aebb9ede9...

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.
GNOMES
·10 か月前·議論
I have been testing this as a daily driver since the last big mention on HN to simplify my .bashrc file.

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...)
GNOMES
·昨年·議論
I had to do something like this with Ansible's get_url module once.

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