Tobias Salzmann

Software Developer

api

Getting the Skype for business status without any api

If you use an Skype for Business onprem server and you want to get the status of all users easily use this database script on your \RTCLOCAL table. SELECT LOWER(UserAtHost) AS UserAtHost, Status= CASE WHEN Availability BETWEEN 0 AND 2999 THEN Availability WHEN Availability BETWEEN 3000 AND 4499 THEN 'Available'...

azure

Jekyll - Low Cost Static pages on Azure

This article gives you instructions on howto host a low cost, static website on Microsofts cloud platform Azure. Create a new Web App Create a new Web App using portal.azure.com. Choose a subdomain and make sure you use/create a App Service plan with the Free (F1) tier. Preparing the environment...

batch

Open Command Window for Files

You might know a feature in Windows that allows you to open a command window in the current folder: I wanted a similar command for files, so I created one. It is using nothing than the integrated tools of Windows. Using a bit of vbscript and escaping: https://gist.github.com/Eun/227d4bd5a8ccde1a9a5d1a42ccab01ce Result:

bug

Recap: GoDaddy Bug - Certificates issued without proper domain validation

In late December 2016 I found a bug regarding GoDaddy’s domain validation, I was using Microsoft’s Azure portal as usually and created some certificates for domains. I noticed that some were issued with valid certificates for domains that did not even point to a valid server. After doing some testing...

css

HTML: t1 a copy and paste safe table

I recently found a problem in user experience on Firefox (and some Chrome versions). I was using a normal table syntax like this: <table> <tr> <td>Your Information</td> <td>Some Information details...</td> </tr> <tr> <td>Some More Important Information</td> <td>Moar information...</td> </tr> </table> As I tried to copy the contents of the second...

database

Generating an rest api with go-gen-api

tl;dr I generated an api with go-gen-api to speed up my development process. Introduction I often work with databases and rest services. Mostly I need to connect both services, doing some tasks on the database via the rest api, e.g. creating, updating or deleting records. I had like 7 Tables...

go

Responsive golang webapp without JavaScript

tl;dr It is possible to flush the http.ResponseWriter with the help of http.Flusher and create a responsive feedback for users that dont have JavaScript enabled. Introduction Recently I developed a mini website that has a database backend with a search form. The website should be usable for users that do...

Generating an rest api with go-gen-api

tl;dr I generated an api with go-gen-api to speed up my development process. Introduction I often work with databases and rest services. Mostly I need to connect both services, doing some tasks on the database via the rest api, e.g. creating, updating or deleting records. I had like 7 Tables...

html

Responsive golang webapp without JavaScript

tl;dr It is possible to flush the http.ResponseWriter with the help of http.Flusher and create a responsive feedback for users that dont have JavaScript enabled. Introduction Recently I developed a mini website that has a database backend with a search form. The website should be usable for users that do...

HTML: t1 a copy and paste safe table

I recently found a problem in user experience on Firefox (and some Chrome versions). I was using a normal table syntax like this: <table> <tr> <td>Your Information</td> <td>Some Information details...</td> </tr> <tr> <td>Some More Important Information</td> <td>Moar information...</td> </tr> </table> As I tried to copy the contents of the second...

jekyll

Jekyll - Low Cost Static pages on Azure

This article gives you instructions on howto host a low cost, static website on Microsofts cloud platform Azure. Create a new Web App Create a new Web App using portal.azure.com. Choose a subdomain and make sure you use/create a App Service plan with the Free (F1) tier. Preparing the environment...

linux

Windows Subsystem for Linux: Changing the Shell

So, you installed the Windows 10 anniversary update and rushed directly to install the Windows Subsystem for Linux? If you wonder how to change the bash shell to another shell there is a simple way of doing it. chsh is not enough Running chsh is not enough, we need a...

plex

Plex in docker with binds

The problem is that Plex runs as the plex user and therefore is not possible to access the bindings. Find /etc/services.d/plex/run and change the line exec s6-setuidgid plex /bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server' to exec s6-setuidgid root /bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'

recap

Recap: GoDaddy Bug - Certificates issued without proper domain validation

In late December 2016 I found a bug regarding GoDaddy’s domain validation, I was using Microsoft’s Azure portal as usually and created some certificates for domains. I noticed that some were issued with valid certificates for domains that did not even point to a valid server. After doing some testing...

s4b

Getting the Skype for business status without any api

If you use an Skype for Business onprem server and you want to get the status of all users easily use this database script on your \RTCLOCAL table. SELECT LOWER(UserAtHost) AS UserAtHost, Status= CASE WHEN Availability BETWEEN 0 AND 2999 THEN Availability WHEN Availability BETWEEN 3000 AND 4499 THEN 'Available'...

skype

Getting the Skype for business status without any api

If you use an Skype for Business onprem server and you want to get the status of all users easily use this database script on your \RTCLOCAL table. SELECT LOWER(UserAtHost) AS UserAtHost, Status= CASE WHEN Availability BETWEEN 0 AND 2999 THEN Availability WHEN Availability BETWEEN 3000 AND 4499 THEN 'Available'...

sql

Generating an rest api with go-gen-api

tl;dr I generated an api with go-gen-api to speed up my development process. Introduction I often work with databases and rest services. Mostly I need to connect both services, doing some tasks on the database via the rest api, e.g. creating, updating or deleting records. I had like 7 Tables...

windows

Windows Subsystem for Linux: Changing the Shell

So, you installed the Windows 10 anniversary update and rushed directly to install the Windows Subsystem for Linux? If you wonder how to change the bash shell to another shell there is a simple way of doing it. chsh is not enough Running chsh is not enough, we need a...

Open Command Window for Files

You might know a feature in Windows that allows you to open a command window in the current folder: I wanted a similar command for files, so I created one. It is using nothing than the integrated tools of Windows. Using a bit of vbscript and escaping: https://gist.github.com/Eun/227d4bd5a8ccde1a9a5d1a42ccab01ce Result: