TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

DuckDuckGo ES6 Cheatsheet

326 pointsby redox_about 9 years ago

20 comments

sk8ingdomabout 9 years ago
I think people are missing the point. This isn&#x27;t as much about ES6 as it is about DDG. For example:<p>- <a href="https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=emacs+cheatsheet&amp;ia=cheatsheet&amp;iax=1" rel="nofollow">https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=emacs+cheatsheet&amp;ia=cheatsheet&amp;iax...</a><p>- <a href="https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=vim+cheatsheet&amp;ia=answer&amp;iax=1" rel="nofollow">https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=vim+cheatsheet&amp;ia=answer&amp;iax=1</a>
评论 #11155833 未加载
评论 #11155269 未加载
评论 #11155744 未加载
评论 #11155521 未加载
评论 #11157457 未加载
评论 #11155395 未加载
autoreleasepoolabout 9 years ago
I actually switched back to DuckDuckGo because I&#x27;ve found it&#x27;s a better way to use Google than google.com<p>The cheat sheets and the bang commands are awesome. The no tracking by default is obviously a great benefit.<p>When the results are not as good, or I have a feeling Google will do it better, I just prefix with !g in the search bar and with no additional hassle I have myself a Google search.<p>My search engine life has never been this good.
评论 #11157571 未加载
评论 #11157650 未加载
jkxyzabout 9 years ago
Honestly, I&#x27;ve been using DuckDuckGo exclusively for a few years now, and I still don&#x27;t use even half of the bangs or instant answer features. Occasionally the Wikipedia summaries are what I&#x27;m looking for, or I&#x27;ll !define something.<p>My point being, even without the power user features, it&#x27;s just a great search engine for everyday use.
评论 #11155785 未加载
hardwaresoftonabout 9 years ago
For those that are looking for a reason to try DDG out:<p>I use the DDG plugin for firefox (<a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;duckduckgo-for-firefox&#x2F;?src=userprofile" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;duckduckgo-fo...</a>) -- and I get to type things like:<p>!hn duckduckgo<p>!python multiprocessing<p>!ud swagtron<p>in my addressbar and get pretty quick amazing access to a bunch of sites I know about on the internet without setting up my own custom search options on the browser itself. It has saved me tons of time and is an awesome feature.<p>Of course, there are more reasons to choose DDG, but I remember being pretty wowed when I first saw someone else use the one I just mentioned
评论 #11157386 未加载
ghrifterabout 9 years ago
Are single quotes the preferred way of making strings nowadays then? It seems to be pretty common among new JS frameworks&#x2F;libraries source code that I see nowadays.<p><pre><code> var asdf = &quot;asdf&quot;; </code></pre> vs<p><pre><code> var asdf = &#x27;asdf&#x27;; </code></pre> I really haven&#x27;t been doing any JS programming for quite a while now.
评论 #11156215 未加载
评论 #11154950 未加载
评论 #11154951 未加载
评论 #11154982 未加载
评论 #11154954 未加载
评论 #11155058 未加载
评论 #11154946 未加载
评论 #11155191 未加载
shostackabout 9 years ago
Total side bar, but I always thought their brand name held them back. It really doesn&#x27;t roll off the tongue in a way conducive to becoming a verb (ie. &quot;Let me DuckDuckGo it&quot; vs. &quot;Let me Google it&quot;).<p>Curious how everyone else finds themselves working the brand name into discussions.
评论 #11155704 未加载
af16090about 9 years ago
Here&#x27;s a useful list of other shortcuts that DuckDuckGo provides: <a href="http:&#x2F;&#x2F;techglimpse.com&#x2F;duck-duck-go-search-engine-goodies-tricks&#x2F;" rel="nofollow">http:&#x2F;&#x2F;techglimpse.com&#x2F;duck-duck-go-search-engine-goodies-tr...</a><p>Some of my favorites:<p>expand [shortened URL] - (ex: expand <a href="http:&#x2F;&#x2F;tinyurl.com&#x2F;urlwiki" rel="nofollow">http:&#x2F;&#x2F;tinyurl.com&#x2F;urlwiki</a>) - See where a shortened URL points to<p>password [length] [weak&#x2F;strong] - (ex: password 15 strong) - Generate a password of n characters (with the usual disclaimer about generating passwords from a website)
tagawaabout 9 years ago
Related: We (DuckDuckGo) have a table of programming-related Instant Answers, including cheat sheets, that we&#x27;re trying to complete here, so you can see what&#x27;s currently available or waiting for a developer: <a href="https:&#x2F;&#x2F;github.com&#x2F;duckduckgo&#x2F;duckduckgo&#x2F;wiki&#x2F;Programming-IA-Coverage" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;duckduckgo&#x2F;duckduckgo&#x2F;wiki&#x2F;Programming-IA...</a>
prandoabout 9 years ago
VIM cheatsheet! Sweet.. <a href="https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=vim+cheatsheet&amp;ia=answer&amp;iax=1" rel="nofollow">https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=vim+cheatsheet&amp;ia=answer&amp;iax=1</a> duckduckgo simply gets better everytime and I&#x27;ve made it my default search engine. And like someone mentioned, if I find the results inadequate, I just !g it.
评论 #11155703 未加载
_lce0about 9 years ago
ddg keeps getting better and better and better<p>go duck duck go!!
评论 #11155111 未加载
harunurhanabout 9 years ago
Wow, cool feature from DuckDuckGo, it seems to be working well. If you want more detailed cheatsheet for ES6 <a href="https:&#x2F;&#x2F;github.com&#x2F;DrkSephy&#x2F;es6-cheatsheet" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;DrkSephy&#x2F;es6-cheatsheet</a> is a good one, I believe.
Wintamuteabout 9 years ago
Is this cheatsheet, and similar ones for other languages, somehow dynamically generated by DDG, or are they just producing and maintaining this content themselves? If the former, bravo! If the latter I fail to see how this is a scaleable approach for a search engine?
评论 #11155825 未加载
评论 #11155289 未加载
评论 #11155307 未加载
halayliabout 9 years ago
If you&#x27;re interesting in ES6, I highly recommend Exploring JS (<a href="http:&#x2F;&#x2F;exploringjs.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;exploringjs.com&#x2F;</a>)
harry8about 9 years ago
<a href="https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=latex+cheatsheet" rel="nofollow">https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=latex+cheatsheet</a> <a href="https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=latex+cheatsheet&amp;ia=cheetsheet&amp;iax=1" rel="nofollow">https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=latex+cheatsheet&amp;ia=cheetsheet&amp;iax...</a><p>:-(
评论 #11155814 未加载
评论 #11155858 未加载
gary4garabout 9 years ago
Tried the Golang cheatsheet, the rendering is broken. lots of &lt;br&gt; tags<p><a href="https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=golang+cheatsheet&amp;ia=answer&amp;iax=1" rel="nofollow">https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=golang+cheatsheet&amp;ia=answer&amp;iax=1</a>
jonesetcabout 9 years ago
Also works with &quot;es2015 cheatsheet&quot;<p><a href="https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=es2015+cheatsheet&amp;ia=answer&amp;iax=1" rel="nofollow">https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=es2015+cheatsheet&amp;ia=answer&amp;iax=1</a>
s9ixabout 9 years ago
Well, this just reminded me how awesome DDG is and made me switch! Thanks :)
ShakataGaNaiabout 9 years ago
Is there a printable version? Would be far more handy on my wall&#x2F;desk where I can reference it quickly.
评论 #11155495 未加载
评论 #11155359 未加载
vbezhenarabout 9 years ago
Is there some shortcut? &quot;cheatsheet&quot; is a long word to type.
评论 #11155350 未加载
fiatjafabout 9 years ago
&quot;read-only constants&quot;. This is a crazy thing to say and people are believing this.
评论 #11155057 未加载