Open in app

Sign In

Write

Sign In

Mike R
Mike R

69 Followers

Home

About

Published in Better Programming

·Pinned

5 Powerful Tips for Bash Scripting

Bash scripting is an art form — Writing bash scripts involves many levels of mastery, and I’m still learning new syntax and tricks. It always amazes me how deep down the rabbit hole you can go with bash. In this article, I want to share five tips that make bash…

Bash

4 min read

5 Powerful Tips for Bash Scripting
5 Powerful Tips for Bash Scripting
Bash

4 min read


Sep 20, 2022

Generating bandwidth snapshots with Saltstack + Iperf + PyGraphviz

Background — A primer on how to generate bandwidth rates between different datacenters, regions or hosts Unless you have dedicated network tools and resources, its hard to grasp bandwidth across your hosts and regions. …

Saltstack

4 min read

Generating bandwidth snapshots with Saltstack + Iperf + PyGraphviz
Generating bandwidth snapshots with Saltstack + Iperf + PyGraphviz
Saltstack

4 min read


Aug 21, 2022

Monit alert system — config examples

Monit (from Tildeslash) is an excellent alerting and monitoring system which I have been using for few years to monitor my fleet of servers. There are several products on the market that do similar services (Nagios, Prometheus, Zabbix, etc) but the reason I use Monit over others is its sheer…

Monit

7 min read

Monit alert system — config examples
Monit alert system — config examples
Monit

7 min read


Mar 16, 2022

OpenVPN Community + 2FA with Google Authenticator

March 16, 2022 Background OpenVPN is a wonderful VPN package — I’ve been running an ec2 micro instance with OpenVPN for my company for 2 years during the pandemic, and its been rock-solid, serving VPN tunnels for over 60 users. The way users currently authenticate is using a client-based .ovpn profile…

Openvpn

9 min read

OpenVPN Community + 2FA with Google Authenticator
OpenVPN Community + 2FA with Google Authenticator
Openvpn

9 min read


Feb 14, 2022

Delete all messages from a Slack channel

if you have an active slack channel in your organization and want to delete all messages from it, as of this writing (Feb 2022) there is no way to do this via native Slack settings or tools To delete these messages, you can run Slack-Cleaner2 step 1 — create Python virtualenv (here I use Pipenv, but can also use regular virtualenv) mkdir ~/slack cd ~/slack pipenv install slack-cleaner2…

Slack

2 min read

Delete all messages from a Slack channel
Delete all messages from a Slack channel
Slack

2 min read


Jul 15, 2021

instant Rsync service — isync

August 2022 — Update: I have now ported this code to a compiled binary, same concept but the rsync is now done via a Crystal-based binary called “poni”, it uses iNotify C binding to detect changes and start rsync, see more here: GitHub - perfecto25/poni: file sync based on inotify events Based on INotify lib from https://github.com/Dlacreme/spy/blob/master/src/watcher.cr Poni is an INotify rsync daemon…github.com

Rsync

2 min read

Rsync

2 min read


Jun 11, 2021

UniFTP — automated FTP framework

FTP or rather sFTP (via SSH) is a reliable and time-tested method to send and receive files between 2 parties At my company, whenever someone wants to FTP something to a client, or pull a file from a client, they write a quick bash script and are done. If they…

Ftp

3 min read

UniFTP — automated FTP framework
UniFTP — automated FTP framework
Ftp

3 min read


Mar 5, 2021

SFTPGo — the vsftpd on steroids

For anyone that ever had to setup a secure sFTP server, you’ve undoubtedly had some pains setting up vsftpd service. This article shows a very nice alternative that may make your life much easier. vsftpd Vsftpd is a well known “very secure FTP daemon” application and does its job well when…

Ftp

5 min read

GoFTP — the vsftpd on steroids
GoFTP — the vsftpd on steroids
Ftp

5 min read


Feb 1, 2021

Runnig Airflow on separate environments

written: Feb 1, 2021 This is a primer on how to setup Apache Airflow running on Centos 7 server for 2 separate environments (Prod and Simulation) My company needed 2 separate envs, one for Production DAGs and one for Simulation/UAT DAGs. Airflow can be a pain in the ass to…

Airflow

6 min read

Runnig Airflow on separate environments
Runnig Airflow on separate environments
Airflow

6 min read


Jan 13, 2021

Monitoring your Infrastructure with Elasticsearch and Elastalert

this tutorial shows how to setup Elasticsearch stack (ELK stack) on a server, install Metricbeat, Filebeat and Auditbeat agents on an endpoint install Elastalert plugin that will alert you on events As a sysadmin I have a medium-sized infra environment (less than 200 servers, both physical and AWS instances), and…

Elastic

6 min read

Monitoring your Infrastructure with Elasticsearch and Elastalert
Monitoring your Infrastructure with Elasticsearch and Elastalert
Elastic

6 min read

Mike R

Mike R

69 Followers
Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Yang Zhou

    Yang Zhou

  • Gergely Szerovay

    Gergely Szerovay

  • Nassim Nicholas Taleb

    Nassim Nicholas Taleb

  • Nicholas Wade

    Nicholas Wade

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech