Tag Archives: Python

Find Code Faster Than Ever

I have something really cool to share with you guys before you head off for the weekend!🕺🎉

An amazing new tool called Snipt.dev launched yesterday. It makes searching for code to re-use easier than ever.

Snipt.dev is a project by Codiga, an awesome “Grammarly for code” tool in which I’m an investor.

I briefly introduced you to Snipt.dev yesterday, but today I’m turning the blog over to creator Julien Delenge to explain what makes this tool so special:

Snipt: Search Engine for Code Snippets

We are excited to announce the release of snipt.dev, a search engine to help engineers find safe and reliable code patterns. Code Snippets are very popular for developers but the ecosystem of tools is very fragmented and not unified. Developers are often looking for snippets to use and spend hours searching on Google, StackOverflow or Sourcegraph.

To help developers find the right code snippet, we built snipt.dev: a one-stop shop for searching for code you can reuse.

But first, what is a Code Snippet?

Code Snippet is a block of code you can share and reuse. By reusing safe and proven code, you not only improve your productivity but you also make sure you always import the correct code and are not missing anything (e.g. missing argument, not checking error code or exceptions).

By using rock-solid, proven code, you avoid many common pitfalls and mistakes developers already did. You find the correct block of code to reuse to focus on what matters: shipping code and improving a product.

Why use Code Snippets?

Writing code is quite complex and requires having a really good knowledge of the language and libraries you are using. Even with languages with lots of abstractions, it is often hard to follow the code path and understand how code actually works! Sharing and using vetted code patterns directly in your IDE maximizes your productivity but also make sure you are using the correct code block for your job!

So now, what is snipt.dev?

snipt.dev is a new platform for searching code snippets. It includes a semantic analysis feature that detects what framework, library, or language you are looking for and optimizes the search results based on your criteria. For example, if you look for “react typescript”, the engine will only show snippets related to TypeScript while “react javascript” will show you only snippets related to JavaScript (and obviously, react).

snipt.dev is built to be blazing fast: a request takes just a few milliseconds to come back to you. As with most search engines, results are suggested as you type, showing you the most relevant snippets for your query.

Adding your own snippets

The engine indexes and searches snippets from the Codiga platform. To add your own snippet to snipt.dev, simply add snippets on the Codiga platform: they will be automatically indexed and visible on snipt.dev. Adding snippets is very easy and can be done directly from your IDE using Codiga plugin (see VS CodeJetBrains, or Chrome plugins). You can find more information in the Contribute section of snipt.dev

Open-Source

snipt.dev has been designed using popular open-source libraries (NextJs, GraphQL) and it was natural for us to share this project with the community. You can find this project on GitHub. If you have any comments or issues to report, please open an issue on the GitHub project.

Pretty cool, eh? Have a great weekend everyone! đź‘‹

If you found this post interesting, please share it on Twitter/Reddit/etc. This helps more people find the blog! 

Save Money on Stuff I Use:

Fundrise

This platform lets me diversify my real estate investments so I’m not too exposed to any one market. I’ve invested since 2018 and returns have been great so far.

More on Fundrise in this post.

If you decide to invest in Fundrise, you can use this link to get your management fees waived for 90 days

Misfits Market

My wife and I have gotten organic produce shipped to our house by Misfits for over a year. It’s never once disappointed me.

Every fruit and vegetable is super fresh and packed with flavor.

I thought radishes were cold, tasteless little lumps at salad bars until I tried theirs! They’re peppery, colorful and crunchy!

I wrote a detailed review of Misfits here.

Use this link to sign up and you’ll save $10 on your first order. 

Awesome New Code Search Tool Launched Today!

Never miss a post…subscribe!

Hey guys! đź‘‹

I don’t usually do 2 posts in a day, but this is too cool not to share with you right away!

Just this morning, an amazing new search engine for code snippets launched on Product Hunt!

It’s called Snipt.dev.

Rather than endless searches on Stackoverflow or Google, you can quickly find the code you need and get back to building.

This is a project of Codiga, an incredible startup I’m an investor in. It’s basically Grammarly for code and can substantially improve your productivity.

I plan to have a lot more information on this awesome tool here for you tomorrow, but until then, give Snipt.dev a try and save yourself some valuable time!

More on tech:

Codiga: Grammarly for Code

The True Story Behind WeCrashed

How to Ace a 3 Minute Pitch

Never miss a post…subscribe!

If you found this post interesting, please share it on Twitter/Reddit/etc. This helps more people find the blog! 

Save Money on Stuff I Use:

Fundrise

This platform lets me diversify my real estate investments so I’m not too exposed to any one market. I’ve invested since 2018 and returns have been great so far.

More on Fundrise in this post.

If you decide to invest in Fundrise, you can use this link to get your management fees waived for 90 days

Misfits Market

My wife and I have gotten organic produce shipped to our house by Misfits for over a year. It’s never once disappointed me.

Every fruit and vegetable is super fresh and packed with flavor.

I thought radishes were cold, tasteless little lumps at salad bars until I tried theirs! They’re peppery, colorful and crunchy!

I wrote a detailed review of Misfits here.

Use this link to sign up and you’ll save $10 on your first order.