How to SSH Into a Docker Container
SSH is one of the most-used commands in a sysadmin’s toolbox but it’s not commonly seen alongside Docker. Here’s how you can SSH into a running container and why you should think twice before you do.
https://www.cloudsavvyit.com/13937/how-to-ssh-into-a-docker-container/
@DevMisc
#docker #tips
SSH is one of the most-used commands in a sysadmin’s toolbox but it’s not commonly seen alongside Docker. Here’s how you can SSH into a running container and why you should think twice before you do.
https://www.cloudsavvyit.com/13937/how-to-ssh-into-a-docker-container/
@DevMisc
#docker #tips
HTML over DNS
Serving Blog Content Over DNS through Cloudflare API.
https://jacobkiers.net/hod
@DevMisc
#web #dns #html
Serving Blog Content Over DNS through Cloudflare API.
https://jacobkiers.net/hod
@DevMisc
#web #dns #html
Python Generators - How to use them and the benefits you receive
Python Generators are often considered a somewhat advanced topic, but they are actually very easy to understand once you start using them on a regular basis.
https://www.youtube.com/watch?v=bD05uGo_sVI
@DevMisc
#python #tips #video
Python Generators are often considered a somewhat advanced topic, but they are actually very easy to understand once you start using them on a regular basis.
https://www.youtube.com/watch?v=bD05uGo_sVI
@DevMisc
#python #tips #video
“Pack it in, mathematicians, someone owes LLVM a million bucks”
https://twitter.com/jckarter/status/1428093469755527168
@DevMisc
#llvm #clang #meme
https://twitter.com/jckarter/status/1428093469755527168
@DevMisc
#llvm #clang #meme
SHA-1 is broken
"We have broken SHA-1 in practice, and tools like GIT are affected by this problem"
https://shattered.io/
@DevMisc
#security #cryptography
"We have broken SHA-1 in practice, and tools like GIT are affected by this problem"
https://shattered.io/
@DevMisc
#security #cryptography
I hate almost all software
It's unnecessary and complicated at almost every layer. The only thing that matters in software is the experience of the user.
https://tinyclouds.org/rant.html
@DevMisc
#meta #extra
It's unnecessary and complicated at almost every layer. The only thing that matters in software is the experience of the user.
https://tinyclouds.org/rant.html
@DevMisc
#meta #extra
How to prevent email spoofing, using an unholy combination of silly standards
Recently, I encountered a problem. My domain didn't correctly implement SPF, DKIM, or DMARC...
https://simonandrews.ca/articles/how-to-set-up-spf-dkim-dmarc
@DevMisc
#mail #learn #misc
Recently, I encountered a problem. My domain didn't correctly implement SPF, DKIM, or DMARC...
https://simonandrews.ca/articles/how-to-set-up-spf-dkim-dmarc
@DevMisc
#mail #learn #misc
A fast alternative to the modulo reduction
Suppose you want to pick an integer at random in a set of N elements. Your computer has functions to generate random 32-bit integers, how do you transform such numbers into indexes no larger than N?
https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/
@DevMisc
#tips #performance
Suppose you want to pick an integer at random in a set of N elements. Your computer has functions to generate random 32-bit integers, how do you transform such numbers into indexes no larger than N?
https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/
@DevMisc
#tips #performance
Breaking down a ripple animation in JavaScript
https://www.bryanbraun.com/2021/04/15/ripple-animation-in-javanoscript/
@DevMisc
#javanoscript #web
https://www.bryanbraun.com/2021/04/15/ripple-animation-in-javanoscript/
@DevMisc
#javanoscript #web
Raspberry Pi Monitoring using Telegraf, InfluxDB, and Grafana
In Telegraf, InfluxDb, and Grafana combination, we were able to find a solution that pushes metrics from the devices using Telegraf, store them in InfluxDB and visualize using Grafana...
https://blog.thecloudside.com/raspberry-pi-monitoring-using-telegraf-influxdb-and-grafana
@DevMisc
#grafana #devops #raspberry
In Telegraf, InfluxDb, and Grafana combination, we were able to find a solution that pushes metrics from the devices using Telegraf, store them in InfluxDB and visualize using Grafana...
https://blog.thecloudside.com/raspberry-pi-monitoring-using-telegraf-influxdb-and-grafana
@DevMisc
#grafana #devops #raspberry
EsNext features in TypeScript with Babel
TypeScript is a statically typed language built on top of JavaScript. It works basically like a type layer for JS...
https://dev.to/fkrasnowski/esnext-features-in-typenoscript-with-babel
@DevMisc
#typenoscript #babel #esnext
TypeScript is a statically typed language built on top of JavaScript. It works basically like a type layer for JS...
https://dev.to/fkrasnowski/esnext-features-in-typenoscript-with-babel
@DevMisc
#typenoscript #babel #esnext
Gitfs: Version Controlled File System
Gitfs is a fuse file system that fully integrates with git.
https://www.presslabs.com/docs/code/gitfs/
@DevMisc
#git #tools #misc
Gitfs is a fuse file system that fully integrates with git.
https://www.presslabs.com/docs/code/gitfs/
@DevMisc
#git #tools #misc
Microservices — micro-what?
I think we all pretty much have a good idea of what an app is. And that is precisely what a microservice is...
https://thomasw7.medium.com/microservices-micro-what
@DevMisc
#microservices #devops #deploy
I think we all pretty much have a good idea of what an app is. And that is precisely what a microservice is...
https://thomasw7.medium.com/microservices-micro-what
@DevMisc
#microservices #devops #deploy
Design Patterns in JavaScript
Design Patterns are the solutions to commonly occuring problems in software design...
https://dev.to/zeeshanhshaheen/design-patterns-in-javanoscript
@DevMisc
#javanoscript #react #webdev
Design Patterns are the solutions to commonly occuring problems in software design...
https://dev.to/zeeshanhshaheen/design-patterns-in-javanoscript
@DevMisc
#javanoscript #react #webdev
FastAPI - The Good, the Bad and the Ugly
FastAPI is a relatively new web framework for Python claiming to be one of the fastest Python frameworks available.
https://dev.to/fuadrafid/fastapi-the-good-the-bad-and-the-ugly-20ob
@DevMisc
#python #fastapi #misc
FastAPI is a relatively new web framework for Python claiming to be one of the fastest Python frameworks available.
https://dev.to/fuadrafid/fastapi-the-good-the-bad-and-the-ugly-20ob
@DevMisc
#python #fastapi #misc
Things to commit just before leaving your job
https://gist.github.com/aras-p/6224951
@DevMisc
#meme #git #extra
https://gist.github.com/aras-p/6224951
@DevMisc
#meme #git #extra
Use Docker multi-stage builds
Keeping your images small with multi-stage images.
https://docs.docker.com/develop/develop-images/multistage-build/#use-a-previous-stage-as-a-new-stage
@DevMisc
#docker #learn
Keeping your images small with multi-stage images.
https://docs.docker.com/develop/develop-images/multistage-build/#use-a-previous-stage-as-a-new-stage
@DevMisc
#docker #learn
One does not simply calculate the absolute value
It seems that the problem of calculating the absolute value of a number is completely trivial. If the number is negative, change the sign. Otherwise, just leave it as it is.
https://habr.com/en/post/574082/
@DevMisc
#java #misc
It seems that the problem of calculating the absolute value of a number is completely trivial. If the number is negative, change the sign. Otherwise, just leave it as it is.
https://habr.com/en/post/574082/
@DevMisc
#java #misc
"I have spent 7 years creating a programming language for the web"
Imba is neither an academic exercise or a toy project. We've built Imba over many years to build the frontend and backend of scrimba.com. Our goal has always been to create the most fun and powerful language for creating rich web applications.
https://imba.io/
@DevMisc
#web #frontend #extra
Imba is neither an academic exercise or a toy project. We've built Imba over many years to build the frontend and backend of scrimba.com. Our goal has always been to create the most fun and powerful language for creating rich web applications.
https://imba.io/
@DevMisc
#web #frontend #extra
API Tokens: A Tedious Survey
An overview about API tokens and how (and where) to use them.
https://fly.io/blog/api-tokens-a-tedious-survey/
@DevMisc
#cryptography #api #overview
An overview about API tokens and how (and where) to use them.
https://fly.io/blog/api-tokens-a-tedious-survey/
@DevMisc
#cryptography #api #overview
Bash Hacker's Illustrated File Redirection Tutorial
This tutorial is not a complete guide to redirection, it will not cover here docs, here strings, name pipes etc… I just hope it'll help you to understand what things like
https://wiki.bash-hackers.org/howto/redirection_tutorial
@DevMisc
#bash #shell #learn
This tutorial is not a complete guide to redirection, it will not cover here docs, here strings, name pipes etc… I just hope it'll help you to understand what things like
3>&2, 2>&1 or 1>&3- do.https://wiki.bash-hackers.org/howto/redirection_tutorial
@DevMisc
#bash #shell #learn