Live data from Hacker News

Claude Code Cheat Sheet

cc.storyfox.cz

171–180 of 215 posts

Re: Claude Code Cheat Sheet

#171
post #162

I was told the hot new programming language was English

I tell people that too! It really is. You can actually program in english now, and you can run it interpreted and compiled. Most recent LLMs are almost reliable enough to just have them go at it. (Though I'd recommend sandboxing or ask-for-permissions just to be sure yet :-P )

Re: Claude Code Cheat Sheet

#172
post #135

Wow /insights is genuinely useful, perhaps CLI should be pushing that as a tip, if one has enough sessions, instead of keep nagging me about the frontend developer skill which I already have installed In general CLI could be more reliable and responsive though, it's a text based env yet sometimes feel like running windows 95 on 386dx It seems clear from the insights that some model is marking failure cases when thing…

> it's a text based env yet sometimes feel like running windows 95 on 386dx

They use nodejs and React. Yes, for real.

https://xcancel.com/trq212/status/2014051501786931427

Re: Claude Code Cheat Sheet

#175

Surprised that my most used flag `--dangerously-skip-permissions` is not on it

Fixed! I knew I forgot something haha. Also I added/fixed other things based on complaints from this thread.

Don't forget to add "IS_SANDBOX=1", otherwise --dangerously-skip-permissions will refuse to operate as root (in VMs and such).

Re: Claude Code Cheat Sheet

#176
post #162

I was told the hot new programming language was English

I tell people that too! It really is. You can actually program in english now, and you can run it interpreted and compiled. Most recent LLMs are almost reliable enough to just have them go at it. (Though I'd recommend sandboxing or ask-for-permissions just to be sure yet :-P )

Not quite - English might be the interface but knowing English isn't enough to understand what's happening, what to ask for, how to verify and guide the output.

Re: Claude Code Cheat Sheet

#177
post #2

I use Claude Code daily but kept forgetting commands, so I had Claude research every feature from the docs and GitHub, then generate a printable A4 landscape HTML page covering keyboard shortcuts, slash commands, workflows, skills system, memory/CLAUDE.md, MCP setup, CLI flags, and config files. It's a single HTML file - Claude wrote it and I iterated on the layout. A daily cron job checks the changelog and updates t…

> Ctrl+P to print. Works on mobile too. There’s something funny about this statement on a description of a key bind cheat sheet. I can’t seem to find ctrl on my phone and I think it may be cmd+p on mac.

Printing is possible on mobile, but I wouldn't go as far to say that it "works": https://ctrlv.link/8CWy

Re: Claude Code Cheat Sheet

#178

There’s actually a lot more environment variables: edit: removed obnoxious list in favor of the link that @thehamkercat shared below. My favorite is IS_DEMO=1 to remove a little bit of the unnecessary welcome banner.

https://code.claude.com/docs/en/env-vars

Curiously this is missing IS_SANDBOX=1 (allows running as root)
Post reply on HN