SNOM 821 and 3CX woes

I've noticed from the factory the built-in web server was not enabled. To get the phone working, you must enable the web server, and set a http user and password. To enable the web server: 0.) Phone menu > Maintenence > Administrator Mode > 0000 1.) Phone menu > Network…

Read this article

Omaha Carpet Cleaning

I do web hosting for different companies with Reiners Cloud Consulting LLC which can be found here. If you're looking for website setup, hosting, or anything let me know. If you are located within the Omaha Metropolitan Area, I'd love to recommend a good friend of mine Wes Waltermeier, at…

Read this article

How do I clean messages out of a rocketchat room or channel?

We switched from a paid slack account last year, to rocketchat. I've written bots in the past to alert coworkers of system issues in a more public place, but some of my rooms were getting upwards of 10,000 messages and the browser and phones would be extremely slow pulling…

Read this article

HAPROXY, The easy load balancer

Load balancing the easy way, with haproxy. I use this all the time with docker. This example will balance 53, across 6 DNS backends. To tweak for your use, you can change the stats port, username and password, and backend servers to your setup. port 1936 will show the cluster…

Read this article

Dockerized Power Meter Reading

I've dockerized my Centos 7 meter reading application, if you want to check it out, it's over on my github account here. The basics: I've created a docker-compose.yml file to build a set of 4 machines, with persistent storage. All you need us a software defined radio. I purchased…

Read this article

Installing docker and couchbase on CentOS 7

Installing docker on CentOS 7 sudo yum install docker sudo systemctl enable docker sudo systemctl start docker Install the docker image: sudo docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase and open the configuration wizard http://localhost:8091 to enable your docker container on boot, find…

Read this article

Auto generate requirements.txt for your python3 and python2 projects

I noticed when I used pip freeze it would output way more than I needed for requirements on my smaller python projects. After some looking around I found pipreqs in pip pireqs can be installed using pip like so: 1.) pip install pipreqs 1.) python3 -m pip install pireqs 2.…

Read this article

Restoring mssql .bak file Linux mssql server

To restore a mssql database backup to a linux host, using default microsoft install locations: /opt/mssql-tools/bin/sqlcmd -S hostname -U user -P Password! -Q "RESTORE DATABASE [mydatabase] FROM DISK = N'/tmp/backupStandard.bak' WITH FILE = 1, NOUNLOAD, REPLACE, NORECOVERY, STATS = 5" If you see an error…

Read this article

Google Vision API Image detection 101

We're handling 200,000 images from customers so far, keeping the peace can be tough. User uploaded content is always questionable, and being a closed network I'd like to keep irritated customers to a minimum. Google Vision API allows you to filter out the bad images systematically. I'm just getting…

Read this article

Installing MS-SQL on CentOS 7

This setup is using an instance within Google Cloud Platform's Compute Engine, but it should work about anywhere running CentOS 7+. I added this here because I needed to try mssql on Centos, an unsupported distro. Other howto's online I found did not work, or did not completely set it…

Read this article