6 ms·
Devhints: A collection of developer cheatsheets
- kjullien 8y agoWhat are the advantages of using this over tldr[1] or cheat[2] ? [1] https://github.com/tldr-pages/tldr https://github.com/tldr-pages/tldr [2] https://github.com/chubin/cheat.sh https://github.com/chubin/cheat.sh
- asutekku 8y agoOne that I could think of is that you're using a system with strict permissions so you can't install or use either of them. And after looking at how cheat.sh works I wouldn't use a tool that requires me to curl everything. Some may like to use it, but I prefer not to.
- nikisweeting 8y agoCheat (not Cheat.sh) doesn't require any admin permissions to install (with homebrew at least) https://github.com/chrisallenlane/cheat https://github.com/chrisallenlane/cheat
- akuji1993 8y agoHonestly, it's more work to use the curl command and for some examples I've tried with cheat.sh I didn't get any answer, which then costs me even more time to look up the actual answer. Your tool tells me from the start, what I can get and what I can't get. So I go on the site, write down the language/framework/whatever and get an answer. Better UX and to be honest, way better and modern UI.
- tjoff 8y agoI'm aware of [1] and [2] but never used them, honestly they seem to be a bit too much for the problem they try to solve. I could be wrong since I haven't used them, but that impression is why I haven't even tried. I appreciate that this is quite low-friction. One click and I can see quick examples of bash (which I don't script enough in to be comfortable with the syntax). But regardless I'm not super keen on cheat-cheets in general either.
- kjullien 8y agoI don't understand exactly how this is low-friction in any possible way... 1. Open browser -> Go to devhints -> search for "dd" -> select doc 2. Open term -> type tldr dd Another thing that is missing is offline access, localStorage integrates in minutes... I simply feel like this is someone trying to reinvent the wheel and also that this medium (a website) might not be the best way to do that. Sure it has a pretty frontend and a somewhat decent user experience for a web "app", but I (and probably many more devs) spend about 90% of my day in my terminal...
- tjoff 8y agoInstalling something means to open a browser in the first place, do research, install it, and then launch it and figure out how to use it. Many many orders of magnitudes worse. Yes, the benefit comes from already having it installed and knowing how to use it next time. I'm saying that the problem it solves isn't worth going through all that hassle even once.
- Kagerjay 8y agoUnrelated comment but how did they make the gif so long on cheat.sh? The file was only a small size of 621kb and almost 1 minute long
- akuji1993 8y agoI really like this. Nice, easy UI, small and simple code examples. I'd see myself using this a lot for stuff I'm not 100% sure about. Nice work.
- memco 8y agoLooks great and helps lay out certain things in a concise manner. Seeing some visual bugs with headings. https://devhints.io/xpath https://devhints.io/xpath for example, currently has misaligned sub headers for most of the sections.
- na85 8y agoFor the Mac users interested in this, I highly recommend Dash[0], which is an awesome offline alternative and has some ui integration as well. Works on the plane, unlike a website. [0] https://kapeli.com/dash https://kapeli.com/dash
- jhabdas 8y agoDash has a nice landing page but, after trying it personally a few years ago, didn't care much for its portability or pricing and ended up going with devdocs.io in a pinned tab for the majority of my web development needs.
- mvdwoord 8y agoI have been on the road a lot and with spotty connections, the offline capabilities of Dash are unsurpassed. Also, offline copy of Stackoverflow is golden.
- akuji1993 8y agoAlso I don't really like pages that don't immediately tell me what I get for free and what I will have to pay for. If you will put all your good features behind a paywall, I don't have to waste time downloading a trial. Other way, if you don't tell me I'm going to get pretty much everything I need for free, just with some small limitations, I might not try it, just because I think it's not worth it, without knowing what I get.
- arpit9211 8y agoThe nocode cheatsheet is pretty darn helpful. I couldn't find it anywhere else. Thumbs up.
- ChrisSD 8y agoIt's odd that nocode uses the Apache 2 license. I'd have thought they'd go for something that is maximally permissive so that nocode could be used in all applicable situations.
- aldoushuxley001 8y agoLooks very nice, like how it's organized. But the cheatsheets I was intersted in aren't complete. Namely, I'd love to use a more complete bulma cheet sheet, likewise, if you ever get around to adding Django, that'd be phenomenal too! Anyway, great looking site, good job.
- fencepost 8y agoIf you know of improvements, you may be able to submit them via the github repo: https://github.com/rstacruz/cheatsheets https://github.com/rstacruz/cheatsheets
- jhabdas 8y agoI guess all it needs now is a sweet SVG favicon?
- Torakfirenze 8y agoThis looks like a really useful resource that I will inevitably forget to ever use in the future and will instead, continue to google/stackoverflow programming questions.
- jhabdas 8y agothat's why God created pinned tabs
- gymshoes 8y agoTIL about pinned tabs
- y4mi 8y agostill surprising that God possessed several developers just to force them to implement such a feature in specific browsers. i think the EU should open another case of favoritism and give out penalties against these browser vendors. Thats definitely an unfair advantage if God is helping in their development.
- anacleto 8y agoFrom ES6 section, first thing I notice: > let is the new var. Constants work just like let, but can’t be reassigned. See: Let and const I say it once, I say it one thousand times: "Let is not the new Var". They certainly have some similar behaviors but surely they do communicate very different things to a developer who is reading the code. let: "you shouldn't/can't edit outside this block scope" var: "feel free to change me whenever you want inside this scope (whether it's global or function) JS stuff aside, this is actually very helpful.
- ChrisSD 8y agoI think the point being made is that `var` used to be the default assignment operator due to a lack of better options. This has now changed. And it's debatable whether `var` is still useful given its "odd" (i.e. unexpected) behaviour. Personally I'd go further and say `const` should be used by default and `let` should be reserved for when you really need it.
- fencepost 8y agoNot sure how much this overlaps, but I also have this bookmarked: http://overapi.com/ http://overapi.com/ "collecting all cheat sheets," repo at https://github.com/overthecs/overthecs.github.io https://github.com/overthecs/overthecs.github.io but I don't see a lot of changes in the past few years.
- cavneb 8y agoDevhints is a go-to for me with Elixir-related questions. Insanely well put together!