Dev Useful Stuff
2.02K subscribers
2 photos
337 links
Here you can find some interesting links to development libraries, frameworks, tools, plugins and articles
Download Telegram
The distributed services (or, microservices) debugging is a pain. If you've ever tried to debug more than 2 services working together, you can't forget all the suffering you went through.

Squash - is quite promising project that allows you to debug microservices from your IDE. Yes, you understand it right: you just set breakpoints in your code and debug running distrubuted services as usually, line by line. At the moment it works only with VS Code.

#debug #microservice #go

https://github.com/solo-io/squash
Mozilla adds the "Headless mode" to the FIrefox. Finally. Now your functional tests will be faster and easier to set up.

#firefox #mozilla

https://developer.mozilla.org/en-US/Firefox/Headless_mode
Streamlist - self-hosted music stream server. Did you want to set up your personal local Spotify with your favourite music installed on your local computer? Now you know where to begin.

#music #go

https://github.com/streamlist/streamlist
Have you ever written any Shell scripts? Did you have any issues with testing then?
shUnit2 - the interesting project to add unit tests to your Shell scripts; something similar to JUnit or PyUnit, but for Shell.

#shell #script #testing

https://github.com/kward/shunit2
www.shellcheck.net - is utterly helpful service to check your Shell scripts for any errors and mistakes. But furthermore, you can use it also from command line! The source code is available on GitHub

#shell

https://github.com/koalaman/shellcheck
NGINX Unit is a new, lightweight, open source application server built to meet the demands of today’s dynamic and distributed applications. The project is still in beta, but you can try it already now. At the moment it supports only Python, PHP, Go but Java, Node.js and Ruby are coming soon. Looks promising...

#nginx #microservice

https://www.nginx.com/products/nginx-unit/
lozad.js - light (~0.5kb) JS library for image lazy loading. Has no dependencies.

#js #javascript

https://github.com/ApoorvSaxena/lozad.js
Restic is a program that does backups right.

#backup #security #go

https://restic.github.io/
Bunch of useful links for everyone who works with cryptocurrencies on one page. Different kind of tools, articles, scripts etc...

#cryptocurrency #bitcoin

https://github.com/kennethreitz/awesome-coins
Few tools to manage running Docker containers:

1) Dockly - Docker console (!) UI and Dashboard for quick manging and inspecting of Containers and Images. Written on JS.
https://github.com/lirantal/dockly

2) ctop - CLI utility, provides a concise and condensed overview of real-time metrics for multiple containers:
https://github.com/bcicen/ctop

#Docker #terminal #gui #cli
imgproxy - the microservice for resizing and converting remote images.

More explanation is here: https://evilmartians.com/chronicles/introducing-imgproxy
Github: https://github.com/DarthSim/imgproxy

#microservice #go #images
SQIP - CLI utility that generates a lighweight preview for a given image in SVG format.

Have you ever seen how Google, Pinterest or Facebook preload their pictures? Say, you open Google and search for a picture, the results appear in grid and each image has its own colored placeholder and only then the real image is loaded replacing the placeholder. It is very nice practice from UX point of view.

The use case of SQIP is pretty simple. Firsly you need to generate the SVG preview:

sqip -o output.svg ../myImage.jpg

then, you calculate base64 from it:

cat output.svg | base64

and now you can use it in your HTML code, something like this:

<img width="600" height="400" src="myImage.jpg" style="background-size: cover; background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWx....0iMjciLz48L2c+PC9zdmc+);">

And here you go!

#js #images #svg

https://github.com/technopagan/sqip
ripgrep - is a line oriented search tool that works similar to "grep" or "ack", but much more faster.
Written on Rust 👌🏻

#rust #cli #search

https://github.com/BurntSushi/ripgrep
Oh shit, git! - few tips and tricks how to solve common problems with Git on plain English. Nice Friday reading

#git #friday

http://ohshitgit.com/
The jQuery is the de facto standard in our industry, but it is too large and heavy, which may cause significant loading traffic on your website. Today, more developers choose widgets written in Vanilla Javascript to make pages lighter and faster.

https://plainjs.com/ is the online catalogue of widgets and simple functions written in pure JavaScript ready to use.

#js #javascript
DockerSlim - utility that helps you to build skinny containers. It uses static and dynamic analysis and dramatically reduces the size of ready image

#Docker #cli

http://dockersl.im