Better HN
topnewbestaskshowjobs
Log inSign up

ysh7

44 karma · joined Sep 6, 2015 (11y ago) · 18 submissions

Submissions

comment 4y ago · link · parent

What if it is for mobile phones or tables? Everyone now a days knows to use android phone/tablets.

comment 4y ago · link · parent

This article's title is misleading, its rather solving issue with ssh key management under WSL.

ssh-agent management has been a non-issue on Linux.

- ssh-agent supports setting up custom socket path while starting up

    -a bind_address
    Bind the agent to the unix-domain socket bind_address. The default is /tmp/ssh-XXXXXXXXXX/agent.<ppid>.
- use SSH_AUTH_SOCK env var to instruct about the ssh-agent's socket path to programs that depend on it viz ssh and git.

- an option is available in ssh config (since 7.2) which lets you load the key when it is required (basically when you run ssh or git clone) or reload it when the ttl expires

    AddKeysToAgent
    Specifies whether keys should be automatically added to a running ssh-agent(1). If this option is set to yes and a key is loaded from a file, the key and its passphrase are added to the agent with the default lifetime, as if by ssh-add(1).
So start the ssh-agent with either xinitrc or systemd user units or even a simple shell conditional in bashrc/zshrc to check and start agent if its not already running. Now set SSH_AUTH_SOCK env var to the socket path set while running the agent.

For reference: https://unix.stackexchange.com/questions/339840/how-to-start...

comment 4y ago · link · parent

Not OP but i use ipecho.net

alias extip='curl -s http://ipecho.net/plain && echo || echo "Huh! No Internet?"'

comment 4y ago · link · parent

Here's another very similar project which follows the same concept and construct: https://jrnl.sh

PS. I am not the author or contributor just a daily user of it and i like it.

5.

S3: Plus sign is interpreted as space in the path part of URLs(forums.aws.amazon.com ↗)

97 points · by ysh7 · 9y ago · 46 comments

comment 9y ago · link · parent

Its fine to have it on the right side but it would be better to have a preference setting to allow having it on the side user wants.

comment 9y ago · link · parent

Just like me, if someone else is wondering what this is then [1].

[1] https://botlist.co/bots/2433-hirebae

comment 10y ago · link · parent

> If I recall correctly, CentOS and RHEL will use the device-mapper driver by default and CoreOS the btrfs

CentOS & RHEL uses device-mapper with loopback device by default (and logs "Usage of loopback devices is strongly discouraged for production use. Either use --storage-opt dm.thinpooldev or use --storage-opt dm.no_warn_on_loop_devices=true to suppress this warning". Also related article [1]

CoreOS uses overlayfs by default now from a while [2]

[1] http://www.projectatomic.io/blog/2015/06/notes-on-fedora-cen...

[2] https://lwn.net/Articles/627232/

comment 10y ago · link · parent

That comparison looks inaccurate. Shipyard does support tagging images. Also will support Swarm [1] mode (and volume/ network support)

[1] https://github.com/shipyard/shipyard/pull/837

comment 10y ago · link · parent

A similar project[1] which is also open source[2] and looks a lot similar.

[1] https://shipyard-project.com/

[2] https://github.com/shipyard/shipyard

comment 10y ago · link · parent

Not sure, what was the point of this post.

comment 10y ago · link · parent

Not sure how Spotify ended up using GCE instead of any other providers. The downtime story was hilarious.

comment 10y ago · link · parent

Still it is used by StackExchange

comment 10y ago · link · parent

Looks similar to Deis, at least from the title

comment 10y ago · link · parent

Great news!! Yet is vagrant a real contributor? Or someone messed up his git user.name?

comment 10y ago · link · parent

Disclaimer didn't say you are the CEO.

I hope this guy does this again here, https://news.ycombinator.com/item?id=11379475

comment 11y ago · link · parent

Better way to describe it was "like SQLite"