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
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
TeaVM - is quite peculiar web framework. You write the code on Java/Kotlin/Scala and it transforms the code to JavaScript to be run in a browser. It sounds like old-school GWT framework, but the biggest difference is GWT parses Java source code, but TeaVM parses the compiled java byte code. This makes compilation much faster than GWT and it supports the latests features from JVM languages. As author says, the compiled JS is significantly smaller, than on Angular or ReactJS. So, today you can use your favourite Kotlin both on backend and frontend :3

#weird #javascript #jvm

http://teavm.org/
If you have a dozens or even hundreds of microservices and all of them expose their APIs to the rest of the world, you often need to manage the same things for every service separately, such as authentication/authorization, security checks, load balancing and etc... In this case an API Gateway could be useful, becuase it builds sort of "façade" for your APIs and allows to manage all APIs in one place. Here are few open source solutions:

Kong, has 12,3k stars on GitHub. Build in Lua language on top of Nginx. Provides a lot of ready plugins for security and Auth, rate-limit, caching, logging and etc...
Tyk, has 2,4k stars on GitHub. Build on Go. Provides many features out-of-the-box, such as web Dashboard, with monitoring, API documentation, Mocks for testing, notifications and many more...

#api #gateway #microservice